notifications

Register Push Token

Register (or move) an Expo push token to the authenticated user's account. Idempotent: re-registering the same token MOVES it rather than creating a duplicate.

post/notifications/push-token

Request

  • Base URL: https://api.aiapplyd.com/api/v1
  • URL: https://api.aiapplyd.com/api/v1/notifications/push-token
  • Auth: HTTP bearer

Request body

channelsVersioninteger

Notification channel set the app build creates

platform'ios' | 'android' | 'web' | 'unknown'

Operating system of the device holding the push token

tokenstring required

Expo push token issued by getExpoPushTokenAsync()

Example request

{
  "channelsVersion": 1,
  "platform": "ios",
  "token": "ExponentPushToken[xxxxxxxxxxxxxxxxxxxxxx]"
}

Response

Push token registered

successtrue required

Example response

{
  "meta": {
    "duration": 150,
    "requestId": "req_abc123",
    "timestamp": "2026-10-13T10:27:20.268Z",
    "version": "v1"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.