---
title: "Get an approval policy by ID"
method: GET
path: "/approval_policies/{approval_policy_id}"
tags: ["Approval policies"]
---

# Get an approval policy by ID

`GET /approval_policies/{approval_policy_id}`

## Request

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

Retrieve a specific approval policy.

## Path parameters

- `approval_policy_id` string, required

## Headers

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

## Response `200`

Successful Response

- ApprovalPolicyResource
  - `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

## Other responses

- `401`: Unauthorized
- `404`: Not found
- `409`: Business logic error
- `422`: Validation Error
- `500`: Internal Server Error

---

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