younifyd
Menu

Get Content Type Snippet By Codename

Get a content type snippet by codename

GET/v2/projects/{environment_id}/snippets/codename/{snippet_codename}

Use it in a workflow

  1. Add a step and choose the Kontent.ai connector.
  2. Pick the Get Content Type Snippet By Codename action (under Content Type Snippets).
  3. Fill in the fields below, then reference the result from later steps as {{getContentTypeSnippetByCodename.response.data}}.

Request

Path parameters

environment_idstringrequired

Environment (project) ID.

snippet_codenamestringrequired

Codename of the snippet.

Response

Returns 200 with an object. Read it in later steps with {{getContentTypeSnippetByCodename.response.data.<field>}}.

Need more? See the Kontent.ai guide for connection setup and behaviour shared by every action.