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(faxLineAddUserRequest: FaxLineAddUserRequest): FaxLineResponseAdd Fax Line User
Grants a user access to the specified Fax Line.
import * as fs from 'fs';
import api from "@dropbox/sign"
import models from "@dropbox/sign"
const apiCaller = new api.FaxLineApi();
apiCaller.username = "YOUR_API_KEY";
const faxLineAddUserRequest: models.FaxLineAddUserRequest = {
number: "[FAX_NUMBER]",
emailAddress: "member@dropboxsign.com",
};
apiCaller.faxLineAddUser(
faxLineAddUserRequest,
).then(response => {
console.log(response.body);
}).catch(error => {
console.log("Exception when calling FaxLineApi#faxLineAddUser:");
console.log(error.body);
});| Name | Type | Description | Notes |
|---|---|---|---|
| faxLineAddUserRequest | FaxLineAddUserRequest |
- Content-Type:
application/json - Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
faxLineAreaCodeGet(country: 'CA' | 'US' | 'UK', state: '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: 'AB' | 'BC' | 'MB' | 'NB' | 'NL' | 'NT' | 'NS' | 'NU' | 'ON' | 'PE' | 'QC' | 'SK' | 'YT', city: string): FaxLineAreaCodeGetResponseGet Available Fax Line Area Codes
Returns a list of available area codes for a given state/province and city
import * as fs from 'fs';
import api from "@dropbox/sign"
import models from "@dropbox/sign"
const apiCaller = new api.FaxLineApi();
apiCaller.username = "YOUR_API_KEY";
apiCaller.faxLineAreaCodeGet(
"US", // country
undefined, // state
undefined, // province
undefined, // city
).then(response => {
console.log(response.body);
}).catch(error => {
console.log("Exception when calling FaxLineApi#faxLineAreaCodeGet:");
console.log(error.body);
});| Name | Type | Description | Notes |
|---|---|---|---|
| country | **'CA' | 'US' | 'UK'** |
| state | **'AK' | 'AL' | 'AR' |
| province | **'AB' | 'BC' | 'MB' |
| city | string | Filter area codes by city | [optional] |
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
faxLineCreate(faxLineCreateRequest: FaxLineCreateRequest): FaxLineResponsePurchase Fax Line
Purchases a new Fax Line
import * as fs from 'fs';
import api from "@dropbox/sign"
import models from "@dropbox/sign"
const apiCaller = new api.FaxLineApi();
apiCaller.username = "YOUR_API_KEY";
const faxLineCreateRequest: models.FaxLineCreateRequest = {
areaCode: 209,
country: models.FaxLineCreateRequest.CountryEnum.Us,
};
apiCaller.faxLineCreate(
faxLineCreateRequest,
).then(response => {
console.log(response.body);
}).catch(error => {
console.log("Exception when calling FaxLineApi#faxLineCreate:");
console.log(error.body);
});| Name | Type | Description | Notes |
|---|---|---|---|
| faxLineCreateRequest | FaxLineCreateRequest |
- Content-Type:
application/json - Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
faxLineDelete(faxLineDeleteRequest: FaxLineDeleteRequest)Delete Fax Line
Deletes the specified Fax Line from the subscription.
import * as fs from 'fs';
import api from "@dropbox/sign"
import models from "@dropbox/sign"
const apiCaller = new api.FaxLineApi();
apiCaller.username = "YOUR_API_KEY";
const faxLineDeleteRequest: models.FaxLineDeleteRequest = {
number: "[FAX_NUMBER]",
};
apiCaller.faxLineDelete(
faxLineDeleteRequest,
).catch(error => {
console.log("Exception when calling FaxLineApi#faxLineDelete:");
console.log(error.body);
});| Name | Type | Description | Notes |
|---|---|---|---|
| faxLineDeleteRequest | 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: string): FaxLineResponseGet Fax Line
Returns the properties and settings of a Fax Line.
import * as fs from 'fs';
import api from "@dropbox/sign"
import models from "@dropbox/sign"
const apiCaller = new api.FaxLineApi();
apiCaller.username = "YOUR_API_KEY";
apiCaller.faxLineGet(
"123-123-1234", // number
).then(response => {
console.log(response.body);
}).catch(error => {
console.log("Exception when calling FaxLineApi#faxLineGet:");
console.log(error.body);
});| Name | Type | Description | Notes |
|---|---|---|---|
| number | string | The Fax Line number |
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
faxLineList(accountId: string, page: number, pageSize: number, showTeamLines: boolean): FaxLineListResponseList Fax Lines
Returns the properties and settings of multiple Fax Lines.
import * as fs from 'fs';
import api from "@dropbox/sign"
import models from "@dropbox/sign"
const apiCaller = new api.FaxLineApi();
apiCaller.username = "YOUR_API_KEY";
apiCaller.faxLineList(
"ab55cd14a97219e36b5ff5fe23f2f9329b0c1e97", // accountId
1, // page
20, // pageSize
undefined, // showTeamLines
).then(response => {
console.log(response.body);
}).catch(error => {
console.log("Exception when calling FaxLineApi#faxLineList:");
console.log(error.body);
});| Name | Type | Description | Notes |
|---|---|---|---|
| accountId | string | Account ID | [optional] |
| page | number | Which page number of the Fax Line List to return. Defaults to 1. |
[optional] [default to 1] |
| pageSize | number | Number of objects to be returned per page. Must be between 1 and 100. Default is 20. |
[optional] [default to 20] |
| showTeamLines | boolean | Include Fax Lines belonging to team members in the list | [optional] |
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
faxLineRemoveUser(faxLineRemoveUserRequest: FaxLineRemoveUserRequest): FaxLineResponseRemove Fax Line Access
Removes a user's access to the specified Fax Line
import * as fs from 'fs';
import api from "@dropbox/sign"
import models from "@dropbox/sign"
const apiCaller = new api.FaxLineApi();
apiCaller.username = "YOUR_API_KEY";
const faxLineRemoveUserRequest: models.FaxLineRemoveUserRequest = {
number: "[FAX_NUMBER]",
emailAddress: "member@dropboxsign.com",
};
apiCaller.faxLineRemoveUser(
faxLineRemoveUserRequest,
).then(response => {
console.log(response.body);
}).catch(error => {
console.log("Exception when calling FaxLineApi#faxLineRemoveUser:");
console.log(error.body);
});| Name | Type | Description | Notes |
|---|---|---|---|
| faxLineRemoveUserRequest | FaxLineRemoveUserRequest |
- Content-Type:
application/json - Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]