---
title: "Preview social completion"
method: POST
path: "/api/auth/social/preview"
tags: ["Auth"]
---

# Preview social completion

`POST /api/auth/social/preview`

## Request

- Base URL: `https://demo.hitkeep.com`
- URL: `https://demo.hitkeep.com/api/auth/social/preview`
- Auth: none declared

Returns safe provider and observed-email metadata for a still-valid completion token. Provider subjects are never returned.

## Request body

- SocialCompleteRequest
  - `completion_token` string, required
  - `email` string, email: HitKeep target email required for a first unauthenticated Microsoft link.

## Response `200`

Social completion preview

- SocialPreviewResponse
  - `display_name` string, required
  - `email_confirmation_required` boolean, required: Whether this completion requires the user to confirm a HitKeep email before continuing.
  - `email_verified` boolean, required
  - `flow` 'login' | 'signup' | 'invite', required
  - `observed_email` string, email
  - `provider` 'google' | 'github' | 'microsoft', required

## Other responses

- `409`: Completion token invalid, expired, or already consumed

---

[API](https://skmtc.dev/hitkeep/apis/hitkeep-rest-api.md) · [All operations](https://skmtc.dev/hitkeep/apis/hitkeep-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/hitkeep/apis/hitkeep-rest-api/revisions/bb2df36ab2a4?raw)
