---
title: "GET /api/user-companies/companies-to-switch"
method: GET
path: "/api/user-companies/companies-to-switch"
tags: ["User Companies"]
---

# GET /api/user-companies/companies-to-switch

`GET /api/user-companies/companies-to-switch`

Every other company the authenticated user belongs to, for the account switcher — excludes the caller's current company.

## Response `200`

Default Response

- object[]
  - `id` string, required
  - `companyId` string, required
  - `userId` string, required
  - `role` string, required
  - `isPrimary` boolean, required
  - `hasAgreedWithTerms` boolean, required
  - `hasAgreedWithTermsAt` string, required
  - `userActivationLastNotifiedAt` string, required
  - `name` string, required
  - `officialName` string, required
  - `isDemoCompany` number, required
  - `isClientCompany` number, required

## Other responses

- `400` — Default Response
- `401` — Default Response

---

[API](https://skmtc.net/retraced/apis/api-reference.md) · [All operations](https://skmtc.net/retraced/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/retraced/api-reference/revisions/60d6c901bc4e/schema)
