Skip to content
Sign in Create account

Consumer password signup

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

Public builder-facing signup. Creates an unverified account, emails a verification link, and returns a bearer token. Password must be at least 12 characters long. /api/v1/* relay stays gated until email is verified. Optional app_id attributes trial credit on verify.

This operation needs no authentication.

Request body

application/json object

  • app_id string
    Length: at most 64 characters
  • email string (email) required
  • name string
  • password string (password) required
    Length: at least 12 characters

Generated sample

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

Responses

201 Account created; verification email sent

application/json object

  • api_key string or null
  • email_verified boolean
  • message string
  • token string
  • user ConsumerUserResource

Generated sample

{
  "api_key": "string",
  "email_verified": true,
  "message": "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
  }
}
403 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.

409 email_taken

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 Validation error

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.