Skip to content

Send a test Web Push notification​

POST
/api/push/test

Sends a test notification to the user's Web Push subscriptions only.

Authorizations​

bearerAuth

API token created via POST /api/tokens or the db:create-token CLI command

Type
HTTP (bearer)

Responses​

Whether it was sent

application/json
JSON
{
"data": {
"sent": true,
"reason": "VAPID keys not configured"
}
}

Samples​

Powered by VitePress OpenAPI