API SMS

Intégrez Primotexto à vos applications grâce à notre puissante API SMS.

  >  
Campagnes  >  





Statistiques d'une campagne



Requête à envoyer

URL

https://api.primotexto.com/v2/campaigns/533c14d5e4b05d2efeb66c00/status

HTTP METHOD

GET

HEADERS

X-Primotexto-ApiKey: YOUR_API_KEY

Retour de l'API


HEADERS

HTTP/1.1 200 OK Date: Fri, 08 Jan 2016 15:11:02 GMT Server: Apache Content-Type: application/json;charset=UTF-8 Vary: Accept-Encoding Transfer-Encoding: chunked

DATA

{ "bounces": 130, "creditsUsed": 2000, "delivered": 1752, "errors": 118, "id": "56fa3cd56004e52d55333d87", "name": "Soldes 2016", "replies": 1, "sent": 2000, "state": "SENT", "submitted": 1977, "undelivered": 248 }
curl -X GET \ -H "X-Primotexto-ApiKey: YOUR_API_KEY" \ https://api.primotexto.com/v2/campaigns/533c14d5e4b05d2efeb66c00/status