Contacts and conversations
Find and update contacts, change labels, assign and resolve conversations, add notes, and read the lists that fill dropdowns.
These routes read and update contacts and conversations in your workspace. Each route needs the scope listed in API keys and scopes.
All paths start with https://api.watification.com/api/v1.
Find a contact
GET /api/v1/contacts/find needs the read scope. Pass exactly one of phone or email:
curl -sS \
-H 'Authorization: Bearer wtf_xxxxxxxxxxxx_REPLACE_WITH_YOUR_SECRET' \
'https://api.watification.com/api/v1/contacts/find?phone=%2B15555550100'phone is an E.164 number. Use + as %2B in the URL. The phone match ignores the leading +, so +15555550100 and 15555550100 find the same contact. email matches the contact's email in the CRM.
Use GET /api/v1/contacts/:contactId to read a contact by id (scope read).
Contact response, from GET /api/v1/contacts/:contactId:
{
"id": "eeeeeeee-eeee-4eee-8eee-eeeeeeeeeeee",
"name": "Ana Example",
"phone": "+15555550100",
"email": "ana@example.com",
"lifecycleStage": {
"id": "ffffffff-ffff-4fff-8fff-ffffffffffff",
"name": "Customer"
},
"labels": [{ "id": "11111111-1111-4111-8111-111111111111", "name": "VIP" }],
"fields": { "city": "Cairo", "vip": "Yes" }
}find, get, PATCH and POST /contacts all return this shape, the same as the contact object in webhook payloads. email is the contact's email-channel address, or, when there is none, the value of the first email custom field that has a value. lifecycleStage is null when the contact has no stage. fields lists only fields that have a value, and every value is text: numbers come back as strings and booleans as "Yes" or "No".
Update a contact
PATCH /api/v1/contacts/:contactId needs contacts.write. Send at least one field:
{
"name": "Ana Example",
"fields": { "order_source": "web", "vip": true, "city": null },
"lifecycleStageId": "88888888-8888-4888-8888-888888888888"
}nameis up to 100 characters.fieldssets custom fields by their key, up to 50 fields per request. A value can be text (up to 1000 characters), a number, a boolean, ornull.nullclears the field.lifecycleStageIdsets the contact's lifecycle stage. Get stage ids fromGET /api/v1/lifecycle-stages. Sendnullto clear the stage.
Get custom field keys from GET /api/v1/custom-fields.
Add and remove labels
Add a label with POST /api/v1/contacts/:contactId/labels, scope contacts.write. Send a labelId, or a labelName for an existing label. The route answers 200.
{ "labelId": "99999999-9999-4999-8999-999999999999" }Remove a label with DELETE /api/v1/contacts/:contactId/labels/:labelId, scope contacts.write.
Get label ids from GET /api/v1/labels.
This API does not delete or merge contacts, and it does not create labels.
Conversation reads
GET /api/v1/conversations/:conversationIdreturns the conversation. Scoperead.GET /api/v1/conversations/:conversationId/messagesreturns messages, newest first. Scoperead. Passlimitfrom 1 to 50, andcursorfrom the previous page to get the next page.GET /api/v1/messages/:messageIdreturns one message with its status. A failed message includesfailurewithcodeandmessage. Scoperead.
Conversation response, from GET /api/v1/conversations/:conversationId:
{
"id": "bbbbbbbb-bbbb-4bbb-8bbb-bbbbbbbbbbbb",
"status": "open",
"channelType": "whatsapp",
"channelConnectionId": "cccccccc-cccc-4ccc-8ccc-cccccccccccc",
"contactId": "dddddddd-dddd-4ddd-8ddd-dddddddddddd",
"assigneeMembershipId": null,
"teamId": null,
"lastInboundAt": "2026-10-18T09:30:00.000Z",
"replyWindow": { "open": true, "expiresAt": "2026-10-19T09:30:00.000Z" }
}replyWindow.expiresAt is null for channels without a reply window. lastInboundAt is null until the customer writes.
Message list response, from GET /api/v1/conversations/:conversationId/messages. Use nextCursor to fetch the next page; it is null on the last page:
{
"messages": [
{
"id": "eeeeeeee-eeee-4eee-8eee-eeeeeeeeeeee",
"conversationId": "bbbbbbbb-bbbb-4bbb-8bbb-bbbbbbbbbbbb",
"channelConnectionId": "cccccccc-cccc-4ccc-8ccc-cccccccccccc",
"channelType": "whatsapp",
"direction": "outbound",
"origin": "api",
"type": "text",
"text": "Your order has shipped.",
"media": null,
"location": null,
"interactiveReply": null,
"replyToMessageId": null,
"occurredAt": "2026-10-18T09:31:00.000Z"
}
],
"nextCursor": null
}Message response, from GET /api/v1/messages/:messageId. It has the same fields as a list item, plus status, failure, and the timestamps. failure is null unless the message failed:
{
"id": "eeeeeeee-eeee-4eee-8eee-eeeeeeeeeeee",
"conversationId": "bbbbbbbb-bbbb-4bbb-8bbb-bbbbbbbbbbbb",
"channelConnectionId": "cccccccc-cccc-4ccc-8ccc-cccccccccccc",
"channelType": "whatsapp",
"direction": "outbound",
"origin": "api",
"type": "text",
"text": "Your order has shipped.",
"media": null,
"location": null,
"interactiveReply": null,
"replyToMessageId": null,
"occurredAt": "2026-10-18T09:31:00.000Z",
"status": "read",
"failure": null,
"createdAt": "2026-10-18T09:31:00.000Z",
"sentAt": "2026-10-18T09:31:02.000Z",
"deliveredAt": "2026-10-18T09:31:05.000Z",
"readAt": "2026-10-18T09:40:00.000Z"
}A failed message returns "status": "failed" and "failure": { "code": "...", "message": "..." }. media, when present, has url (a temporary link), expiresAt, mimeType, filename, and sizeBytes.
Conversation actions
Each action needs conversations.write.
Assign. Send membershipId to assign a member, or teamId to assign a team. Send null to clear either one. Send at least one of them.
{ "membershipId": "aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa", "teamId": null }Get membershipId values from GET /api/v1/members and teamId values from GET /api/v1/teams.
Status. Send one of open, pending, resolved, or closed. Add closingNote (up to 1000 characters) if you want to record why the conversation was closed.
{ "status": "resolved", "closingNote": "Delivered on the second attempt." }Note. Send body (up to 2000 characters) to add an internal note. The route answers 201 with the new note's id. The note is saved as a contact note on that conversation. It is authored by the member who created the API key, not by the key itself.
{ "body": "Customer asked for a call back after 5 PM." }Dropdown reads
Use these lists to fill dropdowns in your automation tool. All of them need the read scope.
| Route | Returns |
|---|---|
GET /api/v1/channel-connections | Every channel connection: id, name, channelType, and address. |
GET /api/v1/whatsapp-channels | WhatsApp channel connections only. |
GET /api/v1/members | Members with membershipId and email. Watification does not store display names for members. |
GET /api/v1/teams | Teams in the workspace. |
GET /api/v1/custom-fields | Custom contact fields, with their keys. |
GET /api/v1/lifecycle-stages | Lifecycle stages, with ids. |
GET /api/v1/labels | Labels, with ids. |
GET /api/v1/templates?channelConnectionId=... | Approved WhatsApp templates for that connection: id, name, language, category, and a parameter summary. |
Only approved templates are listed. Pass a WhatsApp channelConnectionId from GET /api/v1/channel-connections.
Errors
| Code | HTTP | When |
|---|---|---|
API_KEY_SCOPE_MISSING | 403 | The key does not have the scope the route needs. |
CONTACT_NOT_FOUND | 404 | The contact does not exist in your workspace. |
LABEL_NOT_FOUND | 404 | The label does not exist in your workspace. |
LIFECYCLE_STAGE_NOT_FOUND | 404 | The lifecycle stage does not exist in your workspace. |
CUSTOM_FIELD_NOT_FOUND | 404 | A custom field key does not exist in your workspace. |
CONVERSATION_NOT_FOUND | 404 | The conversation does not exist in your workspace. |
MESSAGE_NOT_FOUND | 404 | The message does not exist in your workspace. |
MEMBER_NOT_FOUND | 404 | The membership does not exist in your workspace. |
TEAM_NOT_FOUND | 404 | The team does not exist in your workspace. |
CHANNEL_CONNECTION_NOT_FOUND | 404 | The channel connection does not exist in your workspace. |
DEVELOPER_INVALID_INPUT | 422 | A body field or query value is invalid. |
See the error reference for every code.