The Suble Cloud rest API operates using the HTTPS protocol and utilizes JSON for its data format. This means all requests either submitting data or requesting data is expected to use the JSON format.
For authorization it uses the Bearer Authentication standard to implement JWT and a custom implementation for API tokens. For more information, see below
Project Key (Token)
User Token (JWT)
Project keys are generated and linked to a project, this means the key is locked to only work inside the project and cannot generate more project keys or new projects on the user's behalf. To authorize requests to Suble Cloud API, add "apikey" as prefix to the autorization header. Example:
User tokens are generated when a user logins to the Stacket Group Platform, they are used by the dashboard to communicate with our rest api. The user token can therefore be used for billing, creating project and everything a project key can do.
All requests are logged, therefore the user token will be authenticating on your behalf.