post https://tx.tracksend.co/rcs/
Properties
Field | Type | Description | Required |
---|---|---|---|
from | string | The sender name or ID. | Yes |
to | array of strings | An array of recipients' phone numbers. | Yes |
countryCode | string | The country code or country of the recipient's phone numbers. e.g NG, Nigeria, 234 | Yes |
templateCode | string | The template code for the Dynamic RCS template. | Yes |
templateData | object | The value mapping of each variable added to the dynamic template e.g. {{firstname}} | |
callback | string | The callback URL to receive delivery status updates. | No |
metadata | string | Unique string |
Example
{
"from": "Tracksend",
"countryCode":"234",
"to": ["07082632448"],
"templateCode": "t-f80943c233b3be404703b57f1c6a0c03",
"templateData": {
"firstname": "John",
"lastname": "Doe",
"country": "Nigeria"
},
"callback": "http://example.com",
"metadata": "5693142g3h1234"
}
{
"from": "Tracksend",
"countryCode":"234",
"to": ["07082632448","08188303092"],
"templateCode": "t-f80943c233b3be404703b57f1c6a0c03",
"templateData": {
"firstname": "John",
"lastname": "Doe",
"country": "Nigeria"
},
"callback": "http://example.com",
"metadata": "5693142g3h1234"
}