NewWhatsApp, Instagram, Messenger, email, SMS and website chat, now in one inbox
CAT Engage 360

Add a contact

Find a contact by phone number, or create it. Safe to call again with the same number: you get the same contact back, updated with the fields you sent.

POST/api/v1/contacts

Needs the scope contacts:write

Body#

A JSON object.

  • phonestringRequired
    International format, for example +919876543210.
  • namestringoptional
    The contact’s name.
  • emailstringoptional
    Email address.
  • companystringoptional
    Company name.
  • tagsstring[]optional
    Tag names. Replaces the contact’s tags; tags that don’t exist yet are created.

Example#

curl -X POST "https://app.catengage360.com/api/v1/contacts" \
  -H "Authorization: Bearer cat_live_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{
  "phone": "+919876543210",
  "name": "Asha Rao",
  "email": "asha@example.com",
  "tags": [
    "VIP",
    "Website"
  ]
}'

Response#

201Created

JSON
{
  "data": {
    "id": "a81c3f09-2e5d-4b7a-9c64-0d1e2f3a4b5c",
    "phone": "+919876543210",
    "name": "Asha Rao",
    "email": "asha@example.com",
    "company": null,
    "avatar_url": null,
    "tags": [
      {
        "id": "7e2b5c10-4f8a-4d3e-9b61-5a0c2d1e8f39",
        "name": "VIP",
        "color": "#d2f53c"
      }
    ],
    "created_at": "2026-11-20T08:15:02.104Z",
    "updated_at": "2026-11-27T10:42:18.512Z"
  }
}

200Already existed: updated and returned

JSON
{
  "data": {
    "id": "a81c3f09-2e5d-4b7a-9c64-0d1e2f3a4b5c",
    "phone": "+919876543210",
    "name": "Asha Rao",
    "email": "asha@example.com",
    "company": null,
    "avatar_url": null,
    "tags": [
      {
        "id": "7e2b5c10-4f8a-4d3e-9b61-5a0c2d1e8f39",
        "name": "VIP",
        "color": "#d2f53c"
      }
    ],
    "created_at": "2026-11-20T08:15:02.104Z",
    "updated_at": "2026-11-27T10:42:18.512Z"
  }
}

Errors#

Errors come as { "error": { "code", "message" } }. Branch on code.

CodeStatusWhat it means
bad_request400No phone, or it isn’t a valid number in international format.
unauthorized401The API key is missing, wrong, revoked or expired.
rate_limited429More than 120 requests a minute with this key. Wait for the seconds in Retry-After.
forbidden403The key doesn’t have the contacts:write scope.
plan_limit403The number is new and the plan’s contact limit is reached.