# Authentication

IVPAY API requires an **API key** to authenticate all requests. This key must be passed via the header for every request.

To get your API Key follow [these](https://app.gitbook.com/o/ax8rTfKH5p9uuWRPSUme/s/cBVhxOcdrPvxpPKgzK4h/~/changes/12/docs/get-started/obtaining-api-keys) instructions.

## API Key Header

* **X-API-KEY**: `your_api_key_here` (Required)

## Headers

| Name         | Value               |
| ------------ | ------------------- |
| Content-Type | `application/json`  |
| X-API-KEY    | `your_api_key_here` |

## Notes

* Keep the API key secure and avoid sharing it publicly.
* All requests without valid authentication will receive a **401 Unauthorized** response.
