Skip to content
Dashboard
Theme
Theme

Get the portal intents an organization allows

GET /v1/organizations/{org}/allowed_intents: Get the portal intents an organization allows.

View Markdown

GET /v1/organizations/{org}/allowed_intents

Empty means every intent the plan allows.

Scope
organizations: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/allowed_intents" \
-H "Authorization: Bearer $OHAUTHCAT_API_KEY"
Response 200
{
"object": "organization_allowed_intents",
"organization_id": "org_01J9Z3K5V7W8X9Y0Z1A2B3C4D5",
"allowed_intents": [
"sso"
]
}