List RCS capabilities of a phone number
GET/messaging/rcs/capabilities/:agent_id/:phone_number
List RCS capabilities of a phone number
Request
Path Parameters
agent_id stringrequired
RCS agent ID
phone_number stringrequired
Phone number in E164 format
Responses
200: Successful response
- application/json
default: Unexpected error
- application/json
Request samples
curl -L 'https://api.telnyx.com/v2/messaging/rcs/capabilities/:agent_id/:phone_number' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
Response samples
{
"data": {
"record_type": "rcs.capabilities",
"phone_number": "+13125551234",
"agent_id": "TestAgent",
"agent_name": "Testing agent",
"features": [
"string"
]
}
}
{
"errors": [
{
"code": "string",
"title": "string",
"detail": "string",
"source": {
"pointer": "string",
"parameter": "string"
},
"meta": {}
}
]
}