---
title: "Fetch approval rule list."
method: GET
path: "/approval_rule/fetch"
tags: ["Miscellaneous|Approval Rule"]
---

# Fetch approval rule list.

`GET /approval_rule/fetch`

This endpoint enables you to retrieve a list of approval rules, including the name and description of the
retrieved approval rules. To modify or add a new approval rule, configuration must be performed in geoCapture.

## Query parameters

- `offset` integer
- `limit` integer

## Response `200`

Success Response:

- StandardApprovalRuleFetchResponse
  - `data` object[] — The tool categories.
    - `id` integer — The internal id of the approval rule.
    - `name` string — The name of the approval rule.
    - `description` string — The description of the approval rule.
    - `positions` object[] — The rule positions.
      - `id` integer — The internal id of the approval rule position.
      - `employee` StandardApprovalRuleBaseApprovalRulePositionEmployee
        - `id` integer — The internal id of the employee.
        - `name` string — The name of the employee.
      - `sequence` integer
      - `type` string
      - `supervisor` boolean
      - `createdAt` string — Represents a date and a time. (ISO 8601) ICU-Format: yyyy-MM-dd'T'HH:mm:ssxxx
    - `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 tool categories.

---

[API](https://skmtc.net/geocapture/apis/geocapture-api.md) · [All operations](https://skmtc.net/geocapture/apis/geocapture-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/geocapture/geocapture-api/versions/869b05603541/schema)
