---
title: "Update RCS agent"
method: POST
path: "/v4/rcs/agents/{rcsAgentId}"
tags: ["RCS - Agents"]
---

# Update RCS agent

`POST /v4/rcs/agents/{rcsAgentId}`

## Request

- Base URL: `https://api.inmobile.com`
- URL: `https://api.inmobile.com/v4/rcs/agents/{rcsAgentId}`
- Auth: one of:
  - HTTP basic
  - API key in query parameter `apikey`

## Path parameters

- `rcsAgentId` string, guid, required

## Request body

- RcsAgentUpdateRequestApiModel
  - `webhooks` RcsAgentUpdateWebhooksApiModel, required: Only HTTP and HTTPS URLs are allowed as callback URLs. Omitting a callback URL or setting it to an empty string, is interpreted as a null value, which means that the callback URL will be deleted.
    - `typingCallbackUrl` string

## Response `200`

- RcsAgentUpdateResponseApiModel
  - `id` string, guid: The id of the RCS agent.
  - `name` string: The name of the RCS agent.
  - `webhooks` RcsAgentWebhooksApiModel
    - `typingCallbackUrl` string

## Other responses

- `400`: Bad request
- `401`: Unauthorized
- `404`: Not found
- `500`: Internal server error

---

[API](https://skmtc.dev/inmobile/apis/inmobile-rest-api.md) · [All operations](https://skmtc.dev/inmobile/apis/inmobile-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/inmobile/apis/inmobile-rest-api/revisions/197a90ad5f8f?raw)
