---
title: "Fetch file type list."
method: GET
path: "/file/fetch_type"
tags: ["Documents|File"]
---

# Fetch file type list.

`GET /file/fetch_type`

This method can be used to get a list of file types. File types in geoCapture specify a group of files. In
addition, the file type provides permission control by specifying who can read, modify and delete a file.

## Query parameters

- `offset` integer
- `limit` integer

## Response `200`

Success Response:

- StandardFileFetchTypeResponse
  - `data` object[] — The file types.
    - `id` integer — The internal id of the file type.
    - `objectType` string — The object type for the file type.
    - `name` string — The name of the file type.
    - `externalReference` string — The reference of the file type.
    - `description` string — The description of the file type.
    - `createdAt` string — Represents a date and a time. (ISO 8601) ICU-Format: yyyy-MM-dd'T'HH:mm:ssxxx
  - `offset` integer — Number of skipped records.
  - `totalCount` integer — Total number of available file types. (Only calculated if offset is 0)

---

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