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

# Create account with Google OAuth

> Creates a new user account using Google OAuth credentials. The Google ID token is validated and the email is automatically verified.



## OpenAPI

````yaml api-reference/auth.yaml post /users/create/google
openapi: 3.0.3
info:
  title: auth
  description: >-
    The Auth Service is the single source of truth for all accounts and their
    permissions, managing authentication and access control across the platform.
    It maintains efficiency at scale by issuing access tokens to accounts when
    they log into the platform and providing public keys for other services to
    verify them.
  version: 1.0.0
servers:
  - url: https://auth.platform.arb.inc
security: []
tags:
  - name: /
  - name: authenticate
  - name: internal
  - name: organizations
  - name: sessions
  - name: users
paths:
  /users/create/google:
    post:
      tags:
        - users
      summary: Create account with Google OAuth
      description: >-
        Creates a new user account using Google OAuth credentials. The Google ID
        token is validated and the email is automatically verified.
      operationId: createUserGoogle
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - idToken
                - firstName
                - termsOfService
              properties:
                idToken:
                  type: string
                  description: Google OAuth ID token (1-2000 characters)
                  example: eyJhbGciOiJSUzI1NiIsImtpZCI6IjJkOWE...
                firstName:
                  type: string
                  description: User's first name (1-100 characters)
                  example: John
                lastName:
                  type: string
                  nullable: true
                  description: User's last name (1-100 characters, optional)
                  example: Doe
                termsOfService:
                  type: string
                  format: date-time
                  description: ISO 8601 timestamp when user accepted terms of service
                  example: '2025-08-15T10:30:00.000Z'
      responses:
        '200':
          description: Account successfully created
        '409':
          description: Account already exists

````