Last updated 8 months ago
Was this helpful?
POST https://api.getalby.com/nwc/publish
POST
https://api.getalby.com/nwc/publish
Publishes any signed event to the specified relay
Request Body
relayUrl
string
If no relay is provided, it uses the default relay (wss://relay.getalby.com/v1)
event*
JSON object (see )
Signed event
{ "eventId": "a16ycf4a01bcxx........xxxxx", "relayUrl": "wss://relay.custom.com/v1", "state": "PUBLISHED", }