Browser push
Public configuration to receive push notifications in the browser.
Public browser push configuration
GET /publico/push-web
Access: Public (no sign-in). Rate limit: up to 60 calls every 60 s per origin. Success status: 200.
Response
| Field | Type | Required | Constraints | Description |
|---|---|---|---|---|
apiKey | string | yes | ||
appId | string | yes | ||
projectId | string | yes | ||
messagingSenderId | string | yes | ||
vapidKey | string | no | Public VAPID key, if the project uses its own; without it the SDK uses Firebase's default. |
On error: ErroApi model.
Example
bash
curl -X GET "$API/publico/push-web"