Skip to content
Home » Octopush Gateway SMS API » Get your Voice Campaign draft

Get your Voice Campaign draft

GET
https://api.octopush.com/v1/public/voice-campaign/draft

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 envoyée sur une liste.

Paramètres particuliers

aucun.

Exemple Curl

curl -X GET \ 
'https://api.octopush.com/v1/public/voice-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/voice-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": "voice_624ejr3re5c035518",
  "status": "validated",
  "code": 0,
  "message": "",
  "number_of_contacts": 1,
  "residual_credit": 110.65,
  "total_cost": 0.03,
  "estimated_duration": 30
}