Send message
Provide the destination number to
, and optional callback_url
, plus all template parameters under params
as additional JSON fields (all string values). Check the Templates API for fetching the template id
.
Authorizations
Path parameters
idstring · uuidRequired
Template id
Body
tostringOptional
Destination MSISDN in international format (e.g., 44...)
callback_urlstring · uri | nullableOptional
Responses
200
Accepted or rejected by business validation
application/json
400
Request invalid (e.g. missing uuid or template parameter validation failure)
application/json
401
Unauthorized (missing/invalid API key)
404
Template not found
500
Failed to send
post
/v1.0/sms/template/{id}/sendPOST /v1.0/sms/template/{id}/send HTTP/1.1
Host: messaging-api.bind.hr
X-API-KEY: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 135
{
"to": "4473481234567",
"callback_url": "https://mystore.com/api/sms/dlr",
"params": {
"customerName": "John Doe",
"orderId": "ORD-2023-12345"
}
}
{
"status": "ACCEPTED",
"message_id": "b2c3d4e5-f6a1-41d4-a716-112233445566",
"error_message": "OK"
}