The Superwise Knowledge Hub

Welcome to the Superwise knowledge hub. You'll find comprehensive guides and documentation to help you start working with Superwise as quickly as possible, as well as support if you get stuck or understand how to use the product better. Let's jump right in!

Get Started    

REST API Usage

How can you start consuming Superwise APIs?

All Superwise APIs are protected and secured using Bearer Token Authentication.
To start consuming our APIs, first create a Bearer Token.
The Bearer Token lets us know who is trying to retrieve our APIs and whether they have permission to consume them.
In terms of security, each token is valid for 24 hours.

There are 2 ways to generate a Bearer Token:

Via the Application
Via an API

Generating a Bearer Token using the UI

Coming soon…

Generating a Bearer Token using an API

To generate a token using an API, just send a POST request to the Superwise authentication endpoint and include your client_id and secret in the body.
Learn more about creating client_id and secret.

curl --location --request POST 'https://auth.superwise.ai/identity/resources/auth/v1/api-token' \
--header 'Content-Type: application/json' \
--data-raw '{
    "clientId": <Contact us for details>
    "secret": <Contact us for details>
}'

The response will be in the following format:

{
    "mfaRequired": boolean
    "accessToken": "<superwise Bearer Token>",
    "refreshToken": "<superwise Refresh Token>",
    "expiresIn": number,
    "expires": "Date"
}

The “accessToken” is the Bearer Token you should use in all of your API requests.

Now you can go check out our API reference page and start consuming APIs using the Bearer Token you just created.

Updated about a month ago

REST API Usage


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.