Skip to content
Navigation

Get the deployment Web Push VAPID public key

GET
/api/v1/notifications/webpush-key

Authorization

  • bearerAuth
    optional
    HTTP Bearer (API key)
    Authorization: Bearer <token>
  • cookieAuth
    optional
    API key in cookie

Returns

200

Success

JSON
  • ok
    boolean
    required
  • publicKey
    string
    required

    Base64url uncompressed P-256 VAPID public key. Public by design; never a private key.

401

Unauthorized
JSON
  • error
    string
    required
  • ok
    optional
    boolean
  • detail
    optional
    string
  • code
    optional
    string

503

Web Push is not configured
JSON
  • error
    string
    required
  • ok
    optional
    boolean
  • detail
    optional
    string
  • code
    optional
    string

Type to search…

↑↓ navigate↵ selectEsc close