Skip to content
Sign in Create account

Consumer password login

POST /api/v1/consumer-auth/password/login

Public builder-facing login. Password length is unconstrained (existing short passwords keep working); only signup/reset enforce minLength 12.

This operation needs no authentication.

Request body

application/json object

  • email string (email) required
  • password string required

Generated sample

{
  "email": "user@example.com",
  "password": "string"
}

Responses

200 Login successful

application/json object

Generated sample

{
  "api_key": "string",
  "token": "string",
  "user": {
    "anonymous_balance_used": true,
    "balance_cents": 0,
    "balance_dollars": 0,
    "created_at": "2026-01-01T00:00:00Z",
    "email": "user@example.com",
    "email_verified": true,
    "id": 0,
    "is_low_balance": true,
    "name": "string",
    "organisation_id": 0,
    "balance_micros": 0
  }
}
401 invalid_credentials

application/json GenericError

  • error any

    One of

    • string
    • object

      Any keys are accepted.

  • error_code string
  • code string
  • message string
  • detail string
  • status any

    One of

    • string
    • integer
  • errors object

    Any keys are accepted.

422 Error response.

application/json GenericError

  • error any

    One of

    • string
    • object

      Any keys are accepted.

  • error_code string
  • code string
  • message string
  • detail string
  • status any

    One of

    • string
    • integer
  • errors object

    Any keys are accepted.

429 Error response.

application/json GenericError

  • error any

    One of

    • string
    • object

      Any keys are accepted.

  • error_code string
  • code string
  • message string
  • detail string
  • status any

    One of

    • string
    • integer
  • errors object

    Any keys are accepted.

text/html string

503 consumer_auth_disabled

application/json GenericError

  • error any

    One of

    • string
    • object

      Any keys are accepted.

  • error_code string
  • code string
  • message string
  • detail string
  • status any

    One of

    • string
    • integer
  • errors object

    Any keys are accepted.