Get OAuth authorization URL for a platform
GET
/platforms/{platformID}/oauth/authorizeReturns the platform's OAuth 2.0 authorization URL (PKCE S256) to redirect the parent to. Completing the flow links the platform to the family.
Path parameters
platformIDstringrequired
Query parameters
statestring
redirect_uristring
Response
authorize_urlstring
Request
bash
curl -sS "https://phosra-api-sandbox-production.up.railway.app/api/v1/platforms/android/oauth/authorize"Response
json
{
"authorize_url": "string"
}