AI Studio Resource Centre
Api referencesContacts

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

NameValue
Content-Typeapplication/json
AuthorizationBearer <token>
authtypeKey

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.

FieldTypeDescription
whatsappSubscriberIdsArrayAn array of contact IDs that you intend to delete, associated with a WhatsApp bot.
facebookSubscriberIdsArrayAn array of contact IDs that you intend to delete, associated with a Facebook bot.
telegramSubscriberIdsArrayAn array of contact IDs that you intend to delete, associated with a Telegram bot.
websiteSubscriberIdsArrayAn array of contact IDs that you intend to delete, associated with a Website bot.
messagingSubscriberIdsArray
idsArrayAn array of contact IDs that you intend to delete, associated with any platform.
statusStringThe 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.

On this page