Skip to content
Navigation

Log in

POST
/auth/login

Start a console session using an email address and password.

Request body JSON required

  • email
    string
    required
    format: email
  • password
    string
    required
    format: password · minLength: 15

Returns

200

New session cookie and account scope

JSON
  • user
    object
    required
    • id
      string
      required
    • email
      string
      required
      format: email
  • workspace
    object
    required
    • id
      string
      required
    • name
      string
      required
      maxLength: 80 · minLength: 1
  • project
    object
    required
    • id
      string
      required
    • name
      string
      required
      maxLength: 80 · minLength: 1
  • environment
    production
    or
    development
    required

400

Invalid input
JSON
  • error
    string
    required

401

Invalid credentials
JSON
  • error
    string
    required

429

Too many attempts
JSON
  • error
    string
    required

Type to search…

↑↓ navigate↵ selectEsc close