ZapAPI Docs
Get StartedConceptsAI GatewayGuidesPayment GatewaySDKAPI ReferenceResources
ApiLnurl

Get a challenge to prove nostr pubkey ownership (NIP-05)

POST
/api/v1/lnurl/claim/pubkey-challenge

Sign a kind 27235 event with tags [["challenge", c]] and pass it as pubkeyProof when claiming or updating the pubkey.

Authorization

bearer

Header Parameters

X-API-Version?string

API version for header-based versioning

Default"1"
Value in"1""2"

Response Body

Example Request
curl -X POST 'http://localhost:3001/api/v1/lnurl/claim/pubkey-challenge'
Example Response201
Empty