Snippets

Get a snippet

Fetches a single snippet by id. Unlike List snippets, this endpoint always returns the full content and document — no include_content flag needed.

Use this when you have an id (e.g. stored from a prior create call) and need the current key and body — for example, to preview the resolved HTML or confirm a snippet still exists before referencing it as {{ snippet.key }} in a broadcast or sequence email. See Create a snippet for the snippet model.

get/v4/snippets/{id}

Request

  • Base URL
    https://api.kit.com
  • URL
    https://api.kit.com/v4/snippets/{id}
  • Auth
    • API key in header X-Kit-Api-Key
    • or OAuth 2
      Authorization code: https://api.kit.com/v4/oauth/authorize
      Token URL: https://api.kit.com/v4/oauth/token

Path parameters

idinteger required

Response

Returns the snippet details

Changes

No recorded changes to this operation across all 2 revisions of this API.