Skip to main content
POST
/
api
/
templates
/
external
/
message
/
send
Send Template Message
curl --request POST \
  --url https://api.automatechats.com/api/templates/external/message/send \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "templateId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "recipientPhoneNumber": "<string>",
  "countryCode": "<string>",
  "variables": [
    "<string>"
  ],
  "variableMapping": {}
}
'
{
  "status": "<string>",
  "message": "<string>",
  "data": {}
}

Documentation Index

Fetch the complete documentation index at: https://automatebusiness.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-API-Key
string
header
required

Body

application/json
templateId
string<uuid>
required
recipientPhoneNumber
string
required
countryCode
string
required
variables
string[]

Simple variable mapping (Header -> Body -> Buttons)

variableMapping
object

Precise variable mapping for complex templates

Response

200 - application/json

Message sent successfully

status
string
message
string
data
object