Skip to main content
GET
/
organizations
/
by-slug
/
{slug}
Error
A valid request URL is required to generate request examples
{
  "id": "<string>",
  "name": "<string>",
  "slug": "<string>",
  "avatar_url": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "role": "<string>"
}

Authorizations

Authorization
string
header
required

WorkOS JWT token. Obtain via WorkOS AuthKit authentication flow. The token must include organization_id claim for organization-scoped endpoints.

Path Parameters

slug
string
required

URL-friendly identifier for the organization (e.g., 'acme-corp')

Response

OK

Organization with the requesting user's role

id
string
required
name
string
required
slug
string
required
avatar_url
string | null
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
role
string
required

User's role in this organization (e.g., 'admin', 'member')