Get linked contacts
get/api/v1/pipelines/records/{recordId}/contactsRetrieves the list of contacts and their associated labels for the specified pipeline record.
Code snippet
curl -X 'GET' \
'https://{yourdomain}/api/v1/pipelines/records/{recordId}/contacts' \
-H 'accept: text/plain; x-api-version=1.0' \
-H 'x-api-key: {your API key}'
Path parameters
| recordIdlongRequired | The unique identifier of the pipeline record used to fetch its linked contacts with labels. |
Example response
200 Success
{
"data": [
{
"id": 3202,
"name": "John Reese",
"email": "[email protected]",
"isPrimary": true,
"labels": [
{
"id": 2,
"name": "Admin"
}
]
}
]
}