# 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)


---

# 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/brand-with-project-id.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.
