> For the complete documentation index, see [llms.txt](https://docs.paylayercore.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.paylayercore.com/payment-gateway/authorization.md).

# Authorization

## Authorization

To access the API, an API key must be included in the request headers. This is required for the server to authenticate the request.

**Header Name:** x-api-key\
**Value:** The API key provided to you.

**Instructions:**

1. Locate the 'Headers' section of your API request setup.
2. You will find a field for 'Key' and 'Value' under the Headers tab.
3. Enter `x-api-key` in the 'Key' input.
4. In the 'Value' input, enter the API key that has been provided to you. This key is a unique identifier that authenticates your API requests.
5. Ensure that the checkbox next to `x-api-key` is checked to include it in the request.
6. Proceed with the API request.

{% hint style="info" %}
**Please note:** Do not share your API key publicly or with unauthorized individuals. Treat your API key as sensitive information.
{% endhint %}
