GuideLab API

Get VAPID public key

Returns the VAPID public key needed to subscribe to push notifications. Requires user authentication but no specific organization context.

GET
/push-subscriptions/vapid-key

Returns the VAPID public key needed to subscribe to push notifications. Requires user authentication but no specific organization context.

Authorization

__Secure-guidelab-prod.session_token<token>

Production session cookie set for the guidelab.co domain by Better Auth

In: cookie

Response Body

application/json

curl -X GET "https://example.com/push-subscriptions/vapid-key"
{  "publicKey": "string"}
Empty
Empty