All URIs are relative to https://api.hellosign.com/v3.
| Method | HTTP request | Description |
|---|---|---|
| faxLineAddUser() | PUT /fax_line/add_user | Add Fax Line User |
| faxLineAreaCodeGet() | GET /fax_line/area_codes | Get Available Fax Line Area Codes |
| faxLineCreate() | POST /fax_line/create | Purchase Fax Line |
| faxLineDelete() | DELETE /fax_line | Delete Fax Line |
| faxLineGet() | GET /fax_line | Get Fax Line |
| faxLineList() | GET /fax_line/list | List Fax Lines |
| faxLineRemoveUser() | PUT /fax_line/remove_user | Remove Fax Line Access |
faxLineAddUser($fax_line_add_user_request): \Dropbox\Sign\Model\FaxLineResponseAdd Fax Line User
Grants a user access to the specified Fax Line.
<?php
namespace Dropbox\SignSandbox;
require_once __DIR__ . '/../vendor/autoload.php';
use SplFileObject;
use Dropbox;
$config = Dropbox\Sign\Configuration::getDefaultConfiguration();
$config->setUsername("YOUR_API_KEY");
$fax_line_add_user_request = (new Dropbox\Sign\Model\FaxLineAddUserRequest())
->setNumber("[FAX_NUMBER]")
->setEmailAddress("member@dropboxsign.com");
try {
$response = (new Dropbox\Sign\Api\FaxLineApi(config: $config))->faxLineAddUser(
fax_line_add_user_request: $fax_line_add_user_request,
);
print_r($response);
} catch (Dropbox\Sign\ApiException $e) {
echo "Exception when calling FaxLineApi#faxLineAddUser: {$e->getMessage()}";
}| Name | Type | Description | Notes |
|---|---|---|---|
| fax_line_add_user_request | \Dropbox\Sign\Model\FaxLineAddUserRequest |
\Dropbox\Sign\Model\FaxLineResponse
- Content-Type:
application/json - Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
faxLineAreaCodeGet($country, $state, $province, $city): \Dropbox\Sign\Model\FaxLineAreaCodeGetResponseGet Available Fax Line Area Codes
Returns a list of available area codes for a given state/province and city
<?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()}";
}| Name | Type | Description | Notes |
|---|---|---|---|
| country | string | Filter area codes by country | |
| state | string | Filter area codes by state | [optional] |
| province | string | Filter area codes by province | [optional] |
| city | string | Filter area codes by city | [optional] |
\Dropbox\Sign\Model\FaxLineAreaCodeGetResponse
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
faxLineCreate($fax_line_create_request): \Dropbox\Sign\Model\FaxLineResponsePurchase Fax Line
Purchases a new Fax Line
<?php
namespace Dropbox\SignSandbox;
require_once __DIR__ . '/../vendor/autoload.php';
use SplFileObject;
use Dropbox;
$config = Dropbox\Sign\Configuration::getDefaultConfiguration();
$config->setUsername("YOUR_API_KEY");
$fax_line_create_request = (new Dropbox\Sign\Model\FaxLineCreateRequest())
->setAreaCode(209)
->setCountry(Dropbox\Sign\Model\FaxLineCreateRequest::COUNTRY_US);
try {
$response = (new Dropbox\Sign\Api\FaxLineApi(config: $config))->faxLineCreate(
fax_line_create_request: $fax_line_create_request,
);
print_r($response);
} catch (Dropbox\Sign\ApiException $e) {
echo "Exception when calling FaxLineApi#faxLineCreate: {$e->getMessage()}";
}| Name | Type | Description | Notes |
|---|---|---|---|
| fax_line_create_request | \Dropbox\Sign\Model\FaxLineCreateRequest |
\Dropbox\Sign\Model\FaxLineResponse
- Content-Type:
application/json - Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
faxLineDelete($fax_line_delete_request)Delete Fax Line
Deletes the specified Fax Line from the subscription.
<?php
namespace Dropbox\SignSandbox;
require_once __DIR__ . '/../vendor/autoload.php';
use SplFileObject;
use Dropbox;
$config = Dropbox\Sign\Configuration::getDefaultConfiguration();
$config->setUsername("YOUR_API_KEY");
$fax_line_delete_request = (new Dropbox\Sign\Model\FaxLineDeleteRequest())
->setNumber("[FAX_NUMBER]");
try {
(new Dropbox\Sign\Api\FaxLineApi(config: $config))->faxLineDelete(
fax_line_delete_request: $fax_line_delete_request,
);
} catch (Dropbox\Sign\ApiException $e) {
echo "Exception when calling FaxLineApi#faxLineDelete: {$e->getMessage()}";
}| Name | Type | Description | Notes |
|---|---|---|---|
| fax_line_delete_request | \Dropbox\Sign\Model\FaxLineDeleteRequest |
void (empty response body)
- Content-Type:
application/json - Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
faxLineGet($number): \Dropbox\Sign\Model\FaxLineResponseGet Fax Line
Returns the properties and settings of a Fax Line.
<?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))->faxLineGet(
number: "123-123-1234",
);
print_r($response);
} catch (Dropbox\Sign\ApiException $e) {
echo "Exception when calling FaxLineApi#faxLineGet: {$e->getMessage()}";
}| Name | Type | Description | Notes |
|---|---|---|---|
| number | string | The Fax Line number |
\Dropbox\Sign\Model\FaxLineResponse
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
faxLineList($account_id, $page, $page_size, $show_team_lines): \Dropbox\Sign\Model\FaxLineListResponseList Fax Lines
Returns the properties and settings of multiple Fax Lines.
<?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))->faxLineList(
account_id: "ab55cd14a97219e36b5ff5fe23f2f9329b0c1e97",
page: 1,
page_size: 20,
);
print_r($response);
} catch (Dropbox\Sign\ApiException $e) {
echo "Exception when calling FaxLineApi#faxLineList: {$e->getMessage()}";
}| Name | Type | Description | Notes |
|---|---|---|---|
| account_id | string | Account ID | [optional] |
| page | int | Which page number of the Fax Line List to return. Defaults to 1. |
[optional] [default to 1] |
| page_size | int | Number of objects to be returned per page. Must be between 1 and 100. Default is 20. |
[optional] [default to 20] |
| show_team_lines | bool | Include Fax Lines belonging to team members in the list | [optional] |
\Dropbox\Sign\Model\FaxLineListResponse
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
faxLineRemoveUser($fax_line_remove_user_request): \Dropbox\Sign\Model\FaxLineResponseRemove Fax Line Access
Removes a user's access to the specified Fax Line
<?php
namespace Dropbox\SignSandbox;
require_once __DIR__ . '/../vendor/autoload.php';
use SplFileObject;
use Dropbox;
$config = Dropbox\Sign\Configuration::getDefaultConfiguration();
$config->setUsername("YOUR_API_KEY");
$fax_line_remove_user_request = (new Dropbox\Sign\Model\FaxLineRemoveUserRequest())
->setNumber("[FAX_NUMBER]")
->setEmailAddress("member@dropboxsign.com");
try {
$response = (new Dropbox\Sign\Api\FaxLineApi(config: $config))->faxLineRemoveUser(
fax_line_remove_user_request: $fax_line_remove_user_request,
);
print_r($response);
} catch (Dropbox\Sign\ApiException $e) {
echo "Exception when calling FaxLineApi#faxLineRemoveUser: {$e->getMessage()}";
}| Name | Type | Description | Notes |
|---|---|---|---|
| fax_line_remove_user_request | \Dropbox\Sign\Model\FaxLineRemoveUserRequest |
\Dropbox\Sign\Model\FaxLineResponse
- Content-Type:
application/json - Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]