Single Send Message
Authorization
Add this header to every request in this page
json
{
"Authorization": "Bearer ${token}"
}
🔒 Single Send Message
It allows sending message template.
POST
/api/v1/send
Body
json
{
"message_template_id": "",
"full_name": "",
"phone_number": "",
"channel_id": "",
"params": []
}
Name | Type | Required | Description |
---|---|---|---|
message_template_id | string | true | Id of the Message Template. You can get it from Message Template |
full_name | string | false | Customer Name |
phone_number | string | true | Customer phone number. Example: 905449991122 |
channel_id | string | true | Id of Channel. You can get it from Channel |
params | string[] | false | Order information of dynamically valued parameters in the message |
Response
json
{
"success": true,
"message": "",
"status_code": 200,
"trace_id": "cce3448b-2673-4076-b43b-5a7352505644",
"errors": [],
"data": {
"message_id": "<message_id>"
}
}