# Create a Quiz from a Website

Feed a URL into the quiz generator to turn a report into knowledge checks.

```bash
curl -X POST "https://api.autocontentapi.com/content/Create" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "outputType": "quiz",
    "resources": [
      { "type": "website", "content": "https://example.com/2024-market-report" }
    ],
    "text": "Focus on the headline stats and include 2 scenario questions.",
    "quizDifficulty": "easy"
  }'
```

**Tips**

* Pair a `website` resource with a short `text` brief to spotlight specific angles.
* Use `easy` for onboarding quizzes and `hard` for certification-style checks.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.autocontentapi.com/quick-start/quizzes/from-website.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
