All URIs are relative to https://api.hellosign.com/v3.
| Method | HTTP request | Description |
|---|---|---|
| faxDelete() | DELETE /fax/{fax_id} | Delete Fax |
| faxFiles() | GET /fax/files/{fax_id} | Download Fax Files |
| faxGet() | GET /fax/{fax_id} | Get Fax |
| faxList() | GET /fax/list | Lists Faxes |
| faxSend() | POST /fax/send | Send Fax |
faxDelete($fax_id)Delete Fax
Deletes the specified Fax from the system
<?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 {
(new Dropbox\Sign\Api\FaxApi(config: $config))->faxDelete(
fax_id: "fa5c8a0b0f492d768749333ad6fcc214c111e967",
);
} catch (Dropbox\Sign\ApiException $e) {
echo "Exception when calling FaxApi#faxDelete: {$e->getMessage()}";
}| Name | Type | Description | Notes |
|---|---|---|---|
| fax_id | string | Fax ID |
void (empty response body)
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
faxFiles($fax_id): \SplFileObjectDownload Fax Files
Downloads files associated with a Fax
<?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\FaxApi(config: $config))->faxFiles(
fax_id: "fa5c8a0b0f492d768749333ad6fcc214c111e967",
);
copy($response->getRealPath(), __DIR__ . '/file_response');
} catch (Dropbox\Sign\ApiException $e) {
echo "Exception when calling FaxApi#faxFiles: {$e->getMessage()}";
}| Name | Type | Description | Notes |
|---|---|---|---|
| fax_id | string | Fax ID |
\SplFileObject
- Content-Type: Not defined
- Accept:
application/pdf,application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
faxGet($fax_id): \Dropbox\Sign\Model\FaxGetResponseGet Fax
Returns information about a Fax
<?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\FaxApi(config: $config))->faxGet(
fax_id: "fa5c8a0b0f492d768749333ad6fcc214c111e967",
);
print_r($response);
} catch (Dropbox\Sign\ApiException $e) {
echo "Exception when calling FaxApi#faxGet: {$e->getMessage()}";
}| Name | Type | Description | Notes |
|---|---|---|---|
| fax_id | string | Fax ID |
\Dropbox\Sign\Model\FaxGetResponse
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
faxList($page, $page_size): \Dropbox\Sign\Model\FaxListResponseLists Faxes
Returns properties of multiple Faxes
<?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\FaxApi(config: $config))->faxList(
page: 1,
page_size: 20,
);
print_r($response);
} catch (Dropbox\Sign\ApiException $e) {
echo "Exception when calling FaxApi#faxList: {$e->getMessage()}";
}| Name | Type | Description | Notes |
|---|---|---|---|
| page | int | Which page number of the Fax 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] |
\Dropbox\Sign\Model\FaxListResponse
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
faxSend($fax_send_request): \Dropbox\Sign\Model\FaxGetResponseSend Fax
Creates and sends a new Fax with the submitted file(s)
<?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_send_request = (new Dropbox\Sign\Model\FaxSendRequest())
->setRecipient("16690000001")
->setSender("16690000000")
->setTestMode(true)
->setCoverPageTo("Jill Fax")
->setCoverPageFrom("Faxer Faxerson")
->setCoverPageMessage("I'm sending you a fax!")
->setTitle("This is what the fax is about!")
->setFiles([
]);
try {
$response = (new Dropbox\Sign\Api\FaxApi(config: $config))->faxSend(
fax_send_request: $fax_send_request,
);
print_r($response);
} catch (Dropbox\Sign\ApiException $e) {
echo "Exception when calling FaxApi#faxSend: {$e->getMessage()}";
}| Name | Type | Description | Notes |
|---|---|---|---|
| fax_send_request | \Dropbox\Sign\Model\FaxSendRequest |
\Dropbox\Sign\Model\FaxGetResponse
- Content-Type:
application/json,multipart/form-data - Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]