Skip to content

Authenticate user

POST
/api/v1/auth/login

Authenticates a user with email or username and password

object
email
string format: email
username
string
password
required
string

User authenticated with auth token

object
id
required

User ID (15 chars)

string
username
required

Username (3+ chars, alphanumeric with dots)

string
email
required

User email address

string format: email
avatar

Avatar file path

string
verified

Email verification status

boolean
created
string format: date-time
updated
string format: date-time

Bad Request - Invalid credentials

Internal Server Error