Auth
Login
This endpoint takes a username or email, and a password, and returns an access token, refresh token, expiry time, token type, and a sub which is used with the refresh token to get a new access token by calling the refresh endpoint.
The access token is to be used for all endpoints except for /token and /refresh.
POST
/
token
Headers
x-api-version
string
default: 2024-03-27Body
application/json
username
string
requiredThe username / email of the user
password
string
requiredResponse
200 - application/json
data
object
requiredSuccessful response payload