Skip to main content

Contacts

Endpoints

Parameters

POST /api/v1/contacts

PUT /api/v1/contacts/{id}

POST /api/v1/contacts/bulk-delete

Create a contact

Bulk delete contacts

Response example:
Async response example (>= 100 contacts):

Common errors


Contact groups

Endpoints

Parameters

POST /api/v1/contacts/groups

POST /api/v1/contacts/groups/{groupId}/members

GET /api/v1/contacts/groups/{groupId}/members

Create a group

Add members

Async behavior:
  • < 100 contacts: synchronous response
  • >= 100 contacts: asynchronous 202 response with a jobId
  • Poll GET /api/v1/contacts/bulk-jobs/{jobId}/progress every 2s

List members

Response:
The groups exposed here are MsgFlash contact groups, not native WhatsApp groups.

Common errors