---
title: "Create a text snippet"
method: POST
path: "/settings/text_snippets.json"
tags: ["Text Snippets"]
---

# Create a text snippet

`POST /settings/text_snippets.json`

Outlines the parameters and data fields used when creating a new TextSnippet

## Query parameters

- `fields` string

## Headers

- `X-API-VERSION` string

## Request body

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

## Response `201`

Created

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `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/revisions/73791ddd1207/schema)
