GET
https://api.octopush.com/v1/public/sms-campaign/draftEncodage : UTF-8
Authentification
Vos identifiants « api-key » et « api-login » doivent être ajoutés dans les headers.
Définition
Permet d’annuler une campagne envoyée sur une liste.
Paramètres particuliers
aucun.Exemple Curl
curl -X GET \ 'https://api.octopush.com/v1/public/sms-campaign/draft' \ -H 'Content-Type: application/json' \ -H 'api-login: ******@email.org' \ -H 'api-key: ************' \ -H 'cache-control: no-cache'
Code à copier-coller
curl -X GET 'https://api.octopush.com/v1/public/sms-campaign/draft' -H 'Content-Type: application/json' -H 'api-login: ******@email.org' -H 'api-key: ************' -H 'cache-control: no-cache'
Retour Server JSON
Succès : 200
{
"ticket_number": "sms_624b06226b091819434905",
"number_of_contacts": 1,
"number_of_sms_needed": 1,
"residual_credit": 110.66,
"total_cost": 0.081,
"status": "validated",
"message": "",
"code": 0
}