---
title: "POST /mobileauth"
method: POST
path: "/mobileauth"
tags: ["Auth"]
---

# POST /mobileauth

`POST /mobileauth`

## Request body

- UserTokenExchange
  - `token` string, nullable
  - `appleUserId` string, nullable
  - `email` string, nullable
  - `name` string, nullable
  - `appleValidation` string, nullable

## Response `200`

- User
  - `id` string, nullable
  - `_ts` string, date-time
  - `deleted` boolean
  - `userId` string, nullable
  - `origin` string, nullable
  - `type` string
  - `name` string, nullable
  - `email` string, nullable
  - `authProvider` string, nullable
  - `authProviderId` string, nullable
  - `subscriptionExpiryDate` string, date-time, nullable
  - `devices` UserDevice[]
    - `id` string, nullable
    - `_ts` string, date-time
    - `deleted` boolean
    - `userId` string, nullable
    - `origin` string, nullable
    - `type` string
    - `deviceId` string, nullable
    - `devicePlatform` string, nullable
  - `authorizations` UserAuth[]
    - `name` string, nullable
    - `token` string, nullable
    - `timestamp` string, date-time
  - `defPoolId` string, nullable
  - `hasAutomation` boolean, nullable
  - `tempToken` string, nullable
  - `purchases` PurchaseInfo[]
    - `token` string, nullable
    - `transactionDateUtc` string, date-time, nullable
    - `id` string, nullable
    - `transactionId` string, nullable
    - `originalTransactionId` string, nullable
    - `source` string, nullable
    - `productId` string, nullable
    - `state` 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7
    - `sentToRevenueCat` boolean
  - `stripePurchases` StripeReceipt[]
    - `clientReferenceId` string, nullable
    - `subscriptionId` string, nullable
    - `paymentStatus` string, nullable
    - `customerId` string, nullable
    - `invoiceId` string, nullable
    - `sessionId` string, nullable
    - `periodStartDate` string, date-time, nullable
    - `periodEndDate` string, date-time, nullable
  - `accountDeleteRequestCode` string, nullable

---

[API](https://skmtc.dev/poolmathapp/apis/my-title.md) · [All operations](https://skmtc.dev/poolmathapp/apis/my-title/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/poolmathapp/my-title/revisions/f50b2025f204/schema)
