Skip to content

Instantly share code, notes, and snippets.

@expressmailing
Last active November 22, 2018 16:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save expressmailing/7c58bc02ed228b64c00d0e3c27fa7cd8 to your computer and use it in GitHub Desktop.
Save expressmailing/7c58bc02ed228b64c00d0e3c27fa7cd8 to your computer and use it in GitHub Desktop.
POST /sms/ Envois multiples
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