Menu
Get Content Type By Codename
Get a content type by codename
GET
/v2/projects/{environment_id}/types/codename/{type_codename}Use it in a workflow
- Add a step and choose the Kontent.ai connector.
- Pick the Get Content Type By Codename action (under Content Types).
- Fill in the fields below, then reference the result from later steps as
{{getContentTypeByCodename.response.data}}.
Request
Path parameters
Response
Returns 200 with an object. Read it in later steps with {{getContentTypeByCodename.response.data.<field>}}.
Need more? See the Kontent.ai guide for connection setup and behaviour shared by every action.
Was this page helpful?