---
title: "Gets companies associated with a specific user"
method: GET
path: "/api/v{version}/Companies/user/{userId}"
tags: ["Companies"]
---

# Gets companies associated with a specific user

`GET /api/v{version}/Companies/user/{userId}`

## Path parameters

- `userId` integer, required
- `version` string, required

## Headers

- `company-id` string, required

## Response `200`

Success

- BilfloUtilMicroservicesCQRSResponseBase1SystemCollectionsGenericIEnumerable1CompaniesContractsModelsCompanyDto
  - `isValid` boolean
  - `errors` string[], nullable
  - `warnings` string[], nullable
  - `info` string[], nullable
  - `message` string, nullable
  - `data` CompaniesContractsModelsCompanyDto[], nullable
    - `companyId` integer
    - `companyUUID` string, uuid
    - `name` string, nullable
    - `website` string, nullable
    - `phone` string, nullable
    - `emailAddress` string, nullable
    - `address` string, nullable
    - `city` string, nullable
    - `state` string, nullable
    - `zipCode` string, nullable
    - `isActive` boolean
    - `createdOn` string, date-time

## Other responses

- `400` — Bad Request
- `404` — Not Found

---

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