---
title: "Update Canned Response in Account"
method: PATCH
path: "/v1/workspaces/{workspace_id}/canned_responses/{id}"
tags: ["Macros"]
---

# Update Canned Response in Account

`PATCH /v1/workspaces/{workspace_id}/canned_responses/{id}`

## Request

- Base URL: `https://api.oxvo.com`
- URL: `https://api.oxvo.com/v1/workspaces/{workspace_id}/canned_responses/{id}`
- Auth: API key in header `api_access_token`

Update a Canned Response in Account

## Path parameters

- `id` integer, required

## Request body

- CannedResponseCreateUpdatePayload
  - `content` string: Message content for canned response
  - `short_code` string: Short Code for quick access of the canned response

## Response `200`

Success

- CannedResponse
  - `id` integer: ID of the canned response
  - `account_id` integer: Account Id
  - `short_code` string: Short Code for quick access of the canned response
  - `content` string: Message content for canned response
  - `created_at` string: The date and time when the canned response was created
  - `updated_at` string: The date and time when the canned response was updated

## Other responses

- `403`: Access denied
- `404`: Agent not found

---

[API](https://skmtc.dev/oxvo/apis/oxvo-apis.md) · [All operations](https://skmtc.dev/oxvo/apis/oxvo-apis/llms.txt) · [OpenAPI document](https://skmtc.dev/oxvo/apis/oxvo-apis/revisions/9a8448cbd1fe?raw)
