Detach a contact

You can detach contacts from a single lead.


Request Path Parameters
Parameter Type Required Description
org_id number Yes The unique identifier of your organization
id number Yes The unique identifier of the lead


Request Body Parameter
Attribute Type Required Description
contacts array Yes List of contact id's

Example Request & Response

$ curl<org_id>/leads/<id>/remove-contact/ \
-H 'Authorization: X-API-KEY <Your API Key>' \
-H 'Content-Type: application/json' \
-d '{
    "contacts": [1, 2],


200 OK

    "message": "Successfully removed contacts"


400 Bad Request

    "status": 400,
    "message": "contacts is required"


404 Not Found

    "status_code": 404,
    "message": "Contact with id 10 not found"