Notifications

Save Push Token

Save the device push notification token.

Tokens are exclusive per device: if any other user rows currently hold this token (e.g. a shared test device), they are cleared first so the cron loop does not fan out duplicate notifications to the same phone.

post/api/users/{user_id}/push-token

Request

  • Base URL: https://api.earmarkiq.app (the document declares no server; this is the origin it was published from)
  • URL: https://api.earmarkiq.app/api/users/{user_id}/push-token
  • Auth: HTTP bearer

Path parameters

user_idstring uuid required

Request body

push_tokenstring required

Response

Successful Response

successboolean required

Changes

No recorded changes to this operation across all 2 revisions of this API.