Create a text RCS template

Creates a plain-text RCS template (no media, no interactive buttons). Sent as application/json. default_variables is an array of {key, value} pairs; keys are numeric strings that match {{N}} placeholders inside body. Every template belongs to one agent, declared in agent_id; it is registered in the supplier project of that agent's line.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required

Friendly name persisted in the template registry.

uuid
required

The RCS agent the template belongs to — the id returned by POST /rcs/agents. The template is registered in the supplier project of that agent's line, and every send of it goes out as this agent (POST /rcs with template_id takes no agent_id). Must be an approved agent of the authenticating app; to use the same content under another agent, create another template.

string
required
length ≤ 1600

Message body. May reference variables via {{N}}.

default_variables
array of objects

Optional fallback values for the {{N}} placeholders inside body. Rendered at send time when the caller doesn't override them via template_variables on POST /rcs.

default_variables
string
length ≤ 306

Optional fallback delivered as SMS when the RCS send fails.

Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json