Menu
Create Content Type
Create a content type
POST
/v2/projects/{environment_id}/typesUse it in a workflow
- Add a step and choose the Kontent.ai connector.
- Pick the Create Content Type action (under Content Types).
- Fill in the fields below, then reference the result from later steps as
{{createContentType.response.data}}.
Request
Path parameters
Request body
Enter the body as JSON in the step's Body field.
{
"name": "string",
"codename": "string",
"external_id": "string",
"elements": [
{}
]
}
Response
Returns 201 with an object. Read it in later steps with {{createContentType.response.data.<field>}}.
Need more? See the Kontent.ai guide for connection setup and behaviour shared by every action.
Was this page helpful?