---
title: "Apple authentication"
method: POST
path: "/api/v1/appleauth"
tags: ["OAuth"]
---

# Apple authentication

`POST /api/v1/appleauth`

## Request

- Base URL: `https://stackby.com`
- URL: `https://stackby.com/api/v1/appleauth`
- Auth: none declared

Apple OAuth authentication

## Request body

- object
  - `identityToken` string
  - `authorizationCode` string
  - `user` object

## Response `200`

Apple authentication successful

- object
  - `success` boolean
  - `message` string
  - `data` object
    - `token` string
    - `user` User
      - `id` integer
      - `email` string, email
      - `firstName` string
      - `lastName` string
      - `name` string
      - `companyName` string
      - `timezone` string
      - `createdAt` string, date-time
      - `updatedAt` string, date-time
  - `timestamp` string, date-time

---

[API](https://skmtc.dev/stackby/apis/stackby-api-complete-documentation.md) - [All operations](https://skmtc.dev/stackby/apis/stackby-api-complete-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/stackby/apis/stackby-api-complete-documentation/revisions/c9909a003a56?raw)
