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

# Register



## OpenAPI

````yaml /api-reference/openapi.json post /api/auth/register
openapi: 3.1.0
info:
  title: Blindsight API
  version: 0.1.0
servers: []
security: []
paths:
  /api/auth/register:
    post:
      tags:
        - auth
      summary: Register
      operationId: register_api_auth_register_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RegisterRequest'
        required: true
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TokenResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    RegisterRequest:
      properties:
        email:
          type: string
          format: email
          title: Email
        password:
          type: string
          title: Password
        roles:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Roles
      type: object
      required:
        - email
        - password
      title: RegisterRequest
    TokenResponse:
      properties:
        access_token:
          type: string
          title: Access Token
        token_type:
          type: string
          title: Token Type
          default: bearer
        expires_in:
          type: integer
          title: Expires In
        user:
          $ref: '#/components/schemas/UserRead'
        roles:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Roles
      type: object
      required:
        - access_token
        - expires_in
        - user
      title: TokenResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    UserRead:
      properties:
        id:
          type: integer
          title: Id
        name:
          anyOf:
            - type: string
            - type: 'null'
          title: Name
        email:
          type: string
          title: Email
        is_active:
          type: boolean
          title: Is Active
        roles:
          items:
            type: string
          type: array
          title: Roles
          default: []
        mfa_enabled:
          type: boolean
          title: Mfa Enabled
          default: false
        is_platform_owner:
          type: boolean
          title: Is Platform Owner
          default: false
        organization_id:
          anyOf:
            - type: integer
            - type: 'null'
          title: Organization Id
        organization:
          anyOf:
            - $ref: '#/components/schemas/OrganizationSummary'
            - type: 'null'
        created_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Created At
        updated_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Updated At
      type: object
      required:
        - id
        - email
        - is_active
      title: UserRead
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
    OrganizationSummary:
      properties:
        id:
          type: integer
          title: Id
        uuid:
          anyOf:
            - type: string
            - type: 'null'
          title: Uuid
        name:
          type: string
          title: Name
        slug:
          type: string
          title: Slug
        license_type:
          type: string
          title: License Type
        plan_tier:
          anyOf:
            - type: string
            - type: 'null'
          title: Plan Tier
      type: object
      required:
        - id
        - name
        - slug
        - license_type
      title: OrganizationSummary
      description: Compact org info embedded in auth payloads and user lists.

````