✍️Publish Event
POST
https://api.getalby.com/nwc/publish
Publishes any signed event to the specified relay
Request Body
Name
Type
Description
relayUrl
string
If no relay is provided, it uses the default relay (wss://relay.getalby.com/v1)
Response
{
"eventId": "a16ycf4a01bcxx........xxxxx",
"relayUrl": "wss://relay.custom.com/v1",
"state": "PUBLISHED",
}
Last updated
Was this helpful?