---
title: "GET /companies/{companySlug}/accounts"
method: GET
path: "/companies/{companySlug}/accounts"
tags: ["accounts"]
---

# GET /companies/{companySlug}/accounts

`GET /companies/{companySlug}/accounts`

## Request

- Base URL: `https://api.fiken.no/api/v2`
- URL: `https://api.fiken.no/api/v2/companies/{companySlug}/accounts`
- Auth: OAuth 2
  - Authorization code: `https://fiken.no/oauth/authorize`
  - Token URL: `https://fiken.no/oauth/token`

Retrieves the bookkeeping accounts for the current year

## Query parameters

- `fromAccount` integer
- `toAccount` integer
- `page` integer
- `pageSize` integer
- `range` string

## Response `200`

OK

- Account[]
  - `code` string
  - `name` string

## Changes

- **2026-03-28** `dff97b55851e`: 1 info
  - added the new optional `query` request parameter `range`
- **2021-12-08** `4813e5666340`: 1 info
  - the endpoint scheme security `fiken_api_oauth` was removed from the API

[Operation history](https://skmtc.dev/fiken/apis/fiken-api/changes/companies/:companySlug/accounts/get.md)

---

[API](https://skmtc.dev/fiken/apis/fiken-api.md) - [All operations](https://skmtc.dev/fiken/apis/fiken-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fiken/apis/fiken-api/revisions/29111da67f94?raw)
