Node.js
Message APIs
Purge Message Queues
This endpoint purges jobs from the message queue
If neither queue_ids nor broadcast_id are provided in the request body, this will purge all the message jobs across all the queues.
Node.js
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Please provide the number of the phone you want to call with this API in the header. The number must be in country code + number format without any characters or spaces, e.g. 919876543210; Alternatively, provide the phone_id (phone-xxxxxxxxxxxx) in the header
Example:
"918527184400"
Body
application/json
Response
200 - application/json
200 OK
The response confirms the purge operation