Set Document Format and Language
Use format to control the returned artifact and language to control the writing language.
curl -X POST "https://api.autocontentapi.com/content/Create" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"outputType": "briefing_doc",
"topic": "State of AI procurement in healthcare",
"text": "Keep it suitable for hospital executives and procurement teams.",
"format": "html",
"language": "español"
}'Format Behavior
pdf: returnsbriefing_doc_urlanddocument_urlwhen completehtml: returns HTML indocument_contenttext: returns plain text indocument_content
Tips
Choose
pdffor handoffs and direct downloads.Choose
htmlwhen you plan to render the result in a browser or CMS.Choose
textwhen you want the cleanest format for downstream automation.languageapplies to the generated briefing content, not just the title.
Try it in code
Last updated