Skip to main content
POST
/
v1
/
actions
/
swap
Execute Swap
curl --request POST \
  --url https://api.aegisintent.xyz/v1/actions/swap \
  --header 'Authorization: Bearer <token>' \
  --header 'Idempotency-Key: <idempotency-key>' \
  --header 'X-Aegis-Email: <x-aegis-email>' \
  --header 'X-Aegis-Nonce: <x-aegis-nonce>'

Documentation Index

Fetch the complete documentation index at: https://docs.aegisintent.xyz/llms.txt

Use this file to discover all available pages before exploring further.

Swap stablecoin values (USDC and EURC) directly inside the secure Developer-Controlled Smart Wallet.

Authorizations

Authorization
string
header
required

Provide raw API session token issued by /v1/connect/complete

Headers

X-Aegis-Email
string
required

Agent email address

Idempotency-Key
string
required

Unique UUID v4 for idempotency

X-Aegis-Nonce
integer
required

Current agent action nonce

Response

200

Asset swap executed successfully