---
title: "Get compliance requirements"
method: GET
path: "/compliance/requirements"
tags: ["Compliance"]
---

# Get compliance requirements

`GET /compliance/requirements`

Discover what documents are required for a given country, number type, and user type.
Results are cached for 1 hour. Returns an empty `documentTypes` array if no compliance
is needed for the given combination.

## Query parameters

- `countryIso` string, required
- `numberType` 'local' | 'mobile' | 'tollfree', required
- `userType` 'individual' | 'business', required

## Response `200`

Requirements retrieved successfully

- object
  - `status` boolean
  - `data` ComplianceRequirement — Compliance requirements for a country/numberType/userType combination
    - `requirementId` string — Plivo's requirement identifier
    - `countryIso` string
    - `numberType` string
    - `userType` string
    - `documentTypes` RequiredDocumentType[] — Required document types. Empty array means no compliance is needed.
      - `documentTypeId` string — Identifier to use when submitting this document type
      - `name` string — Human-readable name
      - `description` string — Description of what this document should contain
      - `proofRequired` boolean — Whether a file upload is required for this document type
      - `requiredFields` object[] — Data fields that must be provided alongside the document
        - `fieldName` string
        - `friendlyName` string
        - `helpText` string
        - `fieldType` string
        - `required` boolean

## Other responses

- `400` — Invalid input
- `401` — Unauthorized access
- `500` — Internal server error
- `502` — Bad gateway — Plivo's compliance API returned an error or is unavailable

## Changes

- **2026-05-26** `17afe6179e3f` — 2 info
  - added the media type `application/json` for the response with the status `400`
  - added the non-success response with the status `502`
- **2026-05-04** `c3372c7e95ab` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/smallest-inc/apis/agent-management-api/changes/compliance/requirements/get.md)

---

[API](https://skmtc.dev/smallest-inc/apis/agent-management-api.md) · [All operations](https://skmtc.dev/smallest-inc/apis/agent-management-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/smallest-inc/agent-management-api/revisions/274a178284a4/schema)
