Add Followers
POST
/
opportunities
/
{id}
/
followers
Add Followers
curl --request POST \
--url https://services.leadconnectorhq.com/opportunities/{id}/followers \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'Version: <version>' \
--data '
{
"followers": [
"sx6wyHhbFdRXh302Lunr",
"sx6wyHhbFdRXh302Lunr"
]
}
'const options = {
method: 'POST',
headers: {
Version: '<version>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({followers: ['sx6wyHhbFdRXh302Lunr', 'sx6wyHhbFdRXh302Lunr']})
};
fetch('https://services.leadconnectorhq.com/opportunities/{id}/followers', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://services.leadconnectorhq.com/opportunities/{id}/followers"
payload = { "followers": ["sx6wyHhbFdRXh302Lunr", "sx6wyHhbFdRXh302Lunr"] }
headers = {
"Version": "<version>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"followers": [
"sx6wyHhbFdRXh302Lunr",
"sx6wyHhbFdRXh302LLss"
],
"followersAdded": [
"Mx6wyHhbFdRXh302Luer",
"Ka6wyHhbFdRXh302LLsAm"
]
}{
"statusCode": 400,
"message": "Bad Request"
}{
"statusCode": 401,
"message": "Invalid token: access token is invalid",
"error": "Unauthorized"
}{
"statusCode": 422,
"message": [
"Unprocessable Entity"
],
"error": "Unprocessable Entity"
}Authorizations
Use the Access Token generated with user type as Sub-Account (OR) Private Integration Token of Sub-Account.
Headers
API Version
Available options:
2021-07-28 Path Parameters
Opportunity Id
Example:
"sx6wyHhbFdRXh302Lunr"
Body
application/json
Example:
[
"sx6wyHhbFdRXh302Lunr",
"sx6wyHhbFdRXh302Lunr"
]
Last modified on March 8, 2026
Was this page helpful?
⌘I
Add Followers
curl --request POST \
--url https://services.leadconnectorhq.com/opportunities/{id}/followers \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'Version: <version>' \
--data '
{
"followers": [
"sx6wyHhbFdRXh302Lunr",
"sx6wyHhbFdRXh302Lunr"
]
}
'const options = {
method: 'POST',
headers: {
Version: '<version>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({followers: ['sx6wyHhbFdRXh302Lunr', 'sx6wyHhbFdRXh302Lunr']})
};
fetch('https://services.leadconnectorhq.com/opportunities/{id}/followers', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://services.leadconnectorhq.com/opportunities/{id}/followers"
payload = { "followers": ["sx6wyHhbFdRXh302Lunr", "sx6wyHhbFdRXh302Lunr"] }
headers = {
"Version": "<version>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"followers": [
"sx6wyHhbFdRXh302Lunr",
"sx6wyHhbFdRXh302LLss"
],
"followersAdded": [
"Mx6wyHhbFdRXh302Luer",
"Ka6wyHhbFdRXh302LLsAm"
]
}{
"statusCode": 400,
"message": "Bad Request"
}{
"statusCode": 401,
"message": "Invalid token: access token is invalid",
"error": "Unauthorized"
}{
"statusCode": 422,
"message": [
"Unprocessable Entity"
],
"error": "Unprocessable Entity"
}