Skip to main content
POST
/
messaging
/
rcs
/
bulk_capabilities
JavaScript
import Telnyx from 'telnyx';

const client = new Telnyx({
  apiKey: 'My API Key',
});

const response = await client.messaging.rcs.listBulkCapabilities({
  agent_id: 'TestAgent',
  phone_numbers: ['+13125551234'],
});

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.

Body

application/json
agent_id
string
required

RCS Agent ID

Example:

"TestAgent"

phone_numbers
string[]
required

List of phone numbers to check

Response

Successful response

data
object[]