Invite a test number to an RCS agent
PUT/messaging/rcs/test_number_invite/:id/:phone_number
Adds a test phone number to an RCS agent for testing purposes.
Request
Path Parameters
id stringrequired
RCS agent ID
phone_number stringrequired
Phone number in E164 format to invite for testing
Responses
200: Test number successfully invited to RCS agent
- application/json
default: Unexpected error
- application/json
Request samples
curl -L -X PUT 'https://api.telnyx.com/v2/messaging/rcs/test_number_invite/:id/:phone_number' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
Response samples
{
"data": {
"record_type": "rcs.test_number_invite",
"agent_id": "TestAgent",
"phone_number": "+13125551234",
"status": "PENDING"
}
}
{
"errors": [
{
"code": "string",
"title": "string",
"detail": "string",
"source": {
"pointer": "string",
"parameter": "string"
},
"meta": {}
}
]
}