Templates

Update a draft

Revise a draft in place, re-running the same validator that gates creation.

put/templates/{id}

Request

  • Base URL: https://rcs-templates-api-dot-msg2ai-server.ue.r.appspot.com/api/agent
  • URL: https://rcs-templates-api-dot-msg2ai-server.ue.r.appspot.com/api/agent/templates/{id}
  • Auth: HTTP bearer

Path parameters

idstring required

Request body

namestring
descriptionstring
channel'RCS' | 'WHATSAPP'

Move the template to another channel. Requires the matching add-on brand; omit to leave it where it is.

category'MARKETING' | 'UTILITY' | 'AUTHENTICATION'
contentobject

Full replacement TemplateContent (not a deep merge). Must include a non-empty smsFallback.

tagsstring[]
knowledgeDocstring

Response

Success.

object required

Changes

No recorded changes to this operation across all 1 revision of this API.