Add contact to company

You can add a contact to company.

 

Request Path Parameters
Parameter Type Required Description
org_id number Yes The unique identifier of your organization
contact_id number Yes The unique identifier of the contact
company_id number Yes The unique identifier of the company

 

Example Request & Response


$ curl https://api.custerem.com/<org_id>/contacts/<contact_id>/companies/<company_id/add/ \
-X POST \
-H 'Authorization: X-API-KEY <Your API Key>' \
-H 'Content-Type: application/json' \

 

200 OK

{
    "message": "Contact added to company"
}

 

404 Not Found

{
    "status_code": 404,
    "message": "Contact with id 32 not found"
}