List RCS capabilities of a given batch of phone numbers
POST/messaging/rcs/bulk_capabilities
List RCS capabilities of a given batch of phone numbers
Request
- application/json
Body
agent_id stringrequired
RCS Agent ID
phone_numbers string[]required
List of phone numbers to check
Responses
200: Successful response
- application/json
default: Unexpected error
- application/json
Request samples
curl -L 'https://api.telnyx.com/v2/messaging/rcs/bulk_capabilities' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
-d '{
"agent_id": "TestAgent",
"phone_numbers": [
"+13125551234"
]
}'
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": {}
}
]
}