---
title: "Login With Apple"
method: POST
path: "/auth/oauth/apple"
tags: ["auth", "auth"]
---

# Login With Apple

`POST /auth/oauth/apple`

## Request

- Base URL: `https://api.dialogbrain.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.dialogbrain.com/auth/oauth/apple`
- Auth: none declared

## Request body

- AppleSignInRequest
  - `identity_token` string, required
  - `name` string, nullable
  - `nonce` string, nullable

## Response `200`

Successful Response

- union
  - LoginResponse
    - `accessToken` string, required
    - `refreshToken` string, required
    - `token_type` string
    - `expires_in` integer, required
    - `user` object, required
  - TwoFARequiredResponse
    - `status` string
    - `user_id` integer, required
    - `email` string, required
    - `message` string
    - `expires_in` integer
    - `method` string

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway.md) · [All operations](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway/llms.txt) · [OpenAPI document](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway/revisions/77bef09a9209?raw)
