Emergency Requirements#
Use the Emergency Requirements resource to retrieve the emergency calling registration conditions available for DID phone numbers in the DIDWW coverage catalog.
An Emergency Requirement applies to a particular country and DID Group Type. It defines the permitted Identity type, Identity and Address location scopes, mandatory fields, estimated activation time, additional restrictions, and emergency calling pricing.
Emergency Requirements are read-only. Retrieve the applicable requirement before creating or reusing an Identity and Address. After preparing those records, use an Emergency Requirement Validation to check them before creating an Emergency Verification.
Note
For the complete registration and service-management workflow, see Emergency Resources. For an end-to-end example, see Register Emergency Calling Service.
Selecting the applicable requirement#
Use Retrieve All DIDs to select active DIDs
whose DID Groups support the emergency feature. The DIDs submitted together must have
the same country and DID Group Type.
Use those related IDs to filter Emergency Requirements by country.id and
did_group_type.id. Inspect the selected requirement before creating any dependent
records:
identity_typedetermines whether a personal Identity, business Identity, or either type can be used.personal_area_levelandbusiness_area_leveldetermine whether the applicable Identity can be worldwide or must be from the requirement country. A value can benullwhen that Identity type does not apply.address_area_leveldetermines whether the Address must be in the requirement country, the locality or region covered by the DID prefix, or the same city as the DID.personal_mandatory_fieldsandbusiness_mandatory_fieldsidentify additional Identity data that must be supplied.address_mandatory_fieldsidentifies additional Address data that must be supplied.estimate_setup_timeprovides the estimated service activation time.requirement_restriction_messageprovides additional instructions for the selected country and DID Group Type.meta.setup_priceandmeta.monthly_priceprovide the applicable emergency service pricing.
If a selected DID already has approved end-user registration, use an Address linked to the
same Identity for emergency registration. Include the DID’s identity and
address_verification relationships when retrieving it to identify this condition.
Endpoints#
Action |
Method |
Endpoint |
|---|---|---|
Retrieve all Emergency Requirements |
|
|
Retrieve Emergency Requirement |
|
|
Validate an Identity or Address |
|
|
Retrieve all Emergency Requirements#
Retrieves all Emergency Requirements available to the account.
Use this endpoint to find the requirement that applies to the selected DIDs. Results can be filtered by Emergency Requirement ID, country ID, or DID Group Type ID. The country and DID Group Type records can be included in the response.
See Retrieve All Emergency Requirements.
GET /v3/emergency_requirements
Retrieve Emergency Requirement#
Retrieves a specific Emergency Requirement by its unique ID.
Use this endpoint when the applicable requirement is already known and you need to inspect its attributes, pricing, country, or DID Group Type before validation or submission.
See Retrieve Emergency Requirement.
GET /v3/emergency_requirements/{id}
Validate an Identity or Address#
Checks whether an Identity, Address, or both satisfy a selected Emergency Requirement.
Use this endpoint after preparing the required records and before creating an Emergency
Verification. Link the Emergency Requirement and the applicable Identity, Address, or both
to be checked. A successful request returns 201 Created. A 422 Unprocessable Entity
response lists missing or invalid data that should be corrected before submission.
See Validate an Emergency Requirement.
POST /v3/emergency_requirement_validations
Access and pricing#
Access to these endpoints requires an emergency calling plan assigned to the account. A
request returns 403 Forbidden when no plan is assigned.
The pricing values are returned in the resource’s meta object:
Field |
Meaning |
|---|---|
|
One-time setup price as a decimal string. The value is always |
|
Monthly price from the account’s matching emergency plan rate as a decimal string. It
can be |
Requirement scope#
Identity type#
The identity_type attribute can contain:
Value |
Meaning |
|---|---|
|
A personal Identity is required. |
|
A business Identity is required. |
|
A personal or business Identity can be used. |
Identity location#
The applicable personal_area_level or business_area_level attribute can contain:
Value |
Meaning |
|---|---|
|
An Identity from any country can be used. |
|
The Identity must be from the requirement country. |
Address location#
The address_area_level attribute can contain:
Value |
Meaning |
|---|---|
|
The Address must be within the requirement country. |
|
The Address must be within the locality or region covered by the DID prefix. |
|
The Address must be from the same city as the registered DIDs. |
Data reference#
See Emergency Requirement Object for all attributes, metadata, relationships, and supported values returned by the resource. See Emergency Requirement Validations for the validation request relationships and response examples.
Common Emergency Requirement use cases#
Use case |
Description |
|---|---|
Find a requirement for selected DIDs |
Filter Emergency Requirements by the common country ID and DID Group Type ID of the selected DIDs. |
Select an Identity type |
Use |
Apply location restrictions |
Use the Identity and Address area-level attributes to select records from an accepted country, locality, region, or city. |
Prepare mandatory data |
Supply every field listed in the applicable personal, business, and Address mandatory field arrays. |
Show activation guidance |
Present |
Show service pricing |
Present the setup and monthly prices returned for the account’s matching emergency plan rate. |
Check submission readiness |
Create an Emergency Requirement Validation to find missing or invalid Identity and Address data before creating an Emergency Verification. |