/snippets/:id

Fetches a snippet

Path Params
string
required

Snippet Id

Query Params
boolean
Defaults to false

(Optional) include snippets marked for deletion when querying

string

(Optional) Pass expand=snippetId to expand _id to include id of parent tag. Pass expand=savedBy to expand savedBy to include id, name, and email of user who last saved this snippet.

string
Defaults to ''

(Optional) Comma separated list of fields to return from the snippet. The fields are a subset of the fields normally returned from this API.

Response

Language
Credentials
Header
Request
Response
Choose an example:
application/json
Psst... like working with APIs? Come join us!