Skip to main content
GET
List area codes
  • Credential: none.
  • Events: none.
  • Pages: none. The whole list is returned in one response. area_codes is ordered by country_code, then by area_code, and countries by country_code.
  • Meaning: the list contains the area codes that a pre-order can request. It does not say which lines are in stock, and a pre-order does not check its preferred_area_codes against it. See How a pre-order works.

Errors

The errors that every operation shares are in Errors.

Query Parameters

country
string

Keep the area codes of one country: ISO 3166-1 alpha-2 code, case-insensitive. A country with no area code returns an empty area_codes. Omit it for every country.

Pattern: ^[A-Za-z]{2}$
Example:

"US"

Response

The area codes and the countries that can be requested.

success
enum<boolean>
required

Always true on a success response.

Available options:
true
data
object
required

The area codes and the countries that can be requested on a pre-order.

trace_id
string
required

Trace id of the request that produced this response: 32 lowercase hexadecimal characters. Quote it when you report a problem to iSnap.

request_id
string
required

Id of the request that produced this response: req_ followed by 25 letters or digits.