import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
const response = await client.messaging.rcs.retrieveCapabilities('phone_number', { agent_id: 'agent_id' });
console.log(response.data);{
"data": {
"record_type": "rcs.capabilities",
"phone_number": "+13125551234",
"agent_id": "TestAgent",
"agent_name": "Testing agent",
"features": [
"<string>"
]
}
}import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
const response = await client.messaging.rcs.retrieveCapabilities('phone_number', { agent_id: 'agent_id' });
console.log(response.data);{
"data": {
"record_type": "rcs.capabilities",
"phone_number": "+13125551234",
"agent_id": "TestAgent",
"agent_name": "Testing agent",
"features": [
"<string>"
]
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
RCS agent ID
Phone number in E164 format
Successful response
Show child attributes
Identifies the type of the resource
rcs.capabilities "rcs.capabilities"
Phone number
"+13125551234"
RCS agent ID
"TestAgent"
RCS agent name
"Testing agent"
List of RCS capabilities
Was this page helpful?