Skip to main content
POST
Create snippet

Authorizations

Authorization
string
header
required

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

Body

application/json
title
string
required
Required string length: 1 - 255
html
string
required
Minimum string length: 1
folder_id
string | null

Snippet folder id, or null for uncategorized. Fetch folders via GET /snippets/folders.

Response

Successful response

id
string
required
title
string
required
html
string
required
folder_id
string | null
required
created_at
string
required
updated_at
string
required