User

Register the device's APNs token for the signed-in account. Idempotent per token: registering again refreshes it, and a token last registered by another account moves to this one.

post/api/protected/user/push/register

Request

  • Base URL: https://idkrx.com
  • URL: https://idkrx.com/api/protected/user/push/register
  • Auth: API key in cookie authjs.session-token

Request body

tokenstring required
platform'ios' required
environment'sandbox' | 'production' required
bundleId'io.idkrx.app' | 'io.idkrx.app.dev' required
appVersionstring required
locale'en' | 'es' required

Response

Token registered

oktrue required
environment'sandbox' | 'production' required

Changes

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