Atualizar um template
Atualiza um template existente e resubmete para aprovação da Meta.
Authentication
AuthorizationBearer
API Key in the format mk_live_<43-chars>. Obtain from the Dashboard or POST /auth/api-keys.
Path parameters
id
Unique identifier of the template
Request
This endpoint expects an object.
category
Updated template category
Allowed values:
components
Updated array of template components
language
Updated language code
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
404
Not Found Error