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.
Field | Type | Info |
---|---|---|
number | string | Number to send SMS |
message | string | SMS message |
route_id | string (Optional) | Route id. Default route will be used if left empty. |
{
"status": "Success",
"message": "Added to queue."
}