Skip to main content
GET
/
messaging
/
rcs
/
capabilities
/
{agent_id}
/
{phone_number}
JavaScript
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>"
    ]
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

agent_id
string
required

RCS agent ID

phone_number
string
required

Phone number in E164 format

Response

Successful response

data
object