What is Bearer Authentication?
Get an API key
Create a bearer token
bearer_token
at the login endpoint. This endpoint uses HTTP Basic Authentication. The username is your FlatPeak account_id
and the password is the api_key
.bearer_token
to make calls to any FlatPeak API endpoints until it expires. The expiry time is returned together with the token in the expires_in
field. Get a new token before the one you are using expires to avoid failed requests.