Skip to main content

Retrieve an RCS agent

GET 
/rcs_agents/:id

Retrieve an RCS agent

Request

Path Parameters

    id stringrequired

    RCS agent ID

Responses

200: Successful response with the RCS agent

default: Unexpected error

Request samples


curl -L 'https://api.telnyx.com/v2/rcs_agents/:id' \
-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"
}
}