For the complete documentation index, see llms.txt. This page is also available as Markdown.

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: returns briefing_doc_url and document_url when complete

  • html: returns HTML in document_content

  • text: returns plain text in document_content

Tips

  • Choose pdf for handoffs and direct downloads.

  • Choose html when you plan to render the result in a browser or CMS.

  • Choose text when you want the cleanest format for downstream automation.

  • language applies to the generated briefing content, not just the title.

Try it in code

Last updated