companies

GET /companies/{companySlug}

Changed on

Returns company associated with slug.

Request

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

Response

OK

namestring

Name of company.

slugstring

Formatted name of company. This is the companySlug that should be used in all URLs related to this company.

organizationNumberstring

Brreg organization number.

vatType'no' | 'yearly' | 'monthly' | 'bi-monthly'
phoneNumberstring
emailstring
creationDatestring date
hasApiAccessboolean
testCompanyboolean

Whether the company is a demo (true) or not

accountingStartDatestring date
vatRegistrationDatestring date

Example response

{
  "name": "Swagger test company",
  "slug": "swagger-test-company",
  "organizationNumber": "123456789",
  "address": {
    "streetAddress": "Karl Johan 34",
    "streetAddressLine2": "H0405",
    "city": "Oslo",
    "postCode": "0550",
    "country": "Norway"
  },
  "phoneNumber": "62158537",
  "email": "swaggertestcompany@fiken.gmail",
  "creationDate": "2025-01-01",
  "hasApiAccess": true,
  "accountingStartDate": "2025-01-01",
  "vatRegistrationDate": "2025-02-01"
}

Changes

    • info

      added the optional property to the response with the status

    • info

      the endpoint scheme security fiken_api_oauth was removed from the API

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional write-only property phoneNumber to the response with the status