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

---

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