Skip to main content
The SimpleSell API uses API tokens to authenticate requests. Each request must include a valid token. Otherwise, the API returns 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.
You can create several tokens. Use a separate token for each integration, so you can delete one without affecting the others. Every token has full access to the API.

Authenticate requests

Send your token as a bearer token in the Authorization 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.