Skip to content
Dashboard
Theme
Theme

Get an organization's third-party app rule

GET /v1/organizations/{org}/oauth_settings: Get an organization's third-party app rule.

View Markdown

GET /v1/organizations/{org}/oauth_settings

Scope
oauth:read
Auth
Secret key (sk_…)
Since
1.0
  • org string Required

  • OhAuthCat-Version string

    Minor version; defaults to the environment’s pin.

Errors share one shape; see the error code catalogue.

curl -X GET \
"https://api.ohauthcat.com/v1/organizations/org_01J9Z3K5V7W8X9Y0Z1A2B3C4D5/oauth_settings" \
-H "Authorization: Bearer $OHAUTHCAT_API_KEY"
Response 200
{
"object": "organization_oauth_settings",
"organization": "org_01J9Z3K5V7W8X9Y0Z1A2B3C4D5",
"third_party_apps": "allow"
}