cURL
curl --request POST \ --url https://api.agg.market/auth/token/exchange \ --header 'Content-Type: application/json' \ --header 'x-app-id: <api-key>' \ --data ' { "code": "<string>" } '
{ "accessToken": "<string>", "refreshToken": "<string>", "user": { "id": "<string>" } }
Exchanges a one-time auth code (from OAuth/magic-link callback) for access + refresh tokens.
Your application ID. Required for all app-tier and user-tier routes.
Body
200
Show child attributes