create_discussion
Enables Storyblok users to initiate discussions on stories by specifying story ID, title, fieldname, block UID, component, language, and message content via the Management API.
Instructions
Creates a new discussion for a story via the Storyblok Management API.
Required:
- story_id: ID of the story
- title: Title of the discussion field
- fieldname: Technical name of the discussion field
- block_uid: ID of the discussion block
- component: Component/block name this discussion belongs to
- lang: Language code (e.g., "default", "en")
- message_json: Array of message objects [{"type": "text", "text": "...", "attrs": {...}}, ...]
Input Schema
Name | Required | Description | Default |
---|---|---|---|
block_uid | Yes | ||
component | Yes | ||
fieldname | Yes | ||
lang | Yes | ||
message_json | Yes | ||
story_id | Yes | ||
title | Yes |
Input Schema (JSON Schema)
{
"properties": {
"block_uid": {
"title": "Block Uid",
"type": "string"
},
"component": {
"title": "Component",
"type": "string"
},
"fieldname": {
"title": "Fieldname",
"type": "string"
},
"lang": {
"title": "Lang",
"type": "string"
},
"message_json": {
"items": {
"additionalProperties": true,
"type": "object"
},
"title": "Message Json",
"type": "array"
},
"story_id": {
"title": "Story Id",
"type": "integer"
},
"title": {
"title": "Title",
"type": "string"
}
},
"required": [
"story_id",
"title",
"fieldname",
"block_uid",
"component",
"lang",
"message_json"
],
"title": "create_discussionArguments",
"type": "object"
}