notifications

Register Web Push Subscription

Store (or move) this browser's PushSubscription on the authenticated user's account. Idempotent on the endpoint. Only known push-service hosts are accepted.

post/notifications/web-push/subscribe

Request

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

Request body

endpointstring required

PushSubscription.endpoint from the browser. Must be an https URL of a known push service.

expirationTimenumber nullable

Example request

{
  "endpoint": "https://fcm.googleapis.com/fcm/send/abc123"
}

Response

Web push subscription 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.