Get CRM sync options
curl --request GET \
--url https://api.pineyard.ai/crm/connections/{id}/sync-options \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.pineyard.ai/crm/connections/{id}/sync-options', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.pineyard.ai/crm/connections/{id}/sync-options"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"options": {
"dealPipelines": [
{
"id": "<string>",
"label": "<string>",
"stages": [
{
"id": "<string>",
"label": "<string>"
}
]
}
]
}
}CRM
Get CRM sync options
Options from the connected CRM (for example stages or owners) available for post-call sync settings.
GET
/
crm
/
connections
/
{id}
/
sync-options
Get CRM sync options
curl --request GET \
--url https://api.pineyard.ai/crm/connections/{id}/sync-options \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.pineyard.ai/crm/connections/{id}/sync-options', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.pineyard.ai/crm/connections/{id}/sync-options"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"options": {
"dealPipelines": [
{
"id": "<string>",
"label": "<string>",
"stages": [
{
"id": "<string>",
"label": "<string>"
}
]
}
]
}
}
