Skip to main content
GET
/
oauth
/
apps
/
{clientId}
Get OAuth application by client ID
curl --request GET \
  --url http://sandbox.mintlify.com/oauth/apps/{clientId} \
  --header 'Authorization: Bearer <token>'
Retrieves OAuth application details by client ID. Only OWNERS and ADMINS can view OAuth applications.
The client secret is never returned after creation. Only configuration details are shown.

Permissions

Only OWNERS and ADMINS can view OAuth applications.

Path Parameters

ParameterTypeRequiredDescription
clientIdstringYesOAuth application client ID

Example Request

curl -X GET http://localhost:3001/api/oauth/apps/app_1234567890abcdef \
  -H "Authorization: Bearer <token>"

Example Response

{
  "clientId": "app_1234567890abcdef",
  "name": "My Integration",
  "description": "Integration for managing organization data",
  "redirectUri": "https://example.com/callback",
  "scopes": ["read:organization", "write:organization"],
  "isActive": true,
  "createdAt": "2025-01-26T10:00:00Z",
  "updatedAt": "2025-01-26T10:00:00Z"
}

Common Errors

401 Unauthorized

Authentication required.

403 Forbidden

Only owners and admins can view OAuth applications.

404 Not Found

OAuth application not found with the provided client ID.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

clientId
string
required

Response

Application retrieved successfully with configuration details (client secret is never returned after creation).