Skip to main content
POST
/
users
/
create
/
google
Create a user account using Google ID token
curl --request POST \
  --url https://auth.platform.arb.inc/users/create/google \
  --header 'Content-Type: application/json' \
  --data '
{
  "idToken": "eyJhbGciOiJSUzI1NiIsImtpZCI6...",
  "firstName": "Alice",
  "termsOfService": "2025-02-19T16:00:00Z",
  "lastName": "Johnson"
}
'
"Account successfully created"

Body

application/json
idToken
string
required

Google ID token obtained from client.

Example:

"eyJhbGciOiJSUzI1NiIsImtpZCI6..."

firstName
string
required

User's first name.

Example:

"Alice"

termsOfService
string<date-time>
required

RFC3339 timestamp when user agreed to terms.

Example:

"2025-02-19T16:00:00Z"

lastName
string | null

User's last name.

Example:

"Johnson"

Response

Account successfully created.

The response is of type string.

Example:

"Account successfully created"