Skip to main content
POST
Login

Authorizations

None
string
header
required

No authentication required. This is used for public endpoints.

Body

application/json

Login credentials

password
string
required
Maximum string length: 255
userName
string
required
Maximum string length: 255
code
string

Required only for 2-factor authentication

Maximum string length: 255

Response

OK

Successful login response containing the API token and the logged-in user

expires
string<date-time>

Date and time when the API token expires

lastInvalidateAllSessionsPerformed
string<date-time>

Date and time when all sessions were last invalidated for the user

token
string

API token to authenticate subsequent requests

user
object