Calypso
WhatsApp

WhatsApp Actions API

Send an approved template to a single contact (manual + API helper).

Overview

In WhatsApp → Actions, Calypso provides:

  • a manual “try it now” sender
  • an API tab with copy/paste examples (cURL, Python, JS, Node, PHP)

The API is designed to send one approved template to one phone number.

Payload

The request body follows this shape:

{
  "team_id": "YOUR_TEAM_ID",
  "template_id": "YOUR_TEMPLATE_ID",
  "phone": "+14155552671",
  "variables": {
    "name": "Andres"
  }
}

Phone format

Use E.164 format:

  • start with +
  • 8–15 digits total

Example: +14155552671

Example (cURL)

curl -X POST "YOUR_API_BASE_URL/..." \
  -H "Content-Type: application/json" \
  -d '{
    "team_id": "YOUR_TEAM_ID",
    "template_id": "YOUR_TEMPLATE_ID",
    "phone": "+14155552671",
    "variables": { "name": "Andres" }
  }'
Sending from Actions triggers a real message. Use a test number and verify template variables before sending.