Send SMS API

This endpoint allows you to send SMS to a specified phone number.

API ENDPOINT:

[POST] https://api.txtbond.com/api/external/sms
Authorization: (Bearer Type)

To authenticate requests to the API, TxTBond supports header authorization. You must include your API key in the Authorization header using the Bearer token format. Here's how you can include the API key in your requests:

Authorization Header
Authorization: Bearer {api_key}

Replace {api_key} with your actual API key when making requests to the API.

Request body:
FieldTypeInfo
numberstringNumber to send SMS
messagestringSMS message
route_idstring (Optional)Route id. Default route will be used if left empty.
About route_id: This can be found on manage routes on settings page. Its something like this: 6592008029c8c3e4dc76256c. If route id is not passed, default route will be used.
Success Response
{ "status": "Success", "message": "Added to queue." }





Whatsapp