Skip to content
Dashboard
Theme
Theme

Retrieve an organization's slug, logo and branding overrides

GET /v1/organizations/{org}/profile: Retrieve an organization's slug, logo and branding overrides.

View Markdown

GET /v1/organizations/{org}/profile

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/profile" \
-H "Authorization: Bearer $OHAUTHCAT_API_KEY"
Response 200
{
"object": "organization_profile",
"organization_id": "org_01J9Z3K5V7W8X9Y0Z1A2B3C4D5",
"slug": "acme",
"logo_url": "https://app.acme.com/callback",
"primary_color": "example_primary_color",
"effective_logo_url": "https://app.acme.com/callback"
}