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
Headers
Response
200 - application/json
Successful response payload