POST
/
v2
/
system_users
/
social
Create Or Verify User Social
curl --request POST \
  --url https://api.galileo.ai/v2/system_users/social \
  --header 'Content-Type: application/json' \
  --data '{
  "id_token": "token1234",
  "provider": "google"
}'
{
  "id": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "email": "<string>",
  "first_name": "<string>",
  "last_name": "<string>",
  "email_is_verified": true,
  "role": "system_admin",
  "auth_method": "<string>"
}

Query Parameters

signup_token
string | null

Body

application/json
id_token
string
required
provider
enum<string>
required
Available options:
google,
github,
okta,
azure-ad,
custom

Response

Successful Response

id
string<uuid4>
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
email
string
required
role
enum<string>
required
Available options:
system_admin,
system_user
auth_method
string
required
first_name
string | null
last_name
string | null
email_is_verified
boolean | null