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

# Authentication

To access the API, you will need an `API-KEY`. Please contact your account manager to retrieve your credentials. Make sure you use the adequate credentials.

{% hint style="warning" %}
The `Read` key gives access to endpoints finishing by `/inference`. The `Admin` gives access to all API endpoints.
{% endhint %}

Authentication is done via HTTP headers.

To check your credentials work, you can run:

{% tabs %}
{% tab title="cURL" %}

```bash
curl -s https://api.deepomatic.com/v0.7/accounts/me -H "X-API-KEY: ${DEEPOMATIC_API_KEY}"
```

{% endtab %}

{% tab title="Python" %}

```python
import os
from deepomatic.api.client import Client

client = Client(api_key=os.getenv('DEEPOMATIC_API_KEY'))

print(client.Account.retrieve('me'))
```

{% endtab %}
{% endtabs %}
