Skip to content

Get VAPID public key

GET
/api/push/vapid-public-key
curl --request GET \
--url http://localhost:3001/api/push/vapid-public-key

Get the VAPID public key needed for push subscription

OK

Media typeapplication/json
object
key
additional properties
string
Examplegenerated
{
"additionalProperty": "example"
}

Service Unavailable

Media typeapplication/json
object
error
string
success
boolean
Examplegenerated
{
"error": "example",
"success": true
}