---
title: "Get Approval Policy Assignments By Scope"
method: GET
path: "/approval-policy/{scope}/{scopeId}"
tags: ["Approval Policy"]
---

# Get Approval Policy Assignments By Scope

`GET /approval-policy/{scope}/{scopeId}`

## Path parameters

- `scope` string, required
- `scopeId` string, required

## Response `200`

- BlueprintApiApprovalPolicyTemplateWithScope[]
  - `id` string, required
  - `scope` 'ORGANIZATION' | 'PROJECT' | 'BLUEPRINT' | 'ENVIRONMENT', required
  - `scopeId` string, required
  - `blueprint` BlueprintApiApprovalPolicyTemplate, required
    - `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
  - `createdAt` string, required

---

[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)
