Retrieve a contact

You can get a single contact.

     

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 contact

     

Example Request & Response


$ curl https://api.custerem.com/<org_id>/contacts/<id>/ \
-X GET \
-H 'Authorization: X-API-KEY <Your API Key>' \
-H 'Content-Type: application/json' \

 

200 OK

{
    "contact": {
        "id": 1,
        "first_name": "Hayri",
        "last_name": "Cicek",
        "phone_number": "",
        "email": "test@dd.dd",
        "job_title": "",
        "company": null
    }
}

 

404 Not Found

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