For the complete documentation index, see llms.txt. This page is also available as Markdown.

Contacts

Create, update, search, and manage contacts

Create or Update Contact

post

Create a new contact or update an existing one. If a contact with the same phone number exists, it will be updated.

Authorizations
AuthorizationstringRequired

Organization API Token.

Paste only your token in the field below — the Bearer prefix is added automatically by the docs UI and in every generated code sample. The final header sent is:

Authorization: Bearer {orgId}.{secretToken}

Token format: {orgId}.{secretToken} — example: 15c94c3c-1873-4a09-bfbb-03357c29ea50.abc123xyz.

JWT tokens are NOT accepted.

Body
phonestringRequired

Phone number with country code (required)

Example: +972501234567
firstNamestringOptional

First name

Example: John
lastNamestringOptional

Last name

Example: Doe
emailstring · emailOptional

Email address

Example: [email protected]
tagsstring[]Optional

Tags to assign

Example: ["vip","hot_lead"]
fieldsobjectOptional

Fields to create/update

Example: {"company":"Meta","city":"Bogura"}
Responses
200

Contact updated (isNew: false)

application/json
Other propertiesanyOptional
post/api/contacts

Delete Contact

delete

Permanently delete a contact by ID.

Authorizations
AuthorizationstringRequired

Organization API Token.

Paste only your token in the field below — the Bearer prefix is added automatically by the docs UI and in every generated code sample. The final header sent is:

Authorization: Bearer {orgId}.{secretToken}

Token format: {orgId}.{secretToken} — example: 15c94c3c-1873-4a09-bfbb-03357c29ea50.abc123xyz.

JWT tokens are NOT accepted.

Path parameters
contact_idstring · uuidRequired

Contact ID

Responses
200

Contact deleted

application/json
Other propertiesanyOptional
delete/api/contacts/{contact_id}
200

Contact deleted

Update Contact Fields

patch

Update one or more fields for a specific contact.

Authorizations
AuthorizationstringRequired

Organization API Token.

Paste only your token in the field below — the Bearer prefix is added automatically by the docs UI and in every generated code sample. The final header sent is:

Authorization: Bearer {orgId}.{secretToken}

Token format: {orgId}.{secretToken} — example: 15c94c3c-1873-4a09-bfbb-03357c29ea50.abc123xyz.

JWT tokens are NOT accepted.

Path parameters
contact_idstring · uuidRequired

Contact ID

Body
fieldsobjectRequired

Fields to update

Example: {"NickName":"Johnny","city":"Jerusalem"}
Responses
200

Contact updated successfully

application/json
Other propertiesanyOptional
patch/api/contacts/{contact_id}/fields
200

Contact updated successfully

Clear Contact Field

delete

Clear a specific field value for a contact.

Authorizations
AuthorizationstringRequired

Organization API Token.

Paste only your token in the field below — the Bearer prefix is added automatically by the docs UI and in every generated code sample. The final header sent is:

Authorization: Bearer {orgId}.{secretToken}

Token format: {orgId}.{secretToken} — example: 15c94c3c-1873-4a09-bfbb-03357c29ea50.abc123xyz.

JWT tokens are NOT accepted.

Path parameters
contact_idstring · uuidRequired

Contact ID

field_keystringRequired

Field key to clear (e.g., 'email' or 'city')

Responses
200

Field cleared successfully

application/json
Other propertiesanyOptional
delete/api/contacts/{contact_id}/fields/{field_key}
200

Field cleared successfully

Add Tags to Contact

post

Add one or more tags to an existing contact without replacing existing tags.

Authorizations
AuthorizationstringRequired

Organization API Token.

Paste only your token in the field below — the Bearer prefix is added automatically by the docs UI and in every generated code sample. The final header sent is:

Authorization: Bearer {orgId}.{secretToken}

Token format: {orgId}.{secretToken} — example: 15c94c3c-1873-4a09-bfbb-03357c29ea50.abc123xyz.

JWT tokens are NOT accepted.

Path parameters
contact_idstring · uuidRequired

Contact ID

Body
tagsstring[]Required

Tags to add

Example: ["vip","hot_lead"]
Responses
200

Tags added successfully

application/json
Other propertiesanyOptional
post/api/contacts/{contact_id}/tags
200

Tags added successfully

Remove Tag from Contact

delete

Remove a specific tag from a contact. You can use the tag ID or tag name.

Authorizations
AuthorizationstringRequired

Organization API Token.

Paste only your token in the field below — the Bearer prefix is added automatically by the docs UI and in every generated code sample. The final header sent is:

Authorization: Bearer {orgId}.{secretToken}

Token format: {orgId}.{secretToken} — example: 15c94c3c-1873-4a09-bfbb-03357c29ea50.abc123xyz.

JWT tokens are NOT accepted.

Path parameters
contact_idstring · uuidRequired

Contact ID

tag_id_or_namestringRequired

Tag ID or tag name to remove

Responses
200

Tag removed successfully

application/json
Other propertiesanyOptional
delete/api/contacts/{contact_id}/tags/{tag_id_or_name}
200

Tag removed successfully

get

Search contacts by phone number or name. At least one search parameter is required.

Authorizations
AuthorizationstringRequired

Organization API Token.

Paste only your token in the field below — the Bearer prefix is added automatically by the docs UI and in every generated code sample. The final header sent is:

Authorization: Bearer {orgId}.{secretToken}

Token format: {orgId}.{secretToken} — example: 15c94c3c-1873-4a09-bfbb-03357c29ea50.abc123xyz.

JWT tokens are NOT accepted.

Query parameters
limitintegerOptional

Number of results to return (default: 50)

namestringOptional

Name to search (first or last)

offsetintegerOptional

Offset for pagination (default: 0)

phonestringOptional

Phone number to search

Responses
200

Search results

application/json
Other propertiesanyOptional
get/api/contacts/search
200

Search results

Last updated