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 — REQUIREDUnique identifier of the AI agent (bot) |
| Request Body — REQUIRED | ||||||||
|---|---|---|---|---|---|---|---|---|
name string — REQUIREDUnique name of the template | ||||||||
type string — REQUIREDType of the message format.
| ||||||||
sender string — REQUIREDRCS sender ID registered for your brand | ||||||||
language string — REQUIREDISO language code | ||||||||
body string — REQUIREDMessage body (text or markup) | ||||||||
buttons object[]Optional interactive buttons
|
| Responses | ||||
|---|---|---|---|---|
201Template created and accepted for review
| ||||
400Bad request — validation error
| ||||
401Unauthorized — missing or invalid API key
| ||||
500Server error
|