---
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

## Changes

> 152 revisions in range; 1 not diffed.

- **2026-08-17** `1571b0380bd7`: 3 breaking
  - the response's body type changed from `object` to no type for status `4XX`
  - the `errors/items/` response's property type changed from `object` to no type for status `4XX`
  - the `errors/items/code` response's property type changed from `integer` to `string`, and format from `int32` to no format for status `4XX`
- **2026-08-04** `8f5f4e537994`: 4 breaking
  - the response's body type changed from no type to `object` for status `4XX`
  - the `errors/items/` response's property type changed from no type to `object` for status `4XX`
  - the `errors/items/code` response's property type changed from `string` to `integer`, and format from no format to `int32` for status `4XX`
  - the `errors/items/source/pointer` response's property format changed from `json-pointer` to no format for status `4XX`

[Operation history](https://skmtc.dev/team-telnyx/apis/telnyx-api-2/changes/messaging/rcs/test_number_invite/:id/:phone_number/put.md)

---

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