Skip to content

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": []
}
NameTypeRequiredDescription
message_template_idstringtrueId of the Message Template. You can get it from Message Template
full_namestringfalseCustomer Name
phone_numberstringtrueCustomer phone number. Example: 905449991122
channel_idstringtrueId of Channel. You can get it from Channel
paramsstring[]falseOrder 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>"
    }
}