---
title: "Update a text snippet"
method: PATCH
path: "/settings/text_snippets/{id}.json"
tags: ["Text Snippets"]
---

# Update a text snippet

`PATCH /settings/text_snippets/{id}.json`

Outlines the parameters and data fields used when updating a single TextSnippet

## Path parameters

- `id` integer, required

## Query parameters

- `fields` string

## Headers

- `IF-MATCH` string
- `X-API-VERSION` string

## Request body

- object
  - `data` object, required
    - `phrase` string — The phrase expanded to from a TextSnippet.
    - `snippet` string — The abbreviation that expands to a phrase.
    - `whole_word` boolean — Whether or not the TextSnippet requires a space after to trigger the expansion.

## Response `200`

Ok

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `412` — Precondition Failed
- `422` — Unprocessable Entity
- `429` — Too Many Requests

---

[API](https://skmtc.net/clio/apis/clio-api-documentation.md) · [All operations](https://skmtc.net/clio/apis/clio-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/clio/clio-api-documentation/versions/94a82114ec3b/schema)
