Skip to content
Home » Octopush Gateway SMS API » SMS API » Cancel an SMS campaign on contacts

Cancel an SMS campaign on contacts


Encoding : UTF-8


Your “api-key” and “api-login” must be added in the headers.


This service allows you to cancel a campaign that’s is going to be sent to a list or using a tag.

Special parameters

ticket_numberstringThis is the ticket_number transmitted by Octopush after the call to the creation function

Example Curl

curl -X DELETE \ 
'' \ 
-H 'Content-Type: application/json' \  
-H 'api-login: ******' \ 
-H 'api-key: ************' \
-H 'cache-control: no-cache' \ 
-d '{
  "ticket_number": "vocal_xx0000xx0000xx"

Command to copy/paste

curl -X DELETE '' -H 'Content-Type: application/json' -H 'api-login: ******' -H 'api-key: ************' -H 'cache-control: no-cache' -d '{"ticket_number": "vocal_xx0000xx0000xx"}'

JSON Server Response

Succes : 204 NO CONTENT