Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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