v1

latestOpenAPI 3.0.02026-08-04891301.4 MB

List organizations for a user

Returns the organizations the specified user belongs to. A user can belong to at most one organization, so the data array contains either zero or one items.

The authenticated viewer must have permission to inspect the target user. Returns an empty data array when the user has no organization membership.

get/api/v1/users/{user}/orgs

Path parameters

userstring required

User ID (usr_...) whose organization membership you want to retrieve.

Response

Successful response

Example response

{
  "data": [
    {
      "created_at": "2024-01-01T00:00:00Z",
      "description": "An example description.",
      "domain": "acme.com",
      "id": "org_0aBcDeFgHiJkLmNoPqRsTu",
      "industry": "fintech",
      "name": "Example Name",
      "onboarding_track": "vendor",
      "sandbox": "dsb_0aBcDeFgHiJkLmNoPqRsTu",
      "slug": "example-slug",
      "status": "active",
      "updated_at": "2024-01-01T00:00:00Z",
      "website": "https://example.com"
    }
  ]
}