API reference
Ingrgrate Storytell.ai with your workflow
Creates a new collection under the specified ancestor. Requires user authentication and proper authorization permissions.
cURL
curl --request POST \ --url https://production-storytell-ai-platfor-cds2.encr.app/v1/collection/{parentCollectionID} \ --header 'Content-Type: application/json' \ --data '{ "description": "<string>", "icon": "<string>", "kind": "<string>", "label": "<string>", "organizationContext": { "organizationId": [ 127 ], "tenantId": [ 127 ] }, "parent": [ 127 ] }'
{ "code": "<string>", "data": { "collectionKind": "<string>", "description": "<string>", "etag": "<string>", "icon": "<string>", "id": [ 127 ], "label": "<string>", "lifecycleState": "<string>", "metadata": { "createdAt": "2023-11-07T05:31:56Z", "createdBy": [ 127 ], "deletedAt": "2023-11-07T05:31:56Z", "deletedBy": [ 127 ], "modifiedAt": "2023-11-07T05:31:56Z", "modifiedBy": [ 127 ] }, "organizationId": [ 127 ], "path": [ [ 127 ] ], "tenantId": [ 127 ], "version": 123 }, "details": { "consumption": { "units": 123 }, "operation": { "duration": 123, "operationId": "<string>" } }, "done": true, "eventKey": "<string>", "message": "<string>" }
Show child attributes
Success response
Was this page helpful?