Skip to main content
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.
For TypeScript, the GraphQL SDK gives you a fully typed client for these operations.
The optional path groups snippets in the Plain app. Only alphanumeric characters are allowed. This operation requires the following permissions:
  • snippet:create
Mutation
Variables