> ## Documentation Index
> Fetch the complete documentation index at: https://docs.hexclave.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Sign up with email and password

> Create a new account with email and password



## OpenAPI

````yaml /openapi/client.json post /auth/password/sign-up
openapi: 3.1.0
info:
  title: Hexclave REST API
  version: 1.0.0
  description: >-
    The Hexclave REST API. All request headers are documented as canonical
    `X-Hexclave-*`; the equivalent `X-Stack-*` aliases are accepted on every
    endpoint for backwards compatibility. Response headers
    `X-Hexclave-actual-status`, `X-Hexclave-known-error`, and
    `X-Hexclave-request-id` are emitted alongside their legacy `X-Stack-*`
    equivalents.
servers:
  - url: https://api.hexclave.com/api/v1
    description: Hexclave REST API
security: []
paths:
  /auth/password/sign-up:
    post:
      tags:
        - Password
      summary: Sign up with email and password
      description: Create a new account with email and password
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                email:
                  type: string
                  example: johndoe@example.com
                  description: The email to sign in with.
                password:
                  type: string
                verification_callback_url:
                  type: string
                  example: https://example.com/handler/email-verification
                  description: >-
                    The base callback URL to construct a verification link for
                    the verification e-mail. A query parameter `code` with the
                    verification code will be appended to it. The page should
                    then make a request to the `/contact-channels/verify`
                    endpoint.
                bot_challenge_token:
                  type: string
                bot_challenge_phase:
                  type: string
                  enum:
                    - invisible
                    - visible
                bot_challenge_unavailable:
                  type: string
                  enum:
                    - 'true'
              required:
                - email
                - password
              example:
                email: johndoe@example.com
                verification_callback_url: https://example.com/handler/email-verification
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  access_token:
                    type: string
                  refresh_token:
                    type: string
                  user_id:
                    type: string
                required:
                  - access_token
                  - refresh_token
                  - user_id

````