# API Authentication

## API Key

* TAGGER API is a REST API based on an HTTP Protocol, which requires an Authentication Key to use.
* Authentication Key can be retrieved by clicking on **Email** -> **Account Info** on the top right corner from OMNIOUS STUDIO.

![](https://669000487-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MhpVpDhKLV5QI-p1lmY%2Fuploads%2Fgit-blob-fb684dca95b0a4f5a39ec8d6ffdc10691b04d9a7%2Fimage%20\(4\).png?alt=media)

## How to Use

* Make a request to the API by adding the key to the Header of HTTP Request as **x-api-key** as shown below.

**Example. cURL x-api-key Header**

```javascript
curl --location --request POST '<ENDPOINT URL>' \
--header 'x-api-key: <API KEY>' \
--header 'Content-Type: application/json' \
--data-raw '<JSON BODY>'
```

### Example.

**Python x-api-key Header**

```javascript
import requests
res = requests.post(
    '<ENDPOINT URL>', 
    json={
        'some': 'value as dict'
    }, 
    headers={
        'x-api-key': '<API KEY>'
    }
)
```
