cURL
curl --request POST \ --url https://api.smokeball.com/contacts/{contactId}/relations \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json-patch+json' \ --header 'x-api-key: <api-key>' \ --data ' { "relatedContactId": "b471682e-fa17-4e46-b7fe-9b2b8fdcb3c2", "businessRole": "Bookkeeper" } '
{ "id": "<string>", "href": "<string>", "relation": "<string>", "method": "GET" }
Creates a relation for a specified contact.
Unique identifier of the related contact.
"b471682e-fa17-4e46-b7fe-9b2b8fdcb3c2"
Business role of related contact.
Only applicable for companies (not trusts).
"Bookkeeper"
When request is accepted. Returns a 'Link' object.