Skip to main content
GET
Get RCS Template Variables

Description

This endpoint allows you to retrieve the variable keys and their types for a specific RCS template. This is useful when you need to know what variables are required or available in a template before sending a message.

Headers

string
required
Your API key for authentication.
string
required
Your workspace ID for authentication.

Path Parameters

string
required
The unique identifier of the RCS bot. This is the Bot ID associated with your RCS account.

Query Parameters

string
required
The name of the RCS template for which you want to retrieve variable information.

Response

boolean
Indicates whether the API call was successful.
string
Success or error message from the API.
array
An array of template variable objects, each containing:
string
The variable key name that should be used when sending the template.
string
The type of the variable (e.g., “text”, “image”, “video”, etc.).