Commit Template
Changed onCommit 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.
Request
- Base URLhttps://management-api.suprsend.com
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Query parameters
Description of changes in this version.
Request body
Response
Template committed successfully. Returns the updated template detail.
Changes
- breaking
response property
detaillist-of-types was widened by adding typesarray and objectto media typeapplication/jsonof response401 - breaking
response property
detaillist-of-types was widened by adding typesarray and objectto media typeapplication/jsonof response404 - 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
- breaking