401 Unauthorized. See Error handling.
Create an API token
1
Open the API token settings
Sign in to SimpleSell and go to API tokens.
2
Create a token
Create a new token and copy it.
3
Store the token securely
Store the token in a secure place, such as an environment variable or a secrets manager of your application.
Authenticate requests
Send your token as a bearer token in theAuthorization header:
Keep your token secret
Anyone with your token can access your SimpleSell account through the API. Treat it like a password:- Only use the token in server-side code. Never embed it in a website, mobile app, or other client-side code.
- Don’t commit the token to version control.
- If a token may have been exposed, delete it in your API token settings and create a new one.