v1

latestOpenAPI 3.0.02026-07-263615.4 KB
Templates

Send Template Message

Send a template-based message to users via their phone numbers

post/api:hFrjh8a1/send_template_message_by_api

Request body

templatestring uuid required

The unique template ID used for sending the message

variablesobject required

A JSON object containing dynamic placeholders for the message template. The keys should match the variables in your template. Common variable keys include:

  • body1, body2, body3: Text variables for message content
  • media: URL for image, video, or document attachments
  • visit_website: URL's parameter for the dynamic button link
phone_numberstring required

The recipient's phone number in international format (e.g., +123476529999)

Response

Message sent successfully

successboolean

Indicates if the message was sent successfully