> 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/quizzes/brand-with-project-id.md).

# Apply Brand Settings with projectId

Use the `projects` array (one or more project IDs) to apply stored brand settings to quiz outputs. Add it to `/content/Create` with `outputType: "quiz"`.

```bash
curl -X POST "https://api.autocontentapi.com/content/Create" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "outputType": "quiz",
    "projects": ["YOUR_PROJECT_ID"],
    "topic": "Customer success onboarding playbook",
    "text": "Focus on product milestones and include 1 trick question.",
    "quizDifficulty": "medium"
  }'
```

**What `projects` does**

* Pulls your saved brand package to attach consistent metadata to the quiz request.
* Works with any input type (topic, website, text) and all difficulty settings.

Poll `/content/Status/{id}` to fetch the quiz JSON when it completes.

## Try it in code

* [C#](/code-samples/quizzes/csharp/brand-with-project-id.md)
* [Node.js](/code-samples/quizzes/nodejs/brand-with-project-id.md)
* [Java](/code-samples/quizzes/java/brand-with-project-id.md)
* [PHP](/code-samples/quizzes/php/brand-with-project-id.md)
* [Python](/code-samples/quizzes/python/brand-with-project-id.md)
