đŠSubscribe to Events
POST
https://api.getalby.com/nwc/subscriptions
Notifies about new events matching the filter provided via webhooks
Request Body
Name
Type
Description
relayUrl
string
If no relay is provided, it uses the default relay (wss://relay.getalby.com/v1)
webhookUrl*
string
Webhook URL to publish events
filter*
Filters to subscribe to
Filter Example
Response
Response to Webhook URL
Last updated