Skip to main content
POST
/
users
/
create
/
google
Create account with Google OAuth
curl --request POST \
  --url https://auth.platform.arb.inc/users/create/google \
  --header 'Content-Type: application/json' \
  --data '
{
  "idToken": "eyJhbGciOiJSUzI1NiIsImtpZCI6IjJkOWE...",
  "firstName": "John",
  "termsOfService": "2025-08-15T10:30:00.000Z",
  "lastName": "Doe"
}
'

Body

application/json
idToken
string
required

Google OAuth ID token (1-2000 characters)

Example:

"eyJhbGciOiJSUzI1NiIsImtpZCI6IjJkOWE..."

firstName
string
required

User's first name (1-100 characters)

Example:

"John"

termsOfService
string<date-time>
required

ISO 8601 timestamp when user accepted terms of service

Example:

"2025-08-15T10:30:00.000Z"

lastName
string | null

User's last name (1-100 characters, optional)

Example:

"Doe"

Response

Account successfully created