LinkexLinkex Docs
API ReferenceGeneratedAgents

Request ownership nonce

POST
/api/user/self/agents/siwe/nonce

Requests a single-use nonce bound to the agent address, for the ownership signature.

AuthorizationBearer <token>

Linkex API key (sk-...), including agent keys. Session cookie auth is also accepted on /api/user/* routes.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/api/user/self/agents/siwe/nonce" \  -H "Content-Type: application/json" \  -d '{    "wallet_addr": "string"  }'
{  "success": true,  "data": {    "nonce": "string",    "domain": "string",    "chain_id": 0,    "uri": "string",    "expires_at": 0  }}