Menu
Create Content Type
Create Content Type
POST
/hubs/{hubId}/content-typesUse it in a workflow
- Add a step and choose the Amplience 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
Response
Returns 201 with an object. Read it in later steps with {{createContentType.response.data.<field>}}.
{
"id": "00112233445566778899aabb",
"contentTypeUri": "http://example.com/content-type.json",
"status": "ACTIVE",
"settings": {
"label": "New Content Type",
"icons": [
{
"size": 256,
"url": "http://example.com/icon.png"
}
],
"visualizations": [
{
"label": "Desktop Website",
"templatedUri": "http://example.com?vse={{vse}}",
"default": true
}
]
},
"_links": {
"self": null,
"archive": null,
"unarchive": null,
"content-type": null,
"effective-content-type": null,
"content-type-schema": null
}
}
Need more? See the Amplience guide for connection setup and behaviour shared by every action.
Was this page helpful?