The Min Strøm API uses Bearer authentication.

Prerequisites

  1. API key
  2. API secret

Get access

Click here to get in contact to obtain API key and secret.

Generate Bearer token

1

Create hash

Create an HMAC-SHA256 hash of the API key with API secret as key

2

Concatenate

Concatenate your API key with the hashed value with a :

API_KEY:HASHED_VALUE
3

Base64 encode

Create a Base64 encoded string of the above concatenation

Include this as Bearer token in the HTTP header:

"Authorization": "Bearer <token>"