---
title: "Modify an RCS agent"
method: PATCH
path: "/messaging/rcs/agents/{id}"
tags: ["RCS"]
---

# Modify an RCS agent

`PATCH /messaging/rcs/agents/{id}`

Updates the supplied configuration fields on the specified RCS agent.

## Path parameters

- `id` string, required

## Request body

- RCSAgentUpdate
  - `profile_id` string, uuid, nullable — Messaging profile ID associated with the RCS Agent
  - `webhook_url` string, url, nullable — URL to receive RCS events
  - `webhook_failover_url` string, url, nullable — Failover URL to receive RCS events

## Response `200`

Successful response with the updated RCS agent

- RCSAgentResponse
  - `data` RCSAgent
    - `agent_id` string — RCS Agent ID
    - `user_id` string — User ID associated with the RCS Agent
    - `profile_id` string, uuid, nullable — Messaging profile ID associated with the RCS Agent
    - `webhook_url` string, url, nullable — URL to receive RCS events
    - `webhook_failover_url` string, url, nullable — Failover URL to receive RCS events
    - `agent_name` string — Human readable agent name
    - `enabled` boolean — Specifies whether the agent is enabled
    - `created_at` string, date-time — Date and time when the resource was created
    - `updated_at` string, date-time — Date and time when the resource was updated

## Other responses

- `4XX` — Unexpected error

## Changes

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

[Change history](https://skmtc.dev/team-telnyx/apis/telnyx-api-2/changes/messaging/rcs/agents/:id/patch.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/e0de72cf4744?raw)
