younifyd
Menu

Getallcontenttypes

Get all content types

GET/v3/content_types

Use it in a workflow

  1. Add a step and choose the Contentstack 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_countstring

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

include_global_field_schemastring

Set this to 'true' to include in response the details of all the fields within the Global field's schema.

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

Enter your branch unique ID.

Response

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

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