# Authentication

> How to authenticate LocalPipe API requests with the x-api-key header, with a working curl example.
>
> Part of the LocalPipe API reference: https://www.localpipe.io/docs/authentication (full reference in one file: https://www.localpipe.io/localpipe-api-docs.md, categories CSV: https://www.localpipe.io/localpipe-business-categories.csv)

## Authentication

All API requests require an API key passed in the `x-api-key` header.

```bash
curl -X POST https://uunrlffonnvmbsstkpze.supabase.co/functions/v1/enrich \
  -H "Content-Type: application/json" \
  -H "x-api-key: YOUR_API_KEY" \
  -d '{"business_name": "Acme Corp", "business_website": "acme.com", "business_location": "Chicago, IL"}'
```
