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

# Authentication

> Authenticate with a secret key

Pass `Authorization: Bearer <secret_key>`. Business and mode come from the key.

| Prefix      | Mode |
| ----------- | ---- |
| `sk_test_…` | Test |
| `sk_live_…` | Live |

```bash theme={"theme":{"light":"min-light","dark":"poimandres"}}
curl https://api.puplar.com/customers \
  -H "Authorization: Bearer sk_test_your_key"
```

Missing/invalid key → `401`. IP not on the key’s whitelist → `403`. Do not put secret keys in browsers or repos.
