ZapAPI Docs
Get StartedConceptsAI GatewayGuidesPayment GatewaySDKAPI ReferenceResources
ApiNostr

Connect a bunker:// remote signer

POST
/api/v1/nostr/signer/connect

Performs the NIP-46 handshake (connect + get_public_key) and stores the URI encrypted. Replaces any existing connection.

Authorization

bearer

Header Parameters

X-API-Version?string

API version for header-based versioning

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

Response Body

Signer connected

Example Request
curl -X POST 'http://localhost:3001/api/v1/nostr/signer/connect'
Example Response
Empty