post https://tx.tracksend.co/sms/
Properties
Field | Type | Description | Required |
---|---|---|---|
from | string | The sender name or ID. | Yes |
to | array of strings or string | An array or string of recipient phone numbers. | Yes |
countryCode | string | The country code or country of the recipient's phone numbers. e.g NG, Nigeria, 234 | Yes |
body | string | The text message content. | Yes |
callback | string | The callback URL to receive delivery status updates | No |
metadata | string | Additional metadata associated with the message. | No |
Sample Payload
{
"from": "Tracksend",
"countryCode":"234",
"to": "08075887474",
"body": "Thank you very much x2! testing <<name>>",
"callback": "http://example.com",
"metadata": "some-unique-string"
}
{
"from": "Tracksend",
"countryCode":"234",
"to": ["08022881418", "07031464377", "09081710869"],
"body": "Thank you very much x2! testing <<name>>",
"callback": "https://790e-102-88-63-129.ngrok-free.app",
"metadata": "some-unique-string"
}