Endpoint
Authentication
Include your project API password in every request header:Path Parameters
string
required
Your Convo project ID.
Request Body
string
required
A human-readable label for the template. Used for display in the Convo dashboard. Does not affect submission to WhatsApp.
string
required
A unique identifier for this template. Must be lowercase, use underscores instead of spaces, and contain no special characters (e.g.,
order_confirmation_v1). This name is used when referencing the template in campaigns.string
required
The template category. Accepted values:
TRANSACTIONAL— Order updates, shipping notifications, account alertsMARKETING— Promotional messages, offers, announcementsOTP— One-time passwords and verification codes
string
required
The media type of the template. Accepted values:
TEXT— Text-only bodyIMAGE— Includes an image headerVIDEO— Includes a video headerFILE— Includes a document/file headerLOCATION— Includes a location shareCAROUSEL— Carousel of cards (each with image, body, and buttons)ORDER_DETAILS— Structured order summary
string
required
Full language name for the template locale. Examples:
"English", "Hindi", "Spanish", "French", "Arabic".string
required
The message body text. Use double-brace placeholders —
{{1}}, {{2}}, etc. — for dynamic values. Placeholders must be numbered sequentially starting from {{1}}.Example: "Hi {{1}}, your order {{2}} has been shipped!"string
required
The same body text with placeholder values filled in with realistic sample data. WhatsApp reviewers use this to evaluate your template. Providing clear, realistic samples speeds up approval.Example:
"Hi Priya, your order #ORD-4521 has been shipped!"string
The type of interactive buttons to attach. Omit this field if you do not need buttons. Accepted values:
CTA— Call-to-action buttons (phone number or URL). Maximum 2 buttons.QuickReplies— Quick reply buttons. Maximum 3 buttons.All— A mix of both CTA and quick reply buttons.
array
Required when
message_action_type is CTA. An array of up to 2 CTA button objects. Each object has the following fields:array
Required when
message_action_type is QuickReplies. An array of up to 3 strings, each being the label for a quick reply button.Example: ["Yes, confirm", "No, cancel", "Talk to support"]string
Optional text to display above the message body as a header. Only applicable for
TEXT type templates with a text header variant.Optional text to display below the message body as a footer. Footers appear in a smaller, muted style.
boolean
default:"false"
When
true, Convo tracks clicks on URL buttons in this template. Requires at least one URL type CTA button.Request Examples
- Plain Text
- Quick Replies
Response
A successful request returns200 OK with the created template object.
status field is always PENDING immediately after submission. Poll the Get Template endpoint or check your Convo dashboard to monitor approval.
