---
title: "Sign in with Apple redirect target"
method: POST
path: "/v1/auth/apple/callback"
tags: ["auth"]
---

# Sign in with Apple redirect target

`POST /v1/auth/apple/callback`

## Request

- Base URL: `https://api.smartloop.ai`
- URL: `https://api.smartloop.ai/v1/auth/apple/callback`
- Auth: none declared

Apple posts here (form_post). Answers with a page that hands the tokens to the web app, or to Studio when the state carries a desktop port.

## Request body `application/x-www-form-urlencoded`

- object
  - `code` string, required
  - `id_token` string
  - `state` string
  - `user` string

## Response `200`

Hand-off page

## Other responses

- `422`: Validation error

---

[API](https://skmtc.dev/smartloop/apis/smartloop-platform-api.md) - [All operations](https://skmtc.dev/smartloop/apis/smartloop-platform-api/llms.txt) - [OpenAPI document](https://skmtc.dev/smartloop/apis/smartloop-platform-api/revisions/17a787eabbe8?raw)
