Palbase Auth API · API
GET
/admin/oauth-clients/{id}Get an OAuth client
Reads one client by its internal id (oc_…, not its client_id). The secret is never returned.
Called by your server, with the project's secret key.
Path
idstring · requiredThe client's internal id (`oc_…`).curl
curl -X GET "https://<your-ref>.palbase.studio/admin/oauth-clients/<id>" \
-H "apikey: $PALBASE_SECRET_KEY"Responses
200The client
400Validation failed or required field missing
401Missing, invalid, or expired credentials
403Authenticated but not permitted (banned, hook denial, role mismatch)
404Resource does not exist or is not visible to the caller
503Downstream dependency unavailable (typically HIBP / breach service)
defaultAn error: the envelope names it (`error`) and explains it (`error_description`).
Operation AdminGetOAuthClient of auth's contract.