Introduction

Authentication guide

We use standard Bearer authentication (also called token authentication).


Retrieving a token

curl -H "Accept: application/json" \
     -H "Content-type: application/json" \
     -X POST --data-binary '{"email":"[email protected]","password":"YOUR_PASSWORD"}' \
     https://api.datapult.dk/v1/auth

Using a token

curl -H "Accept: application/json" \
     -H "Content-type: application/json" \
     -H "Authorization: Bearer YOUR_TOKEN" \
     -X POST  --data-binary '{JSON_PAYLOAD}' \
     https://api.datapult.dk/v1
Previous
Getting started