Notifications

Create user webpush subscription

Changed on
post/api/v2/users/{user}/webpush/subscription

Request

  • Base URL
    / (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/v2/users/{user}/webpush/subscription
  • Auth
    API key in header Coder-Session-Token

Path parameters

userstring required

User ID, name, or me

Request body

auth_keystring
endpointstring
p256dh_keystring

Response

No Content

Changes