Skip to main content

Create RCS message template

Create an RCS message template for approval. Templates support text body and optional interactive buttons (REPLY, DIAL_PHONE, OPEN_URL).

Query Parameters
bot string REQUIRED

Unique identifier of the AI agent (bot)

Request Body REQUIRED
name string REQUIRED

Unique name of the template

type string REQUIRED

Type of the message format.

  • TEXT: Plain text message
  • RICH: Multimedia-rich message including images, buttons, or cards
sender string REQUIRED

RCS sender ID registered for your brand

language string REQUIRED

ISO language code

body string REQUIRED

Message body (text or markup)

buttons object[]

Optional interactive buttons

type string REQUIRED

Button type. Allowed: REPLY, DIAL_PHONE, OPEN_URL

text string REQUIRED
actionType string

Action type used for REPLY buttons (optional)

journey object
name string
slug string
phoneNumber string

E.164 format required for DIAL_PHONE

url uri
Responses
201

Template created and accepted for review

Schema OPTIONAL
templateId string
status string
message string OPTIONAL
400

Bad request — validation error

Schema OPTIONAL
code string
message string
401

Unauthorized — missing or invalid API key

Schema OPTIONAL
code string
message string
500

Server error

Schema OPTIONAL
code string
message string