🔗 Nostr Relay Endpoints
WebSocket
wss://localhost:3334
Main Nostr relay WebSocket endpoint for publishing and subscribing to events.
Supports standard Nostr protocol (NIP-01) with team-based access control.
GET
https:///public/.well-known/nostr.json
Nostr relay information document (NIP-11) containing relay metadata and policies.
📅 Scheduled Notes API
POST
/api/scheduler/schedule
Schedule a signed Nostr event for future publication. Requires NIP-98 authentication.
Send a JSON body with signed_event, relays, and scheduled_for (ISO 8601 timestamp).
GET
/api/scheduler/list
List all scheduled posts for the authenticated user. Requires NIP-98 authentication.
Returns an array of scheduled posts with their status (pending, published, or failed).
DELETE
/api/scheduler/delete?id={id}
Delete a pending scheduled post by its ID. Requires NIP-98 authentication.
Only the user who created the scheduled post can delete it.