> ## Documentation Index
> Fetch the complete documentation index at: https://www.plain.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Create a snippet

<Snippet file="graphql/sdk-note.mdx" />

Snippet `name` is used to find the snippet when inserting it during a reply. The `text` field is the plain-text body that will be used in environments that don't render markdown. If you also pass `markdown`, that version is preferred wherever rich text is supported.

The optional `path` groups snippets in the Plain app. Only alphanumeric characters are allowed.

This operation requires the following permissions:

* `snippet:create`

<Snippet file="graphql/create-snippet.mdx" />
