Templates

Create a draft

Author a new template from a content object. The shared validator rejects anything that breaks channel rules with machine-coded errors.

post/templates

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
  • Auth: HTTP bearer

Request body

namestring required
descriptionstring
channel'RCS' | 'WHATSAPP' | 'SMS'
category'MARKETING' | 'UTILITY' | 'AUTHENTICATION'
contentobject required

TemplateContent. Must include a non-empty smsFallback. One of text/card/carousel is the primary body.

tagsstring[]

Response

Success.

object required

Changes

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