Link a contact

https://data.salesmachine.io/v2/accounts/:id/contacts
This endpoint allows you to get free cakes.
Request
Response
Request
Path Parameters
id
required
string
Salesmachine account ID
Body Parameters
contact_id
required
string
Salesmachine contact ID
Response
200: OK
Account successfully retrieved.
{
"object": "link",
"account_id": "5d3bae5bcb4a287b44583a55",
"contact_id": "5d3bae5bcb4a287b44583aef"
}
404: Not Found
Could not find an account matching this query.
{
"error": "404 Object not found"
}

Example

curl -X POST https://data.salesmachine.io/v2/accounts/5d3bae5bcb4a287b44583a55 \
-H 'Accept: application/json' \
-H 'Authorization:Bearer <Your access token>' \
-d '{ "contact_id": "5d3bae5bcb4a287b44583aef" }'

‚Äč