Delete contact(s)
This request/endpoint is platform-agnostic (e.g., WhatsApp, Website) and allows you to delete a contact or contacts (bulk deletion).
PUT https://api-v7.express-chat.com/inbox/users/status-update
Headers
| Name | Value |
|---|---|
| Content-Type | application/json |
| Authorization | Bearer <token> |
| authtype | Key |
Request Body
The request body consists of a JavaScript Object Notation (JSON) object containing the fields described in the table below. Examples of the request body can be found in the #sample-requests section.
| Field | Type | Description |
|---|---|---|
| whatsappSubscriberIds | Array | An array of contact IDs that you intend to delete, associated with a WhatsApp bot. |
| facebookSubscriberIds | Array | An array of contact IDs that you intend to delete, associated with a Facebook bot. |
| telegramSubscriberIds | Array | An array of contact IDs that you intend to delete, associated with a Telegram bot. |
| websiteSubscriberIds | Array | An array of contact IDs that you intend to delete, associated with a Website bot. |
| messagingSubscriberIds | Array | |
| ids | Array | An array of contact IDs that you intend to delete, associated with any platform. |
| status | String | The new status for the specified contact(s) (e.g., "DELETED") |
Responses
Sample Requests
The example requests below illustrates how to delete a WhatsApp contact. Ensure you replace <token> with your valid Bearer token before sending the request.
curl 'https://api-v7.express.com/inbox/users'
-X 'POST'
-H 'Authorization: Bearer <token>'
-H 'Content-Type: application/json'
-H 'authtype: Key'
-d '{
"whatsappSubscriberIds":["698c4445f98046b014053e5c"],
"status":"DELETED"
}'
--compressed❓ Got any questions?
If you have any questions, you can look into our repository of FAQs, most likely, you will find your answer here, If not, write us at production@S10U.co.za.
Get a contacts transcript
This request/endpoint is platform-agnostic (e.g., WhatsApp, website) and returns a list of contacts along with their associated profile data. It also supports various filtering options in the request
Getting Groups/Segments
This page contains the API documentation for the getting all groups/segments in customers account.