Create content
Starts AI content generation (CREATE or OPTIMIZE). Returns the new document id with status PENDING; use GET /content/:id to poll for status, fields, and body.
Authorizations
API key for authentication. Get yours from the Promptwatch dashboard under Settings > API Keys.
Body
- Option 1
- Option 2
Create new content from a prompt (not optimizing an existing page).
CREATE LLM prompt to anchor generation on (list via GET /prompts).
Persona for voice and audience (list via GET /personas).
Output format. Supports article/blog formats plus on-site citation-aligned formats such as HOW_TO, REVIEW, COMPARISON, CASE_STUDY, DOCUMENTATION, WIKI, PRODUCT_PAGE, LANDING_PAGE, and PRESS_RELEASE.
ARTICLE, BLOG_POST, OPINION, LISTICLE, HOW_TO, REVIEW, COMPARISON, CASE_STUDY, INTERVIEW, DOCUMENTATION, WIKI, PRODUCT_PAGE, LANDING_PAGE, PRESS_RELEASE, GENERIC_CONTENT, PRODUCT_COMPARISON Target length. SHORT ≈ 200–500 words; MEDIUM ≈ 500–1,000; LONG ≈ 1,000–3,000.
SHORT, MEDIUM, LONG Optional recommendation from GET /content-gap/prompts/:promptId/latest/recommendations.
Tone override; if omitted, the project default is used. CUSTOM requires customToneOfVoice.
PROFESSIONAL, CASUAL, TECHNICAL, CONVERSATIONAL, NEUTRAL, AUTHORITATIVE, FRIENDLY, PERSUASIVE, FORMAL, WITTY, CUSTOM Required when toneOfVoice is CUSTOM; ignored otherwise.
BCP-47 language code from the supported enum (e.g. "en-US", "es-ES"). Overrides the project default. Omit to use the project default or en-US.
en-US, en-GB, en-IN, en-AU, en-CA, en-NZ, nl-NL, nl-BE, es-ES, es-MX, es-AR, es-CO, es-CL, es-PE, es-VE, ca-ES, fr-FR, fr-BE, fr-CA, de-DE, de-AT, de-CH, cs-CZ, sk-SK, no-NO, sv-SE, da-DK, it-IT, fi-FI, pl-PL, hu-HU, ro-RO, lt-LT, lv-LV, uk-UA, el-GR, tr-TR, ar-SA, ar-EG, ar-AE, he-IL, pt-PT, pt-BR, ja-JP, id-ID, vi-VN, th-TH, km-KH, en-KH, ko-KR, hi-IN, ru-RU, kk-KZ, ms-MY, fil-PH, zh-SG, zh-TW, zh-HK Visual style for AI-generated featured images when the generate-article-image tool is enabled. Null inherits the project default.
photo-realistic, flat-illustration, watercolor, 3d-render, minimalist, isometric, editorial, abstract Additional instructions for the image generator (max 200 chars). Null inherits the project default.
200Words or phrases the generated content must not contain. Overrides the project's default blocked-words list.
Exact title for the generated document. When provided, the AI uses this string verbatim as the document title (max 150 chars).
150Exact meta description for the generated document. When provided, the AI uses this string verbatim (max 250 chars).
250Goal or purpose of the content piece — guides the AI on what the article should achieve (max 500 chars).
500Desired call-to-action the content should drive (e.g. "Sign up for a free trial") (max 300 chars).
300Key points the article must cover. Each item is a short instruction for the AI writer (max 10 items).
10200Additional context or background for the writer — e.g. target audience nuances, tone guidance, competitor positioning (max 500 chars).
500