---
title: "Add RCS test number"
method: PUT
path: "/messaging/rcs/test_number_invite/{id}/{phone_number}"
tags: ["RCS"]
---

# Add RCS test number

`PUT /messaging/rcs/test_number_invite/{id}/{phone_number}`

## Request

- Base URL: `https://api.telnyx.com/v2`
- URL: `https://api.telnyx.com/v2/messaging/rcs/test_number_invite/{id}/{phone_number}`
- Auth: HTTP bearer

Adds a test phone number to an RCS agent for testing purposes.

## Path parameters

- `id` string, required
- `phone_number` string, required

## Response `200`

Test number successfully invited to RCS agent

- RCSTestNumberInviteResponse
  - `data` object, required
    - `record_type` 'rcs.test_number_invite': Identifies the type of the resource
    - `agent_id` string: RCS agent ID
    - `phone_number` string: Phone number that was invited for testing
    - `status` string: Status of the test number invitation

## Other responses

- `4XX`: Unexpected error

---

[API](https://skmtc.dev/team-telnyx/apis/telnyx-api.md) - [All operations](https://skmtc.dev/team-telnyx/apis/telnyx-api/llms.txt) - [OpenAPI document](https://skmtc.dev/team-telnyx/apis/telnyx-api/revisions/0f17b8167873?raw)
