Creating your account
First of all, if you don't already have a Stockpit account, you will need to create one! You can do it here. It's easy, and you can get a free trial.
Retrieve your token
Select your account's icon in the top right corner, then select Edit my profile.
At the bottom of this new page, select Generate new token.
You will then receive a bearer token. Save this token, and then you can start creating queries.
🚨 This token will be displayed to you after generating it but you won't be able to retrieve it after. It is encrypted on our side and we will not be able to retrieve it either. Make sure to properly save it after generating it. You will need to generate a new token if you loose your current token.
The endpoint
GraphQL (and therefore our API) only uses one endpoint: https://api.stockpit.app/graphql.