# Authentication

<figure><img src="/files/2uAgQO6fv9vcG1a7nA8x" alt="" width="375"><figcaption></figcaption></figure>

The MadKudu API uses API keys to authenticate requests. Follow [this article ](/getting-started/quickstart.md)to get your API key.

All API requests must be made over [HTTPS](http://en.wikipedia.org/wiki/HTTP_Secure). Calls made over plain HTTP will fail.&#x20;

The API Key must be passed in the `X-API-Key` header for **every requests**. API requests without authentication will also fail.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developers.madkudu.com/api/authentication.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
