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>" } }
Deprecated: OAuth and magic-link callbacks now deliver tokens directly in the redirect URL hash fragment. This endpoint remains for backward compatibility.
Your application ID. Required for all app-tier and user-tier routes.
Body
200
Show child attributes