Submit a DRAFT or Error template to Meta

Validates the saved template and queues the existing Meta flow. Other states return 409
INVALID_STATE. No category-change option is introduced.

Optimistic lock (DEP-1): send expectedUpdatedAt with the ISO 8601 updatedAt you read. If
the stored version is a different instant, the API answers 409 TEMPLATE_CHANGED with the
stored updatedAt in extra and does not submit. Without it, the submit is not locked. The
status check runs first, so a template that is no longer DRAFT or Error still answers
INVALID_STATE.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
Body Params
date-time

ISO 8601 updatedAt of the version the client read (the value the GET answers).

recommendationAudit
object

Optional beta audit. Omit to preserve the legacy flow. Invalid audit blocks are ignored independently of template validation; failure to record never prevents a valid template operation.

Responses
200

Template in Requested state

400

Invalid template, missing WABA, invalid body (a key other than expectedUpdatedAt and recommendationAudit, or expectedUpdatedAt not ISO 8601), or URL_SHORTENER_REQUIRES_USER_SESSION (service caller without a user session submitting a draft that still needs URL shortening)

401

Unauthorized

404

Template not found for retailer

500

Submission failed

Language
Credentials
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json