Xenodia Docs
API ReferenceGenerated Reference

Create a delegated owner wallet binding challenge

Requires the delegated Agent bearer token and an unexpired owner-issued delegation token for this linked Agent. Reading the delegation does not consume it. The challenge names the target owner and binding purpose; sign it with the owner wallet and submit it with the delegation to /v1/me/owner-wallet/bind.

POST
/v1/me/owner-wallet/challenge

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://api.xenodia.xyz/v1/me/owner-wallet/challenge" \  -H "Content-Type: application/json" \  -d '{    "delegation_token": "string",    "wallet_address": "string"  }'
{
  "challenge_id": "string",
  "message": "string",
  "wallet_address": "string",
  "expires_at": 0
}
{
  "error": "bad_request",
  "message": "string",
  "type": "string",
  "code": "string"
}
{
  "error": "bad_request",
  "message": "string",
  "type": "string",
  "code": "string"
}
{
  "error": "bad_request",
  "message": "string",
  "type": "string",
  "code": "string"
}
{
  "error": "string",
  "message": "string",
  "request_id": "string"
}