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

# Register

> Create a new user account with the given email and password, provision their first workspace, owner membership, and default API key, then send a verification email.



## OpenAPI

````yaml /openapi.json post /api/v1/auth/register
openapi: 3.1.0
info:
  description: Change Impact Engine for multi-repo systems
  title: Riftmap
  version: 1.12.3
servers: []
security: []
paths:
  /api/v1/auth/register:
    post:
      tags:
        - auth
      summary: Register
      description: >-
        Create a new user account with the given email and password, provision
        their first workspace, owner membership, and default API key, then send
        a verification email.
      operationId: register_api_v1_auth_register_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RegisterBody'
        required: true
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MeResponse'
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
components:
  schemas:
    RegisterBody:
      properties:
        attribution:
          anyOf:
            - $ref: '#/components/schemas/SignupAttribution'
            - type: 'null'
        email:
          format: email
          title: Email
          type: string
        full_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Full Name
        password:
          title: Password
          type: string
        tos_accepted:
          title: Tos Accepted
          type: boolean
        workspace_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Workspace Name
      required:
        - email
        - password
        - tos_accepted
      title: RegisterBody
      type: object
    MeResponse:
      properties:
        avatar_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Avatar Url
        current_tos_version:
          default: '2026-06-01'
          title: Current Tos Version
          type: string
        current_workspace_id:
          anyOf:
            - format: uuid
              type: string
            - type: 'null'
          title: Current Workspace Id
        deletion_scheduled_at:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          title: Deletion Scheduled At
        email:
          title: Email
          type: string
        email_verified:
          default: false
          title: Email Verified
          type: boolean
        full_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Full Name
        has_password:
          default: false
          title: Has Password
          type: boolean
        id:
          format: uuid
          title: Id
          type: string
        last_login_at:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          title: Last Login At
        linked_providers:
          default: []
          items:
            type: string
          title: Linked Providers
          type: array
        onboarding_completed:
          default: false
          title: Onboarding Completed
          type: boolean
        role:
          anyOf:
            - type: string
            - type: 'null'
          title: Role
        tos_accepted_at:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          title: Tos Accepted At
        tos_enforcement_date:
          default: '2026-06-15'
          title: Tos Enforcement Date
          type: string
        tos_version:
          anyOf:
            - type: string
            - type: 'null'
          title: Tos Version
        workspaces:
          items:
            additionalProperties: true
            type: object
          title: Workspaces
          type: array
      required:
        - id
        - email
        - full_name
        - avatar_url
        - last_login_at
        - workspaces
        - current_workspace_id
        - role
      title: MeResponse
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    SignupAttribution:
      description: >-
        First-touch acquisition, forwarded by the client from the landing URL.


        A strict whitelist — Pydantic ignores unknown keys by default, so the
        client

        can't inject arbitrary person properties via the $set_once below.
      properties:
        referrer:
          anyOf:
            - type: string
            - type: 'null'
          title: Referrer
        utm_campaign:
          anyOf:
            - type: string
            - type: 'null'
          title: Utm Campaign
        utm_content:
          anyOf:
            - type: string
            - type: 'null'
          title: Utm Content
        utm_medium:
          anyOf:
            - type: string
            - type: 'null'
          title: Utm Medium
        utm_source:
          anyOf:
            - type: string
            - type: 'null'
          title: Utm Source
        utm_term:
          anyOf:
            - type: string
            - type: 'null'
          title: Utm Term
      title: SignupAttribution
      type: object
    ValidationError:
      properties:
        ctx:
          title: Context
          type: object
        input:
          title: Input
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
      type: object

````