Skip to content

PushSubscriptionRequest

A browser’s push subscription and the notification types to push to it.

object
endpoint
required

The push service URL (PushSubscription.endpoint), an https URL.

string
<= 2048 characters
keys
required
object
alerts
required

The notification types to push, each at most once; empty pushes none. A third-party client’s subscription leaves out the moderator notification types.

Array<string>
<= 32 items
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

Example generated

{
"endpoint": "example",
"keys": {},
"alerts": [
"follow"
]
}

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

Analytics on this site