> ## Documentation Index
> Fetch the complete documentation index at: https://docs.brew.new/llms.txt
> Use this file to discover all available pages before exploring further.

# Check Brand Readiness Before Sending

> Use GET /v1/brand to confirm the key's brand has finished extraction before generating or sending emails.

Every API key is bound to exactly one brand. `GET /v1/brand` returns that brand plus its extraction readiness. Generating (`POST /v1/emails`) or sending against a brand that's still extracting returns `422 BRAND_NOT_READY`, so check `ready` first. Requires the `emails` scope. This is a singleton. There's no list or id lookup.

## Read the Brand

<CodeGroup>
  ```bash curl theme={null}
  curl "https://brew.new/api/v1/brand" \
    -H "Authorization: Bearer $BREW_API_KEY"
  ```

  ```ts SDK theme={null}
  import { createBrewClient } from '@brew.new/sdk'

  const brew = createBrewClient({ apiKey: process.env.BREW_API_KEY! })

  const { brand } = await brew.brand.get()
  console.log(brand.brandId, brand.domain, brand.status, brand.ready)
  ```
</CodeGroup>

`brand.ready` is `true` only when `status === 'completed'`. A deleted brand returns `404 BRAND_NOT_FOUND` (re-issue the key).

## Gate Generation on Readiness

```ts theme={null}
async function ensureBrandReady() {
  const { brand } = await brew.brand.get()
  if (!brand.ready) {
    throw new Error(`Brand is ${brand.status}; wait for extraction to finish.`)
  }
}

await ensureBrandReady()
await brew.emails.generate({ prompt: 'A spring launch announcement' })
```

## See Also

* `GET /v1/brand` in the [Public API v1 reference](/api-reference/api/api-introduction) (sidebar): full schema.
* [Add your brand](/get-started/add-your-brand): how extraction works.
* [Errors](/api-reference/api/errors): `BRAND_NOT_READY`, `BRAND_NOT_FOUND`.

## Need help?

Our team is ready to support you at every step of your journey with Brew. Choose the option that works best for you:

<Tabs>
  <Tab title="Self-Service Tools">
    <CardGroup cols="2">
      <Card title="Search Documentation" icon="magnifying-glass" color="#c44925">
        Type in the "Ask any question" search bar at the top left to instantly find relevant documentation pages.
      </Card>

      <Card title="ChatGPT/Claude Integration" icon="robot" color="#c44925">
        Click "Open in ChatGPT" at the top right of any page to analyze documentation with ChatGPT or Claude for deeper insights.
      </Card>
    </CardGroup>
  </Tab>

  <Tab title="Talk to Our Team">
    <CardGroup cols="2">
      <Card title="Schedule a Call" icon="calendar" color="#c44925" href="https://calendar.google.com/calendar/u/0/appointments/schedules/AcZssZ1iYoRUG1J792XQpbuQLjSRRDupr7MwraFK-HQRCtTYdBmrQi8nZu2qXfzKQigb8gbKJK3KN3-R">
        Book time with our founders for personalized guidance on strategy, best practices, or complex implementation questions.
      </Card>

      <Card title="Call Us Directly" icon="phone" color="#c44925">
        Need immediate assistance? Reach us at **+1-(332)-203-2145** for urgent issues or time-sensitive questions.
      </Card>

      <Card title="Slack Channel" icon="slack" color="#c44925">
        Our preferred support channel. You'll receive an invite after signup for direct founder support and fast responses.
      </Card>

      <Card title="Email Support" icon="envelope" color="#c44925" href="mailto:support@brew.new">
        Contact us at **[support@brew.new](mailto:support@brew.new)** for detailed inquiries or if you prefer not to use Slack.
      </Card>
    </CardGroup>
  </Tab>
</Tabs>
