content:write
The content:write scope allows you to create content from completed IdeaClouds and trigger content generation. Content can be created in simple mode (fully automated) or interactive mode (you choose the questions and options before generation begins).
Endpoints
| Method | Path | Description |
|---|---|---|
POST | /public/content | Create a single content item |
POST | /public/content/batch | Create content in batch |
POST | /public/content/{id}/generate | Generate an interactive-mode content item |
Create content
simple mode, generation starts immediately. In interactive mode, the response includes the available inputs you need to provide before calling the Generate endpoint.
Request body
| Field | Type | Required | Description |
|---|---|---|---|
ideacloud_id | string (UUID) | Yes | The IdeaCloud to generate the content from |
article_type | string | Yes | One of: basic, qa, expert, modellanding, comparison, salesevent |
selected_question_ids | array of strings | No | Question IDs from the IdeaCloud (format: q-{timestamp}-{index}). Min 1 if provided. See Get IdeaCloud questions. |
brand_voice_id | string | No | Brand voice ID to use for tone and style |
title | string | No | Custom content title (max 500 chars) |
auto_compliance | boolean | No | Automatically run compliance check after generation. Default false |
auto_content_tools | boolean | No | Automatically generate content tools after generation. Default false |
mode | string | No | simple (default) or interactive |
Example — Simple mode
Response — 202 Accepted (simple mode)
Example — Interactive mode
Response — 200 OK (interactive mode)
In interactive mode, no content is created yet. Use the
required_inputs to build your follow-up request to the Generate endpoint.Status codes
| Code | Description |
|---|---|
200 | Interactive mode — awaiting input |
202 | Simple mode — content created and generation started |
400 | Validation error (missing or invalid fields) |
401 | Missing or invalid API key |
403 | API key does not have content:write scope |
404 | IdeaCloud not found |
429 | Rate limit exceeded |
500 | Internal server error |
Create content in batch
simple mode is supported in batch requests.
Request body
| Field | Type | Required | Description |
|---|---|---|---|
items | array | Yes | Array of content objects (1-10 items) |
Example
Response — 202 Accepted
Response — Partial failure
Status codes
| Code | Description |
|---|---|
202 | Batch accepted (check individual item statuses) |
400 | Validation error (empty array, exceeds 10 items, or invalid fields) |
401 | Missing or invalid API key |
403 | API key does not have content:write scope |
429 | Rate limit exceeded |
500 | Internal server error |
Generate interactive-mode content
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | string (UUID) | Yes | Content ID (from the interactive-mode create response) |
Request body
| Field | Type | Required | Description |
|---|---|---|---|
selected_question_ids | array of strings | Yes | Question IDs (format: q-{timestamp}-{index}). Min 1. See Get IdeaCloud questions. |
brand_voice_id | string | No | Brand voice ID |
title | string | No | Custom content title (max 500 chars) |
Example
Response — 202 Accepted
Status codes
| Code | Description |
|---|---|
202 | Generation started |
400 | Validation error (missing question IDs, content not in awaiting_input state) |
401 | Missing or invalid API key |
403 | API key does not have content:write scope |
404 | Content not found |
500 | Internal server error |
Error response — Missing scope
If your API key does not includecontent:write, any request to these endpoints returns:

