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
Examples:
"2024-03-27"
Body
application/json
Response
200
application/json
Successful Response
The response is of type object
.