Skip to content

PushSubscription

The Web Push subscription of a grant.

object
id
required

The ID of a resource, a UUIDv7 in its canonical string form.

string format: uuid
endpoint
required

The push service URL of the browser’s subscription.

string format: uri
alerts
required

The notification types that are pushed, in a stable order.

Array<string>
Allowed values: follow follow_request follow_accepted mention boost favourite reaction quote poll_closed moderation_notice report_resolved admin_report admin_sign_up relationships_severed appeal_decided admin_appeal admin_webhook_disabled admin_hook_failing admin_domain_list_failing admin_custom_emoji_request custom_emoji_request_decided supporter_payment_failed supporter_subscription_ended supporter_plan_retired account_moved admin_account_moved service_closure admin_service_closure_due supporter_service_closure voice_room_started voice_room_invited admin_error_group status announcement admin_hook_appeal hook_appeal_decided auto_delete_limit scheduled_status_failed event_invited event_schedule_confirmed event_changed event_cancelled event_reminder event_started event_room_unavailable event_board_posted reply_request boost_request quote_request interaction_accepted interaction_rejected
server_key
required

The instance’s VAPID public key now. When it differs from the key the browser subscribed with, the subscription receives nothing; subscribe again.

string

Example generated

{
"id": "01890a5d-ac96-774b-bcce-b302099a8057",
"endpoint": "https://example.com",
"alerts": [
"follow"
],
"server_key": "example"
}

For LLMs and coding agents:llms.txt,llms-full.txt, llms-small.txt

Analytics on this site