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 --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:

Authorization: Base64($secretId:$secretPassword)

Security Recommendations

Every API request needs to go through HTTPS.

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.