ZapAPI Docs
Get StartedConceptsAI GatewayGuidesPayment GatewaySDKAPI ReferenceResources
ApiNwc

Create a NWC connection — URI shown ONCE

POST
/api/v1/nwc/connections

Generates a nostr+walletconnect:// URI with per-connection permissions, budget (sats + period) and optional expiry. The client secret is never shown again.

Authorization

bearer

Header Parameters

X-API-Version?string

API version for header-based versioning

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

Response Body

Connection created

Example Request
curl -X POST 'http://localhost:3001/api/v1/nwc/connections'
Example Response201
Empty