Skip to main content
POST
Local linking
Local linking routes bind the web session, local device, agent wallet, and active session context.

Routes

string
required
Wallet address. Must match x-session-user-address.
string
Agent wallet address.
string
Agent card CID-like identifier.
number
Chain ID. Defaults to the active chain.
string
Optional local device ID. When present, the link token is local-first and bound to the device.

Redeem body

string
required
Link token returned by /api/local/link-token.
string
required
Local device ID.
string
Optional connected wallet check.

Headers

string
required
Must match the userAddress body field.
string
Optional for link-token creation, required for deployment registration. When present, it must be a valid active session Compose Key.