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

# API Authentication

> This page talks about how to authenticate API calls

EazyOwl APIs are designed to be called by Merchant Platform servers. Like all APIs that carry sensitive data in response, the calls need to be both encrypted (via HTTPS/SSL) as well as authenticated (using an API key).

To get an API key, use the console. Login to EazyOwl portal. Then on the left hand sidebar, click on the API Keys link.

Then create an API key (Shown as "Secret Key" on the interface; please expect this to change).

<Frame>
  <img src="https://mintcdn.com/eazyowl-51e2477c/jtxZUj3-anDh_nH6/images/EazyOwl_API_key_step1.png?fit=max&auto=format&n=jtxZUj3-anDh_nH6&q=85&s=e424de59c248147cc26f53fcec701f68" alt="Eazy Owl API Key Step1" width="2280" height="1004" data-path="images/EazyOwl_API_key_step1.png" />
</Frame>

You shall be asked to name your key. Once the key is generated, it will be shown to you. The modal box should look like below.

<img src="https://mintcdn.com/eazyowl-51e2477c/jtxZUj3-anDh_nH6/images/EazyOwl_API_key_step2.png?fit=max&auto=format&n=jtxZUj3-anDh_nH6&q=85&s=33f5933e6766f47678e40f1ce1a85187" alt="Eazy Owl API Key Step2" title="Eazy Owl API Key Step2" className="mx-auto" style={{ width:"43%" }} width="738" height="878" data-path="images/EazyOwl_API_key_step2.png" />

As the box should mention, please make sure to copy the API key and save it with you securely. You will need to use this key in the API calls.

## How to use the API Key

You have to use the API Key (obtained in the step above) in the request headers. The header name is `X-API-Key` and the value is the API Key.
