Skip to main content
GET
List snippets
Needs snippets:read. See Permissions.
Gives the saved snippets and hashtag groups of every workspace the key can reach, by kind, then by name, as a list (not wrapped in data, and not paged).
  • workspace_id keeps one workspace’s. A workspace the key can’t reach gives [], not an error.
  • kind keeps one kind: snippet or hashtags.
Every plan has snippets, Free included.

Errors

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

workspace_id
integer

Only this workspace's snippets.

kind
enum<string>

Only one kind.

Available options:
snippet,
hashtags

Response

The snippets.

id
integer
required
workspace_id
integer
required
kind
enum<string>
required

snippet for any saved text, hashtags for a hashtag group.

Available options:
snippet,
hashtags
name
string
required
Maximum string length: 80
body
string
required
Maximum string length: 5000
created_by
integer | null
required

The user who saved it; null once that user is deleted.

created_at
string<date-time>
required
updated_at
string<date-time>
required