Get Available Fax Line Area Codes

get/fax_line/area_codes

Returns a list of available area codes for a given state/province and city

Securityapi_key
Request
query Parameters
country
required
string

Filter area codes by country

Enum: "CA" "US" "UK"
Example: country=US
state
string

Filter area codes by state

Enum: "AK" "AL" "AR" "AZ" "CA" "CO" "CT" "DC" "DE" "FL" "GA" "HI" "IA" "ID" "IL" "IN" "KS" "KY" "LA" "MA" "MD" "ME" "MI" "MN" "MO" "MS" "MT" "NC" "ND" "NE" "NH" "NJ" "NM" "NV" "NY" "OH" "OK" "OR" "PA" "RI" "SC" "SD" "TN" "TX" "UT" "VA" "VT" "WA" "WI" "WV" "WY"
province
string

Filter area codes by province

Enum: "AB" "BC" "MB" "NB" "NL" "NT" "NS" "NU" "ON" "PE" "QC" "SK" "YT"
city
string

Filter area codes by city

Responses
200

successful operation

4XX

failed_operation

Request samples
<?php

namespace Dropbox\SignSandbox;

require_once __DIR__ . '/../vendor/autoload.php';

use SplFileObject;
use Dropbox;

$config = Dropbox\Sign\Configuration::getDefaultConfiguration();
$config->setUsername("YOUR_API_KEY");

try {
    $response = (new Dropbox\Sign\Api\FaxLineApi(config: $config))->faxLineAreaCodeGet(
        country: "US",
    );

    print_r($response);
} catch (Dropbox\Sign\ApiException $e) {
    echo "Exception when calling FaxLineApi#faxLineAreaCodeGet: {$e->getMessage()}";
}
Response samples
application/json
{
  • "area_codes": [
    ]
}