Returns a list of available area codes for a given state/province and city
successful operation
failed_operation
<?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()}";
}
{- "area_codes": [
- 209,
- 213,
- 310,
- 323,
- 408,
- 415,
- 424,
- 510,
- 530,
- 559,
- 562,
- 619,
- 626,
- 650,
- 657,
- 661,
- 669,
- 707,
- 714,
- 747,
- 760,
- 805,
- 818,
- 831,
- 858,
- 909,
- 916,
- 925,
- 949,
- 951
]
}