---
updatedAt: 2025-11-13T23:41:07.000Z
agentTools:
  projectIndex: https://docs.datanomik.com/llms.txt
---

# 🔐 Authentication

Datanomik uses Basic Authentication to authenticate every request. Basic Authentication is a method for an HTTP user agent (e.g., a web browser) or another client to provide a username and password when making a request.

Datanomik uses API Keys to authenticate requests, this key can be generated using Datanomik's Dashboard, and the mapping with Basic Authentication is **secretId** as *username* and **secretPassword** as *password*.

```curl Authentication Example
curl --request GET \
     --url https://api.datanomik.com/v1/links \
     --header 'Accept: application/json' \
     --header 'Authorization: Basic c2VjcmV0SWQ6c2VjcmV0UGFzc3dyb2Q='
```

Every API endpoint expects every request to be authenticated with a **secretId:secretPassword** through the Authorization header:

```curl Authentication Header
Authorization: Base64($secretId:$secretPassword)
```

<HTMLBlock>{`
<blockquote class="callout callout_error">
  <h3 class="callout-heading false">
    <p>Security Recommendations</p>
  </h3>
  <p>Every API request needs to go through HTTPS.</p>
  <p>Never post your API Keys on public places, such as GitHub, or  code that's running on the client side. This can compromise your account security.</p>
</blockquote>
`}</HTMLBlock>