---
title: "Get approval policies"
method: GET
path: "/approval_policies"
tags: ["Approval policies"]
---

# Get approval policies

`GET /approval_policies`

## Request

- Base URL: `https://api.sandbox.monite.com/v1`
- URL: `https://api.sandbox.monite.com/v1/approval_policies`
- Auth: HTTP bearer

Retrieve a list of all approval policies with pagination.

## Query parameters

- `process_id` string, uuid
- `order` 'asc' | 'desc'
- `limit` integer
- `pagination_token` string
- `sort` 'created_at' | 'updated_at'
- `id__in` string, uuid
- `status` 'active' | 'pending'
- `status__in` 'active' | 'pending'
- `name` string
- `name__contains` string
- `name__ncontains` string
- `created_by` string, uuid
- `created_at__gt` string, date-time
- `created_at__lt` string, date-time
- `created_at__gte` string, date-time
- `created_at__lte` string, date-time
- `updated_at__gt` string, date-time
- `updated_at__lt` string, date-time
- `updated_at__gte` string, date-time
- `updated_at__lte` string, date-time

## Headers

- `x-monite-version` string, required
- `x-monite-entity-id` string, required

## Response `200`

Successful Response

- ApprovalPolicyResourceList
  - `data` ApprovalPolicyResource[], required
    - `id` string, uuid, required
    - `created_at` string, date-time, required
    - `updated_at` string, date-time, required
    - `created_by` string, uuid, required
    - `description` string: A brief description of the approval policy.
    - `ends_at` string, date-time: The date and time (in the ISO 8601 format) when the approval policy stops being active and stops triggering approval workflows.If `ends_at` is provided in the request, then `starts_at` must also be provided and `ends_at` must be later than `starts_at`. The value will be converted to UTC.
    - `name` string, required: The name of the approval policy.
    - `priority` integer: The priority controls which approval policy takes precedence when a payable matches multiple approval policies. A higher value mean higher priority.
    - `script` ApprovalPolicyResourceScriptItem[], required: A list of JSON objects that represents the approval policy script. The script contains the logic that determines whether an action should be sent to approval. This field is required, and it should contain at least one script object.
      - union
        - boolean
        - number, double
        - string
        - unknown[]
          - unknown
        - object
    - `starts_at` string, date-time: The date and time (in the ISO 8601 format) when the approval policy becomes active. Only payables submitted for approval during the policy's active period will trigger this policy. If omitted or `null`, the policy is effective immediately. The value will be converted to UTC.
    - `status` 'active' | 'pending', required: The current status of the approval policy.
    - `trigger` union: A JSON object that represents the trigger for the approval policy. The trigger specifies the event that will trigger the policy to be evaluated.
      - boolean
      - number, double
      - string
      - unknown[]
        - unknown
      - object
    - `updated_by` string, uuid
  - `next_pagination_token` string: A token that can be sent in the `pagination_token` query parameter to get the next page of results, or `null` if there is no next page (i.e. you've reached the last page).
  - `prev_pagination_token` string: A token that can be sent in the `pagination_token` query parameter to get the previous page of results, or `null` if there is no previous page (i.e. you've reached the first page).

## Other responses

- `401`: The `Authorization` header is missing or contains an invalid or expired access token. See [Authentication](https://docs.monite.com/api/concepts/authentication) to learn how to authenticate API calls.
- `409`: Business logic error
- `422`: Validation Error
- `429`: API rate limit has been exceeded. Check the response headers for the rate limit information.

---

[API](https://skmtc.dev/monite/apis/monite-2.md) - [All operations](https://skmtc.dev/monite/apis/monite-2/llms.txt) - [OpenAPI document](https://skmtc.dev/monite/apis/monite-2/revisions/4299ccf95edb?raw)
