ApiAuth
Get a nostr login challenge
GET
Issues a single-use challenge for a pubkey (npub or hex). Sign a kind 27235 event with tags ["challenge", c] and ["expires", unix] and POST it to /auth/nostr.
X-API-Version?stringAPI version for header-based versioning
Default
"1"Value in
"1""2"curl -X GET 'http://localhost:3001/api/v1/auth/nostr/challenge'Example Response200
Empty