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

# Authentication

To interact with the Salesbricks API, include the `X-SALESBRICKS-KEY` attribute in your request headers. The value for this attribute should be your unique **Public API Token**.

Obtain your Public API Token conveniently under **Settings** -> **Integrations** -> **Public API**.

<Card title="Take me there" icon="rocket-launch" href="https://app.salesbricks.com/admin/settings/integrations/public-api">
  [https://app.salesbricks.com/admin/settings/integrations/public-api](https://app.salesbricks.com/admin/settings/integrations/public-api)
</Card>

## Endpoint URLs

Our API is structured with two distinct endpoints:

### GraphQL API Endpoint

`https://api.salesbricks.com/api/v1/graphql`

### Usage API Endpoint

`https://api.salesbricks.com/api/v2/usage`

In most scenarios, you will primarily interact with the **GraphQL API Endpoint**.
