---
title: "Post Sdk Login Start"
method: POST
path: "/api/auth/sdk/login/start"
tags: ["auth"]
---

# Post Sdk Login Start

`POST /api/auth/sdk/login/start`

## Request

- Base URL: `https://platform.verbiflow.com/api/bridge`
- URL: `https://platform.verbiflow.com/api/bridge/api/auth/sdk/login/start`
- Auth: one of:
  - HTTP bearer and API key in header `x-flage-org-id`
  - HTTP bearer and API key in header `x-flage-org-slug`

## Request body

- union
  - SdkOAuthLoginStartRequest
    - `next_path` string, nullable
    - `provider` 'google' | 'microsoft', required: OAuth provider used to claim the browser session.
    - `target_email` unknown
    - `workspace_domain` string, nullable
    - `workspace_name` string, nullable
  - SdkMagicLinkLoginStartRequest
    - `next_path` string, nullable
    - `provider` 'magic_link', required
    - `target_email` string, required: Email address that receives the private magic-link claim URL.
    - `workspace_domain` string, nullable
    - `workspace_name` string, nullable

## Response `200`

Successful Response

- SdkLoginStartResponse
  - `claim_token` string, required: Private claim token polled by the SDK login flow.
  - `expires_at` string, date-time, required: UTC time when the claim token expires.

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/verbiflow/apis/verbiflow-sdk-http-contract.md) - [All operations](https://skmtc.dev/verbiflow/apis/verbiflow-sdk-http-contract/llms.txt) - [OpenAPI document](https://skmtc.dev/verbiflow/apis/verbiflow-sdk-http-contract/revisions/c80e903ef8f3?raw)
