> For the complete documentation index, see [llms.txt](https://docs.autocontentapi.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.autocontentapi.com/quick-start/documents/from-text.md).

# Create a Briefing Document from Text

Generate a structured briefing directly from written source material.

```bash
curl -X POST "https://api.autocontentapi.com/content/Create" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "outputType": "briefing_doc",
    "format": "text",
    "resources": [
      {
        "type": "text",
        "content": "Q1 board memo: revenue growth slowed to 11%, enterprise expansion remains strongest, sales cycles increased by 18 days, and churn improved by 0.7 points."
      }
    ],
    "text": "Create an executive briefing with summary, risks, and action items.",
    "language": "English"
  }'
```

**Tips**

* Use `format: "text"` when you want to feed the result into search, automation, or LLM follow-up steps.
* Keep the prompt in `text` focused on structure: summary, bullet points, recommendations, and intended audience.
* Poll `/content/Status/{id}` and read `document_content` once the request reaches `100`.

## Try it in code

* [C#](/code-samples/documents/csharp/from-text.md)
* [Node.js](/code-samples/documents/nodejs/from-text.md)
* [Java](/code-samples/documents/java/from-text.md)
* [PHP](/code-samples/documents/php/from-text.md)
* [Python](/code-samples/documents/python/from-text.md)
