Skip to content

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

PushWebConfig

FieldTypeRequiredConstraintsDescription
apiKeystringyes
appIdstringyes
projectIdstringyes
messagingSenderIdstringyes
vapidKeystringnoPublic 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"

contato@presente.app.br