> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tic.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Get vehicles owned or used by a company

> Returns vehicles registered to the company at Transportstyrelsen — either as owner (ägare) or primary user (brukare).

<Badge color="green" size="sm">Pro+ tier</Badge>


## OpenAPI

````yaml get /companies/{id}/vehicles
openapi: 3.1.1
info:
  title: TIC Lens API
  description: "The TIC Lens API provides programmatic access to company, person, property, vehicle, and order data.\r\n\r\n## Authentication\r\n\r\nAll requests require an API key passed via the `x-api-key` header:\r\n\r\n```bash\r\ncurl -H \"x-api-key: YOUR_API_KEY\" https://lens-api.tic.io/companies/123\r\n```\r\n\r\nAPI keys are managed through the TIC Lens web application under **Settings → API Keys**.\r\n\r\n## Base URL\r\n\r\n| Environment | URL |\r\n|-------------|-----|\r\n| Production  | `https://lens-api.tic.io` |\r\n\r\n## Feature Access\r\n\r\nEndpoints are gated by your subscription plan. If your plan does not include a feature, the endpoint will return `403 Forbidden`.\r\n\r\n## Rate Limits\r\n\r\nRate limits are applied per API key. If you exceed the limit, requests will return `429 Too Many Requests`.\r\n\r\n## Response Format\r\n\r\nAll responses are JSON. Null values are omitted from responses.\r\n"
  version: v1
servers:
  - url: https://lens-api.tic.io
security:
  - ApiKey: []
tags:
  - name: Addresses
  - name: Bolagsverket
  - name: Brf
  - name: Companies
  - name: Documents
  - name: FlightImages
  - name: Free
  - name: Orders
  - name: OrdersExports
  - name: PaymentControl
  - name: PaymentControlImport
  - name: Persons
  - name: Properties
  - name: PublicSearch
  - name: SearchAutocomplete
  - name: Sentinel
  - name: ServingPermits
  - name: Team
  - name: Teams
  - name: Transportstyrelsen
  - name: Vehicles
  - name: WatchList
paths:
  /companies/{id}/vehicles:
    get:
      tags:
        - Companies
      summary: Get vehicles owned or used by a company
      description: >-
        Returns vehicles registered to the company at Transportstyrelsen —
        either as owner (ägare) or primary user (brukare).
      operationId: GetCompanyVehicles
      parameters:
        - name: id
          in: path
          description: Internal company ID
          required: true
          schema:
            type: integer
            format: int32
      responses:
        '200':
          description: List of vehicles
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: >-
                    #/components/schemas/Ormeo_Library_Views_View_Transportstyrelsen_Vehicle1
        '404':
          description: Company not found or not accessible
components:
  schemas:
    Ormeo_Library_Views_View_Transportstyrelsen_Vehicle1:
      type: object
      properties:
        brukareIntelligenceScoreTotal:
          type:
            - 'null'
            - integer
          format: int32
        brukareIntelligenceNumberOfMax:
          type:
            - 'null'
            - integer
          format: int32
        agareIntelligenceScoreTotal:
          type:
            - 'null'
            - integer
          format: int32
        agareIntelligenceNumberOfMax:
          type:
            - 'null'
            - integer
          format: int32
        isOwner:
          type: boolean
        isUser:
          type: boolean
        isCurrent:
          type: boolean
        transportstyrelsen_VehicleSummaryId:
          type: integer
          format: int32
        companyId:
          type:
            - 'null'
            - integer
          format: int32
        registreringsnummer:
          type:
            - 'null'
            - string
        companyid_Identitetsnummer:
          type:
            - 'null'
            - integer
          format: int32
        companyid_Agare:
          type:
            - 'null'
            - integer
          format: int32
        agareNamn:
          type:
            - 'null'
            - string
        brukareNamn:
          type:
            - 'null'
            - string
        isStolen:
          type:
            - 'null'
            - boolean
        forvarvsdatum:
          type:
            - 'null'
            - string
          format: date-time
        forvarvsdatumAgare:
          type:
            - 'null'
            - string
          format: date-time
        fordonsbenamning:
          type:
            - 'null'
            - string
        handelsbeteckning:
          type:
            - 'null'
            - string
        namn:
          type:
            - 'null'
            - string
          readOnly: true
        arsmodell:
          type:
            - 'null'
            - integer
          format: int32
        fordonsar:
          type:
            - 'null'
            - integer
          format: int32
        chassinummer:
          type:
            - 'null'
            - string
        fabrikatskod:
          type:
            - 'null'
            - string
        fabrikskodBeskrivning:
          $ref: '#/components/schemas/System_StringSystem_StringTuple'
        modellnummer:
          type:
            - 'null'
            - string
        gruppnummer:
          type:
            - 'null'
            - string
        antalBrukare:
          type:
            - 'null'
            - integer
          format: int32
        leasing:
          type:
            - 'null'
            - boolean
        kreditkop:
          type:
            - 'null'
            - boolean
        mileageKm:
          type:
            - 'null'
            - integer
          format: int32
        mileageDate:
          type:
            - 'null'
            - string
          format: date-time
        fordonsslag:
          type:
            - 'null'
            - string
        fordonslagBeskrivning:
          type:
            - 'null'
            - string
          readOnly: true
        fordonsstatusKod:
          type:
            - 'null'
            - string
        avregOrsak:
          type:
            - 'null'
            - string
        fordonsstatusKodBeskrivning:
          type:
            - 'null'
            - string
          readOnly: true
        fordonsslagsklass:
          type:
            - 'null'
            - string
        fordonsslagsklassBeskrivning:
          type:
            - 'null'
            - string
          readOnly: true
        fordonsslagsklassOchBeskrivning:
          type:
            - 'null'
            - string
          readOnly: true
        drivmedel1Kod:
          type:
            - 'null'
            - string
        drivmedel2Kod:
          type:
            - 'null'
            - string
        drivmedel3Kod:
          type:
            - 'null'
            - string
        anvandningssatt1:
          type:
            - 'null'
            - string
        anvandningssatt2:
          type:
            - 'null'
            - string
        anvandningssatt3:
          type:
            - 'null'
            - string
        anvandningssatt4:
          type:
            - 'null'
            - string
        anvandningssatt5:
          type:
            - 'null'
            - string
        elfordonKonfiguration:
          type:
            - 'null'
            - string
        elfordonKonfigurationBeskrivning:
          type:
            - 'null'
            - string
          readOnly: true
        drivmedelsBeskrivningar:
          type:
            - 'null'
            - array
          items:
            type: string
          readOnly: true
        anvandningssatt:
          type:
            - 'null'
            - array
          items:
            type: string
          readOnly: true
      additionalProperties: false
    System_StringSystem_StringTuple:
      type: object
      properties:
        item1:
          type:
            - 'null'
            - string
        item2:
          type:
            - 'null'
            - string
      additionalProperties: false
  securitySchemes:
    ApiKey:
      type: apiKey
      name: x-api-key
      in: header

````