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

# Modify an RCS agent

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

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

---

[API](https://skmtc.net/team-telnyx/apis/telnyx-api-2.md) · [All operations](https://skmtc.net/team-telnyx/apis/telnyx-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/team-telnyx/telnyx-api-2/versions/8f5f4e537994/schema)
