GET
/
v2
/
organizations
/
{orgId}
/
organizations
Get all organizations within an organization
curl --request GET \
  --url https://api.cal.com/v2/organizations/{orgId}/organizations
{
  "status": "success",
  "data": [
    {
      "id": 123,
      "name": "<string>",
      "slug": "<string>",
      "metadata": {
        "key": "value"
      }
    }
  ],
  "pagination": {
    "totalItems": 123,
    "remainingItems": 103,
    "returnedItems": 10,
    "itemsPerPage": 10,
    "currentPage": 2,
    "totalPages": 13,
    "hasNextPage": true,
    "hasPreviousPage": true
  }
}

Headers

x-cal-secret-key
string

For platform customers - OAuth client secret key

x-cal-client-id
string

For platform customers - OAuth client ID

Path Parameters

orgId
number
required

Query Parameters

take
number
default:250

Maximum number of items to return

Required range: 1 <= x <= 250
skip
number
default:0

Number of items to skip

Required range: x >= 0
slug
string

The slug of the managed organization

metadataKey
string

The key of the metadata - it is case sensitive so provide exactly as stored. If you provide it then you must also provide metadataValue

metadataValue
string

The value of the metadata - it is case sensitive so provide exactly as stored. If you provide it then you must also provide metadataKey

Response

200 - application/json

The response is of type object.