younifyd
Menu

Getallcontenttypes

Get all content types

GET/v3/content_types

Use it in a workflow

  1. Add a step and choose the Contentstack Delivery connector.
  2. Pick the Getallcontenttypes action (under Content types).
  3. Fill in the fields below, then reference the result from later steps as {{getallcontenttypes.response.data}}.

Request

Query parameters

include_countstringrequired

Set this to 'true' to include in response the total count of content types available in your stack.

include_branchstring

Set this to true to include the _branch top-level key in the response. This key states the unique ID of the branch where the concerned Contentstack module resides.

Headers

branchstring
Content-Typestringrequired

Response

Returns 200 with a any. Read it in later steps with {{getallcontenttypes.response.data.<field>}}.

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