Get OAuth authorization URL for a platform

GET/platforms/{platformID}/oauth/authorize

Returns 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

platformID

stringrequired

Query parameters

state

string
redirect_uri

string

Response

authorize_url

string
Request
bash
curl -sS "https://phosra-api-sandbox-production.up.railway.app/api/v1/platforms/android/oauth/authorize"
Response
json
{
  "authorize_url": "string"
}