Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
RCS agent ID
Phone number in E164 format to invite for testing
Response
Test number successfully invited to RCS agent
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
const response = await client.messaging.rcs.inviteTestNumber('phone_number', { id: 'id' });
console.log(response.data);{
"data": {
"record_type": "rcs.test_number_invite",
"agent_id": "TestAgent",
"phone_number": "+13125551234",
"status": "PENDING"
}
}Adds a test phone number to an RCS agent for testing purposes.
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
const response = await client.messaging.rcs.inviteTestNumber('phone_number', { id: 'id' });
console.log(response.data);{
"data": {
"record_type": "rcs.test_number_invite",
"agent_id": "TestAgent",
"phone_number": "+13125551234",
"status": "PENDING"
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
RCS agent ID
Phone number in E164 format to invite for testing
Test number successfully invited to RCS agent
Show child attributes
Was this page helpful?