Skip to main content
GET
List snippets

Authorizations

X-Kit-Api-Key
string
header
required

Authenticate API requests via an API Key

Query Parameters

after
any | null

To fetch next page of results, use ?after=<end_cursor>

archived
any | null

When true, returns only archived snippets. Defaults to false.

before
any | null

To fetch previous page of results, use ?before=<start_cursor>

include_content
boolean

When true, includes both the content and document fields for each snippet in the response. Defaults to false.

include_total_count
boolean

Set to true to include the total_count in the response. This option can cause slow responses; if paging through results, request it only on the first page and reuse the value for subsequent pages.

per_page
any | null

Number of results per page. Default 500, maximum 1000.

snippet_type
any | null

Filter snippets by type. Use inline for text snippets or block for rich-text block snippets.

Response

Returns a paginated list of all snippets for your account

snippets
object[]
required
pagination
object
required