Skip to content
Splashify Pro
Docs

Send Template Message — No Header

Send an approved WhatsApp template that has only a body (no header section) and optionally uses body variables. This is the simplest template shape and the right starting point if you're new to template sends.

Template messages can be sent at any time — they are not bound to the 24-hour customer service window like free-form messages.

Endpoint

POST

https://api.splashifypro.com/api/v1/public/message

Headers

Request body

json
{
  "phoneNumber": "9999999999",
  "callbackData": "order_12345",
  "type": "Template",
  "template": {
    "name": "template_name_here",
    "languageCode": "en",
    "bodyValues": [
      "body_variable_value_1",
      "body_variable_value_n"
    ]
  }
}

Example

bash
curl -X POST https://api.splashifypro.com/api/v1/public/message \
  -H "Authorization: Basic YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "phoneNumber": "9999999999",
    "callbackData": "some text here",
    "type": "Template",
    "template": {
      "name": "template_name_here",
      "languageCode": "en",
      "bodyValues": [
        "body_variable_value_1",
        "body_variable_value_n"
      ]
    }
  }'

Successful response — 201 Created

json
{
  "result": true,
  "message": "Message created successfully",
  "id": "8d620ba1-640f-42ee-a8dd-15363422144b"
}

Protect against template recategorisation

Meta periodically recategorises Utility templates as Marketing. Marketing messages are 5–6× more expensive and have noticeably lower delivery rates (50–70%). Pass template_category to lock the send to a category — if Meta has silently re-categorised, the API returns an error instead of a surprise marketing-priced send.

json
{
  "phoneNumber": "9999999999",
  "type": "Template",
  "template": {
    "name": "order_confirmation",
    "languageCode": "en",
    "template_category": "utility",
    "bodyValues": ["John", "ORD-1234"]
  }
}

If the template's current category does not match:

json
{
  "result": false,
  "message": "Message not sent. Template category mismatch: Expected 'utility', but received 'MARKETING'. Please update the request to match the approved template category."
}