list_rcs_templates
GET
/v1/agents/{agent_id}/templates
const url = 'https://example.com/v1/agents/example/templates';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/v1/agents/example/templates \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” agent_id
required
string
The RCS Agent identifier (platform UUID or Google agent ID).
Query Parameters
Section titled “Query Parameters ” limit
integer | null format: int64
Max rows (default 20, max 100).
status
string | null
Filter ACTIVE | DRAFT (optional).
Responses
Section titled “ Responses ”List of RCS templates
Media type application/json
object
data
required
Array<object>
object
content
required
object
created_at
required
string format: date-time
default_traffic_type
string | null
default_ttl_seconds
integer | null format: int32
description
string | null
id
required
string format: uuid
message_type
required
string
name
required
string
rbm_agent_id
required
string format: uuid
status
required
string
updated_at
required
string format: date-time
Example
{ "data": [ { "message_type": "CARD", "status": "ACTIVE" } ]}RCS Agent not found