Skip to main content
POST
Login
Authenticate an existing user with their username and password. On success, a session token and user object are returned.
Use the returned token as Authorization: Bearer <token> for all subsequent API calls.

Body

application/json
username
string
required
Example:

"myuser"

password
string<password>
required
Example:

"secure-password"

Response

Authenticated

token
string
user
object