Aller au contenu
Accueil » API SMS Octopush » Vocal SMS API » Annuler un SMS Vocal sur contacts

Annuler un SMS Vocal sur contacts

DELETE
https://api.octopush.com/v1/public/voice-campaign-on-list/cancel

Encodage : UTF-8

Authentification

Vos identifiants « api-key » et « api-login » doivent être ajoutés dans les headers.

Définition

Permet d’annuler une campagne de SMS Vocal envoyée sur une liste ou en utilisant un tag.

Paramètres particuliers

NomTypeDescription
ticket_numberstringC’est le ticket transmis par Octopush après l’appel à la fonction de création.

Exemple Curl

curl -X DELETE \ 
'https://api.octopush.com/v1/public/voice-campaign-on-list/cancel' \ 
-H 'Content-Type: application/json' \ 
-H 'api-login: ******@email.org' \ 
-H 'api-key: ************' \ 
-H 'cache-control: no-cache' \ 
-d '{
  "ticket_number": "voice_5f3fbce61266e"
}'

Code à copier-coller

curl -X DELETE 'https://api.octopush.com/v1/public/voice-campaign-on-list/cancel' -H 'Content-Type: application/json' -H 'api-login: ******@email.org' -H 'api-key: ************' -H 'cache-control: no-cache' -d '{"ticket_number": "voice_5f3fbce61266e"}'

Retour Server en json

Succès : 204 NO CONTENT