Skip to main content
POST

Body

address
string
The address of the recipient of the message — can be a Nostr NIP05 address (e.g. andre@zbd.gg), or a Nostr public key in NPUB or HEX format.
message
string
The message you wish to send to the recipient.
relays
array
The array of relay URLs you wish to publish your message to.
when
number
If you want to schedule the message to be sent at a later time, you can pass a UNIX timestamp number here. If you do not pass this parameter, the message will be sent immediately.

Response

success
boolean
Indicates whether the call was successful. true if successful, false if not.
message
string
Message detailing the results of the operation.