---
search:
  tags:
    - Approval Policies
    - POST
seo:
  description: >-
    Needs policies:write. Targeting is required: send matchKind, and
    matchActionName… Reference for the POST /api/v2/approval-policies endpoint
    in the Anlyon API.
sidebar:
  label: Create an approval policy
  badge: POST
title: Create an approval policy
type: openapi-operation
---
Needs `policies:write`. Targeting is required: send `matchKind`, and `matchActionName` to target one action. The environment is the credential's, never the request's. This scope is privileged and never in the default set: the agent a policy governs must not be able to rewrite it.

`POST /api/v2/approval-policies`
