Skip to content
Navigation

Sign up

POST
/auth/signup

Create an account with a workspace and default project. The console receives a browser session cookie. Supply inviteCode when the signup policy is invite.

Request body JSON required

  • email
    string
    required
    format: email
  • password
    string
    required
    format: password · minLength: 15
  • workspaceName
    optional
    string
    maxLength: 80 · minLength: 1
  • inviteCode
    optional
    string

    Required for invite-only staging signup.

    format: password · maxLength: 256

Returns

201

Session cookie and new workspace

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

403

Signup is closed, the access code is missing or invalid, or the request's origin is disallowed
JSON
  • error
    string
    required

409

Unable to create account
JSON
  • error
    string
    required

429

Too many attempts
JSON
  • error
    string
    required

Type to search…

↑↓ navigate↵ selectEsc close