---
title: "Get Approval Policy By Name"
method: GET
path: "/approval-policy"
tags: ["Approval Policy"]
---

# Get Approval Policy By Name

`GET /approval-policy`

## Query parameters

- `organizationId` string, required
- `name` string, required

## Response `200`

- BlueprintApiApprovalPolicyTemplate[]
  - `type` union, required
    - 'custom-flow'
    - 'approval-policy'
  - `policyConfiguration` object
  - `name` string, required
  - `repository` string, required
  - `revision` string
  - `path` string
  - `tokenName` string
  - `tokenId` string
  - `sshKeys` BlueprintApiSshKey[]
    - `id` string, required
    - `name` string, required
  - `githubInstallationId` number, nullable
  - `bitbucketClientKey` string, nullable
  - `isBitbucketServer` boolean
  - `isGitLabEnterprise` boolean
  - `isGitHubEnterprise` boolean
  - `isGitLab` boolean
  - `isAzureDevOps` boolean
  - `vcsConnectionId` string, nullable
  - `id` string
  - `author` User
    - `email` string
    - `user_id` string
    - `created_at` string
    - `updated_at` string
    - `app_metadata` AppMetadata
      - `organizations` UserOrganization[]
        - `id` string, required
        - `role` string
        - `name` string
      - `isApiKey` boolean
      - `isAutogeneratedTerraformDeployer` boolean
      - `apiKeyType` 'oidc'
      - `createdBy` string
      - `organizationId` string
      - `isSystemUser` boolean
      - `readOnly` boolean
    - `picture` string
    - `name` string
    - `last_login` string
    - `given_name` string
    - `family_name` string
    - `blocked` boolean
  - `createdAt` string, date-time
  - `updatedAt` string, date-time
  - `isDeleted` boolean
  - `authorId` string
  - `organizationId` string, required
  - `projectId` string

---

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