Last active
November 22, 2018 16:13
-
-
Save expressmailing/7c58bc02ed228b64c00d0e3c27fa7cd8 to your computer and use it in GitHub Desktop.
POST /sms/ Envois multiples
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
JSON BODY : | |
{ | |
"message": "Hello world !", | |
"defaults": { | |
"countryCode": "FR" | |
}, | |
"recipients": [ | |
{ "target": "06xxxxxxx1" }, | |
{ "target": "06xxxxxxx2" }, | |
{ "target": "06xxxxxxx3" }, | |
{ | |
"target": "04xxxxxxxx1", | |
"countryCode": "BE" | |
} | |
] | |
} | |
HTTP Response : | |
200 OK | |
JSON RESPONSE : | |
{ | |
"status": "ok", | |
"result": { | |
"batchId": 18, | |
"batchRef": null, | |
"created": "2018-09-26T07:36:17.000Z", | |
"updated": "2018-09-26T07:36:17.000Z", | |
"state": "creating", | |
"stateDetail": "Batch en cours de traitement." | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment