Handle OAuth callback

GET/platforms/{platformID}/oauth/callback

Completes the platform OAuth flow by exchanging the authorization code returned to the redirect URI, then stores the resulting connection.

Path parameters

platformID

stringrequired

Query parameters

code

stringrequired
redirect_uri

string
Request
bash
curl -sS "https://phosra-api-sandbox-production.up.railway.app/api/v1/platforms/android/oauth/callback?code=AUTH_CODE_FROM_PROVIDER&redirect_uri=https%3A%2F%2Fyourapp.com%2Foauth%2Fcallback"
Response
json
{}