---
title: "GET /companies"
method: GET
path: "/companies"
tags: ["companies"]
---

# GET /companies

`GET /companies`

Returns all companies from the system that the user has access to. The user can update which companies a given app has 
access to in Fiken under Brukerinnstillinger -> Sikkerhet -> Apper du har gitt tilgang til.

## Query parameters

- `page` integer
- `pageSize` integer
- `sortBy` 'createdDate asc' | 'createdDate desc' | 'name asc' | 'name desc' | 'organizationNumber asc' | 'organizationNumber desc' — Sorts results in either ascending (asc) or descending (desc) order based on the parameter value.

## Response `200`

OK

- Company[]
  - `name` string — Name of company.
  - `slug` string — Formatted name of company. This is the companySlug that should be used in all URLs related to this company.
  - `organizationNumber` string — Brreg organization number.
  - `vatType` 'no' | 'yearly' | 'monthly' | 'bi-monthly'
  - `address` Address
    - `streetAddress` string
    - `streetAddressLine2` string
    - `city` string
    - `postCode` string
    - `country` string, required
  - `phoneNumber` string
  - `email` string
  - `creationDate` string, date
  - `hasApiAccess` boolean
  - `testCompany` boolean — Whether the company is a demo (true) or not
  - `accountingStartDate` string, date
  - `vatRegistrationDate` string, date

---

[API](https://skmtc.dev/fiken/apis/fiken-api.md) · [All operations](https://skmtc.dev/fiken/apis/fiken-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/fiken/fiken-api/revisions/2473dacdb89c/schema)
