Create a new template
Creates a new message template and submits it to Meta for approval. Templates must be approved before they can be used to send messages.
Authentication
AuthorizationBearer
API Key in the format mk_live_<43-chars>. Obtain from the Dashboard or POST /auth/api-keys.
Request
This endpoint expects an object.
wabaId
WhatsApp Business Account ID to create the template under
name
Template name using only lowercase letters, numbers, and underscores
language
Language code for the template (e.g., en_US, es_ES)
category
Template category as required by Meta: MARKETING, UTILITY, or AUTHENTICATION
Allowed values:
components
Array of template components (header, body, footer, buttons)
Response
Default Response
id
Unique identifier of the template in the Muchaw platform
developerId
ID of the developer who owns this template
wabaId
WhatsApp Business Account ID this template belongs to
metaTemplateId
Template ID assigned by Meta
name
Template name
language
Language code of the template
category
Template category (MARKETING, UTILITY, or AUTHENTICATION)
status
Approval status of the template (e.g., APPROVED, PENDING, REJECTED)
components
Template components as returned by the WhatsApp Business API
createdAt
ISO 8601 datetime when the template was created
updatedAt
ISO 8601 datetime when the template was last updated
Errors
400
Bad Request Error
401
Unauthorized Error