---
title: "Create Or Verify User Social"
method: POST
path: "/system_users/social"
tags: ["users"]
---

# Create Or Verify User Social

`POST /system_users/social`

Create a user using a social login provider.

All social users are created with `email_is_verified=True`, don't need to be invited and are by default read-only
(unless they are the first user, in which case they are set to admin).

## Query parameters

- `signup_token` string, nullable

## Request body

- SocialLoginRequest
  - `id_token` string, nullable
  - `access_token` string, nullable
  - `provider` 'google' | 'github' | 'okta' | 'azure-ad' | 'custom' | 'saml', required

## Response `200`

Successful Response

- SystemUserDB
  - `id` string, uuid4, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required
  - `email` string, required
  - `first_name` string, nullable
  - `last_name` string, nullable
  - `email_is_verified` boolean, nullable
  - `status` 'requested' | 'invited' | 'enabled' | 'disabled', required
  - `account_type` 'human' | 'service' | 'token', required
  - `role` 'system_admin' | 'system_user', required
  - `auth_method` string, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/galileo/apis/galileo-api-server.md) · [All operations](https://skmtc.net/galileo/apis/galileo-api-server/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/galileo/galileo-api-server/revisions/933e8c8e6366/schema)
