1. Broadcast
Cekat Open API
  • Chat
    • Connected Platforms
      • List inboxes
      • List inboxes (legacy) (deprecated)
    • Broadcast
      • Create a template
        POST
      • Synchronize templates
        POST
      • Delete a template
        DELETE
      • List templates
        GET
      • Send a template
        POST
      • List recipient lists
        GET
      • Upload a recipient list
        POST
      • List campaigns
        GET
      • Create a campaign
        POST
      • Get campaign details
        GET
      • List campaign messages (deprecated)
        GET
      • Check or reserve template-message balance
        POST
    • Conversation
      • List conversations
      • Get a conversation
      • Update a conversation
      • List agent assignments
    • Message
      • List messages
      • Get AI credit usage
      • Check or reserve service-message balance
      • List messages in a conversation
      • Get a message
      • Send a WhatsApp message
  • CRM
    • Contact
      • List contacts
      • Create a contact
      • Search contacts
      • Get contact filter fields
      • Get the contact board
      • Create a contact property
      • Get a contact
      • Update a contact
      • Get contact properties
      • Update contact properties
    • Board
      • List CRM boards
      • Get a CRM board
      • Get a CRM column
      • Get a CRM column by name
      • List CRM board items
      • List CRM board items (page-based) (deprecated)
      • Create a CRM board item
      • Delete CRM board items
      • Search CRM board items
      • Get a CRM board item
      • Update a CRM board item
  • AI
    • List Q&A documents
      GET
    • Create Q&A documents
      POST
    • Delete Q&A documents
      DELETE
    • Generate an AI response (beta)
      POST
    • Get the OrderOnline integration
      GET
    • Delete the OrderOnline integration
      DELETE
  • Orders
    • List orders
      GET
    • Create an order
      POST
    • Get an order
      GET
    • Update an order
      PUT
  • Settings
    • List agents
    • List agents (v2)
  • Tickets
    • List ticket boards
    • List ticket templates
    • List tickets
    • Create a ticket
    • Update a ticket
    • Add a product to a ticket
    • Update a ticket product
  1. Broadcast

Send a template

POST
/templates/send
Sends an approved WhatsApp template to one phone number. Cekat creates the contact and conversation if they don't exist yet.
Check success in the body, not only the HTTP status. If Meta rejects the message (for example, an invalid number or insufficient balance), the endpoint still returns HTTP 200, with success: false, status_code: 400, data.status: failed, and the reason in data.error.

Request

Authorization
Add parameter in header
api_key
Example:
api_key: ********************
Header Params

Body Params application/json

Examples

Responses

🟢200
application/json
Bodyapplication/json

🟠400
🟠401
🟠404
Request Request Example
Shell
JavaScript
Java
Swift
curl --location '/templates/send' \
--header 'api_key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
  "wa_template_id": "1234567890123456",
  "inbox_id": "0f9e8d7c-6b5a-4c3d-2e1f-0a9b8c7d6e5f",
  "phone_number": "6281234567890",
  "phone_name": "Jane Doe",
  "template_body_variables": [
    "Jane",
    "10"
  ]
}'
Response Response Example
200 - 200 Message sent
{
  "success": true,
  "status_code": 200,
  "data": {
    "id": "7c1d2e3f-4a5b-4c6d-8e9f-0a1b2c3d4e5f",
    "message": "Halo Jane, ada diskon 10% untuk Anda bulan ini!",
    "conversation_id": "3a4b5c6d-7e8f-4a0b-9c1d-2e3f4a5b6c7d",
    "status": "sent",
    "error": null,
    "platform_mid": "wamid.HBgNNjI4MTIzNDU2Nzg5MBUCABEYEjQ5",
    "media_type": "image",
    "media_url": "https://cdn.example.com/promo.png",
    "is_template": true,
    "template_id": "1234567890123456",
    "template_category": "marketing",
    "sent_by": "1b2c3d4e-5f6a-4b7c-8d9e-0f1a2b3c4d5e",
    "sent_by_name": "Admin Toko",
    "sent_by_type": "api",
    "additional_data": {
      "billing_mode": "credit_card",
      "is_balance_locked": false,
      "estimated_price": 0,
      "currency_code": "IDR"
    },
    "business_id": "2f7431e4-cd89-4daf-a40d-a5d779b3dd1e"
  }
}
Modified at 2026-10-13 05:32:46
Previous
List templates
Next
List recipient lists
Built with