---
title: "Apple Auth"
method: POST
path: "/api/auth/apple"
tags: ["Auth"]
---

# Apple Auth

`POST /api/auth/apple`

## Request

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

Authenticate with Apple Sign In.

## Request body

- AppleAuthRequest
  - `identity_token` string, required
  - `full_name` string, nullable
  - `ref` string, nullable

## Response `200`

Successful Response

- TokenResponse
  - `access_token` string, required
  - `refresh_token` string, required
  - `token_type` string
  - `is_new_user` boolean

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-19** `4a2c41907105`: 1 info
  - added the new optional request property `ref`

[Operation history](https://skmtc.dev/earmarkiq/apis/earmark-api/changes/api/auth/apple/post.md)

---

[API](https://skmtc.dev/earmarkiq/apis/earmark-api.md) · [All operations](https://skmtc.dev/earmarkiq/apis/earmark-api/llms.txt) · [OpenAPI document](https://skmtc.dev/earmarkiq/apis/earmark-api/revisions/4a2c41907105?raw)
