Push Notifications

Register or update push notification token

Register or update a push notification token for the current user.

  • device_id: Unique device identifier (can be generated by app)
  • push_token: Expo push notification token
  • platform: Device platform (ios or android)
  • app_version: Optional app version
  • device_info: Optional additional device metadata
post/push-notifications/register-token

Request body

device_idstring required

Unique device identifier

push_tokenstring required

Expo push notification token

platform'ios' | 'android' required
app_versionstring nullable

App version

device_infoobject nullable

Additional device metadata

clerk_session_idstring nullable

Clerk session ID

Response

Successful Response

{"stackTrail":"paths:/push-notifications/register-token:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

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