# List Child Organizations

See your company's child organizations. Send a child's id in X-Company-Id to call any other v2 endpoint on it with this key. The key and its creator need child_company:access.

`GET https://connect.mindcloud.co/v2/child-companies`

Permissions: `child_company:access`.

## Parameters

### Headers

- `X-Company-Id` (string): Optional. The id of the organization to act in. Leave it out to act in the API key's own organization. Here a key acts in another organization only as one of its members: with "Use this key across all of your organizations" on, in an organization its creator belongs to with a role. Child organizations and MindCloud staff access do not reach this endpoint. Every response's X-Company-Id header names the organization it acted in. See [Organizations](https://mindcloud.co/docs/api/rest/introduction/organizations).

## Example request

```bash
curl --request GET \
  --url 'https://connect.mindcloud.co/v2/child-companies' \
  --header 'Authorization: Bearer $MINDCLOUD_API_TOKEN'
```

## Response fields

- `id` (string): The child organization's id. Send it in X-Company-Id to call other endpoints on the child.
- `name` (string): The child organization's name.
- `description` (string): The child organization's description.
- `origin` (string): created when your company created it through the API, linked when an existing organization accepted your company as its parent in Cirra.
  Allowed values:
    - `created`
    - `linked`
- `linkedOn` (date): When the link started.
- `memberCount` (number): Members of the child organization, including pending invites.
- `ownerCount` (number): Active Owners. A child cannot be released while this is 0.

## Errors

- 403 Access denied (API_KEY_PERMISSION_DENIED, COMPANY_SCOPE_MISMATCH): `FORBIDDEN` / `API_KEY_PERMISSION_DENIED` "This API key needs the child_company:access permission for this operation."
