Commit the current draft version, making it live. All draft changes across all channels and variants are published as a new version.

For WhatsApp and SMS (DLT) variants, committing moves them to Approval Pending state instead of going live immediately.

patch/v2/{workspace}/template/{template_slug}/commit/

Request

Path parameters

workspacestring required
template_slugstring required

Query parameters

commit_messagestring

Description of changes in this version.

Request body

object required

Response

Template committed successfully. Returns the updated template detail.

object required

Changes

    • breaking

      response property detail list-of-types was widened by adding types array and object to media type application/json of response 401

    • breaking

      response property detail list-of-types was widened by adding types array and object to media type application/json of response 404

    • breaking

      removed the success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the success response with the status