Node.js
Queue APIs
Purge Queue
This endpoint purges the jobs in the queue
If neither queue_id nor broadcast_id are provided in the request body, this will purge all the message jobs in 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:
"{{orgPhone}}"
Body
application/json
Response
204 - application/json
204 No Content
204 No Content