---
title: "Apple Sign In"
method: POST
path: "/api/auth/apple"
---

# Apple Sign In

`POST /api/auth/apple`

## Request

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

Authenticate via Apple Sign In identity token.

Decodes the Apple identity token (JWT), verifies the RS256 signature
against Apple's public JWKS, validates iss/aud/exp claims, then
finds or creates the user and issues a session JWT.

## Request body

- AppleAuthRequest
  - `identity_token` string, required
  - `full_name` string, nullable
  - `authorization_code` string, nullable
  - `platform` string, nullable

## Response `200`

Successful Response

- TokenResponse
  - `access_token` string, required
  - `refresh_token` string, nullable
  - `token_type` string
  - `expires_at` string, required
  - `user_id` string, required
  - `email` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/yourbeckett/apis/beckett-platform.md) · [All operations](https://skmtc.dev/yourbeckett/apis/beckett-platform/llms.txt) · [OpenAPI document](https://skmtc.dev/yourbeckett/apis/beckett-platform/revisions/a1cb8f2c8961?raw)
