Areas#

Use the Areas resource to retrieve regulatory geographic areas used by DID registration requirements.

An Area represents a locality or region within a country for regulatory purposes. It provides a name and a country relationship. When an Address Requirement has address_area_level set to area, the Address used for verification must be within the locality or region covered by the DID phone number’s prefix.

Areas are read-only and are separate from the Regions resource in Coverage Resources. Use Areas to interpret registration restrictions. Use Coverage Regions to search DID inventory by geographic subdivision.

Note

For the complete registration workflow, see Regulation Resources. For an end-to-end purchasing and verification example, see Buy a DID Number That Requires Verification.

When to use Areas#

Inspect the applicable Address Requirement before selecting an Address:

Address area level

Address restriction

world_wide

An Address from any country can be used. An Area lookup is not required.

country

The Address must be within the requirement country. An Area lookup is not required.

area

The Address must be within the locality or region covered by the DID prefix. Use the Areas resource to identify the regulatory area.

city

The Address must be from the same City as the DID. Use the Cities resource instead.

For an area-level requirement, identify the DID’s country and prefix from its DID Group, then retrieve Areas by country ID and name. Prepare an Address within the matching regulatory area and validate it against the Address Requirement before creating an Address Verification.

Endpoints#

Action

Method

Endpoint

Retrieve all Areas

GET

/v3/areas

Retrieve Area

GET

/v3/areas/{id}

Retrieve all Areas#

Retrieves all regulatory Areas available through the DIDWW API.

Use this endpoint to find Areas by ID, case-insensitive name, or country ID. Results can be sorted by name and can include the related country. Both the default and maximum page size are 1,000 records.

See Retrieve All Areas.

GET /v3/areas

Retrieve Area#

Retrieves a specific regulatory Area by its unique ID.

Use this endpoint when the Area ID is already known and you need to inspect its name or include its related country.

See Retrieve Area.

GET /v3/areas/{id}

Data reference#

See Area Object for all attributes and relationships returned by the resource.

Common Area use cases#

Use case

Description

Satisfy an area-level requirement

Identify the locality or region in which an Address must be located when address_area_level is area.

Find Areas in a country

Filter by country.id to retrieve regulatory Areas for the requirement country.

Find an Area by name

Use the case-insensitive name filter to resolve a regulatory Area and its ID.

Confirm an Area’s country

Include the related country when retrieving one or more Areas.

Review an Address relationship

Use an Area ID when filtering Addresses or inspect the Area included with an Address.

Prepare registration data

Select an Address within the required Area before running an Address Requirement Validation.