cURL
curl --request POST \ --url https://api.example.com/api/auth/social/exchange \ --header 'Content-Type: application/json' \ --data ' { "code": "<string>" } '
{ "access_token": "<string>", "refresh_token": "<string>", "token_type": "bearer" }
Request schema for exchanging a social login one-time code for tokens.
Successful Response
Response schema for authentication tokens.