users

Get web push notification settings for a user

Returns web push notification settings for a user in a JSON object.

get/user/{userId}/pushSubscription/{endpoint}

Request

  • Base URL: http://localhost:5055/api/v1
  • URL: http://localhost:5055/api/v1/user/{userId}/pushSubscription/{endpoint}
  • Auth: one of:
    • API key in cookie connect.sid
    • API key in header X-Api-Key

Path parameters

userIdnumber required
endpointstring required

Response

User web push notification settings in JSON

endpointstring
p256dhstring
authstring
userAgentstring

Changes

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