Authentication

Generating a Token

In order to access smash.gg’s API, you must use an authentication token. These tokens can be created from the Developer Settings page in your account settings. If you do not have permission to create tokens, please join our Discord server AND fill out this form. We'll give you access within 4-5 business days.

First, click "Create new token"

image

Next, enter a description for your token. Please be descriptive with this!

image2

Click 'Save' to finish creating the token.

image3

Copy it down immediately- you will not be able to view it again!

Using the Token

The token must be sent in any API request to our servers by setting the Authorization header as follows: (replace [token] with your token)

Authorization: Bearer [token]

You will also need a token for making requests in the API Explorer

image4