Skip to main content

List all RCS agents

GET 
/rcs_agents

List all RCS agents

Request

Query Parameters

    page[number] integer

    Possible values: >= 1

    Default value: 1

    The page number to load

    page[size] integer

    Possible values: >= 1 and <= 250

    Default value: 20

    The size of the page

Responses

200: Successful reponse with the list of RCS agents

default: Unexpected error

Request samples


curl -L 'https://api.telnyx.com/v2/rcs_agents' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'

Response samples


{
"data": [
{
"agent_id": "TestAgent",
"user_id": "2ecf295b-36c6-4d43-ad05-71eb1e560518",
"profile_id": "4001932a-b8a3-42fc-9389-021be6388909",
"webhook_url": "http://example.com",
"webhook_failover_url": "http://example.com",
"agent_name": "Test Agent",
"enabled": true,
"created_at": "2024-01-01T12:00:00.000Z",
"updated_at": "2024-01-01T12:00:00.000Z"
}
],
"meta": {
"total_pages": 3,
"total_results": 55,
"page_number": 2,
"page_size": 25
}
}