Authentication
You'll need to authenticate your requests to access any of the endpoints in the High Systems API. In this guide, we'll look at how authentication works.
Bearer Token
With any request to the High Systems API, to add authentication, you must provide a User Token as an Authorization Bearer Token.
Authorization
curl https://instance.highsystems.io/api/rest/v1/ \
-H "Authorization: Bearer {token}"
Using the API from a High Systems Page
When making an API call from a page within High Systems, the request will assume the currently logged in users session.
There is no need for, and we highly recommend against, specifying a userToken
when working withing a High Systems Page.
Client-Side Usage
import { HighSystems } from '@highsystems/client'
const api = new HighSystems({
instance: 'instance'
});
Getting a User Token
To get a user token, log into your High Systems instance, go to your User Profile, scroll down to the Tokens section and click "Add Token".
Always keep your tokens safe and reset them if you suspect any have been compromised.