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