# Authentication (https://docs.pulsarml.com/authentication)

How to authenticate requests against the Pulsar Public API.



Every request is authenticated with an API key, sent as the `x-api-key` header:

```bash
curl --location 'https://draco.prod.pulsarml.com/v1/machines' \
  --header 'Accept: application/json' \
  --header 'x-api-key: <YOUR_API_KEY>'
```

<Callout title="Getting an API key">
  API keys are not self-service. To get one, contact your Customer Success Manager (CSM) and they will send it to you. Production and the development sandbox each use their own key — see [Environments](/environments).
</Callout>

<Callout title="Try it in the docs">
  Every endpoint's playground has an **Authorization** field for `x-api-key` — paste your key there once and it applies to every endpoint's playground and generated code samples on this site automatically (stored in your browser only).
</Callout>
