All URIs are relative to /api/v1
Method | HTTP request | Description |
---|---|---|
leadsApplicationsAppIdMappingsGet | GET /leads/applications/{appId}/mappings | Get a list of available application field mappings |
leadsApplicationsAppIdMappingsMapIdDelete | DELETE /leads/applications/{appId}/mappings/{mapId} | Delete an application field mapping |
leadsApplicationsAppIdMappingsMapIdGet | GET /leads/applications/{appId}/mappings/{mapId} | Get an application field mapping list |
leadsApplicationsAppIdMappingsMapIdPatch | PATCH /leads/applications/{appId}/mappings/{mapId} | Update an application field mapping |
leadsApplicationsAppIdMappingsPost | POST /leads/applications/{appId}/mappings | Create a new application field mapping |
leadsApplicationsGet | GET /leads/applications | Get a list of available applications |
leadsLeadIdSignaturesApplicationIdGeneratePost | POST /leads/{leadId}/signatures/{applicationId}/generate | Generate an e-signature document |
leadsLeadIdSignaturesApplicationIdSendPost | POST /leads/{leadId}/signatures/{applicationId}/send | Send an e-signature document |
leadsLeadIdSignaturesGet | GET /leads/{leadId}/signatures | Get a list of all lead e-signatures documents |
leadsSignaturesApplicationIdDownloadGet | GET /leads/signatures/{applicationId}/download | Download an e-signature document |
\Swagger\Client\Model\InlineResponse20033 leadsApplicationsAppIdMappingsGet($app_id, $page, $per_page)
Get a list of available application field mappings
Get a list of available application field mappings
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: Token
$config = Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('X-API-KEY', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-API-KEY', 'Bearer');
$apiInstance = new Swagger\Client\Api\ESignatureApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$app_id = 56; // int | Application Id
$page = 56; // int | Page number
$per_page = 56; // int | Count of records per page
try {
$result = $apiInstance->leadsApplicationsAppIdMappingsGet($app_id, $page, $per_page);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ESignatureApi->leadsApplicationsAppIdMappingsGet: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
app_id | int | Application Id | |
page | int | Page number | [optional] |
per_page | int | Count of records per page | [optional] |
\Swagger\Client\Model\InlineResponse20033
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Swagger\Client\Model\InlineResponse20034 leadsApplicationsAppIdMappingsMapIdDelete($app_id, $map_id)
Delete an application field mapping
Deletion of application field mapping
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: Token
$config = Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('X-API-KEY', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-API-KEY', 'Bearer');
$apiInstance = new Swagger\Client\Api\ESignatureApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$app_id = 56; // int | Application Id
$map_id = 56; // int | Mapping Id
try {
$result = $apiInstance->leadsApplicationsAppIdMappingsMapIdDelete($app_id, $map_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ESignatureApi->leadsApplicationsAppIdMappingsMapIdDelete: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
app_id | int | Application Id | |
map_id | int | Mapping Id |
\Swagger\Client\Model\InlineResponse20034
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Swagger\Client\Model\ApplicationField leadsApplicationsAppIdMappingsMapIdGet($app_id, $map_id)
Get an application field mapping list
Get an application field mapping list
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: Token
$config = Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('X-API-KEY', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-API-KEY', 'Bearer');
$apiInstance = new Swagger\Client\Api\ESignatureApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$app_id = 56; // int | Application Id
$map_id = 56; // int | Mapping Id
try {
$result = $apiInstance->leadsApplicationsAppIdMappingsMapIdGet($app_id, $map_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ESignatureApi->leadsApplicationsAppIdMappingsMapIdGet: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
app_id | int | Application Id | |
map_id | int | Mapping Id |
\Swagger\Client\Model\ApplicationField
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Swagger\Client\Model\ApplicationField leadsApplicationsAppIdMappingsMapIdPatch($app_id, $map_id, $body)
Update an application field mapping
Update an application field mapping
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: Token
$config = Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('X-API-KEY', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-API-KEY', 'Bearer');
$apiInstance = new Swagger\Client\Api\ESignatureApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$app_id = 56; // int | Application Id
$map_id = 56; // int | Mapping Id
$body = new \Swagger\Client\Model\ApplicationField(); // \Swagger\Client\Model\ApplicationField |
try {
$result = $apiInstance->leadsApplicationsAppIdMappingsMapIdPatch($app_id, $map_id, $body);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ESignatureApi->leadsApplicationsAppIdMappingsMapIdPatch: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
app_id | int | Application Id | |
map_id | int | Mapping Id | |
body | \Swagger\Client\Model\ApplicationField | [optional] |
\Swagger\Client\Model\ApplicationField
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Swagger\Client\Model\ApplicationField leadsApplicationsAppIdMappingsPost($app_id, $body)
Create a new application field mapping
Creation of new application field mapping
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: Token
$config = Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('X-API-KEY', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-API-KEY', 'Bearer');
$apiInstance = new Swagger\Client\Api\ESignatureApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$app_id = 56; // int | Application Id
$body = new \Swagger\Client\Model\ApplicationField(); // \Swagger\Client\Model\ApplicationField |
try {
$result = $apiInstance->leadsApplicationsAppIdMappingsPost($app_id, $body);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ESignatureApi->leadsApplicationsAppIdMappingsPost: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
app_id | int | Application Id | |
body | \Swagger\Client\Model\ApplicationField | [optional] |
\Swagger\Client\Model\ApplicationField
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Swagger\Client\Model\BriefApplicationInfo[] leadsApplicationsGet()
Get a list of available applications
Get a list of available applications
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: Token
$config = Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('X-API-KEY', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-API-KEY', 'Bearer');
$apiInstance = new Swagger\Client\Api\ESignatureApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
try {
$result = $apiInstance->leadsApplicationsGet();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ESignatureApi->leadsApplicationsGet: ', $e->getMessage(), PHP_EOL;
}
?>
This endpoint does not need any parameter.
\Swagger\Client\Model\BriefApplicationInfo[]
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Swagger\Client\Model\InlineResponse20020 leadsLeadIdSignaturesApplicationIdGeneratePost($lead_id, $application_id, $body)
Generate an e-signature document
Generate a new electronic signature document and receive a signature-ready application URL.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: Token
$config = Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('X-API-KEY', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-API-KEY', 'Bearer');
$apiInstance = new Swagger\Client\Api\ESignatureApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$lead_id = 56; // int | Lead Id
$application_id = 56; // int | Application Id
$body = new \Swagger\Client\Model\Body8(); // \Swagger\Client\Model\Body8 |
try {
$result = $apiInstance->leadsLeadIdSignaturesApplicationIdGeneratePost($lead_id, $application_id, $body);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ESignatureApi->leadsLeadIdSignaturesApplicationIdGeneratePost: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
lead_id | int | Lead Id | |
application_id | int | Application Id | |
body | \Swagger\Client\Model\Body8 | [optional] |
\Swagger\Client\Model\InlineResponse20020
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Swagger\Client\Model\InlineResponse20021 leadsLeadIdSignaturesApplicationIdSendPost($lead_id, $application_id, $body)
Send an e-signature document
Send an e-signature document using an email template for signature.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: Token
$config = Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('X-API-KEY', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-API-KEY', 'Bearer');
$apiInstance = new Swagger\Client\Api\ESignatureApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$lead_id = 56; // int | Lead Id
$application_id = 56; // int | Application Id
$body = new \Swagger\Client\Model\Body9(); // \Swagger\Client\Model\Body9 |
try {
$result = $apiInstance->leadsLeadIdSignaturesApplicationIdSendPost($lead_id, $application_id, $body);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ESignatureApi->leadsLeadIdSignaturesApplicationIdSendPost: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
lead_id | int | Lead Id | |
application_id | int | Application Id | |
body | \Swagger\Client\Model\Body9 | [optional] |
\Swagger\Client\Model\InlineResponse20021
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Swagger\Client\Model\InlineResponse20022 leadsLeadIdSignaturesGet($lead_id, $page, $per_page)
Get a list of all lead e-signatures documents
Get a list of all lead e-signatures documents
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: Token
$config = Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('X-API-KEY', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-API-KEY', 'Bearer');
$apiInstance = new Swagger\Client\Api\ESignatureApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$lead_id = 56; // int | Lead Id
$page = 56; // int | Page number
$per_page = 56; // int | Count of records per page
try {
$result = $apiInstance->leadsLeadIdSignaturesGet($lead_id, $page, $per_page);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ESignatureApi->leadsLeadIdSignaturesGet: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
lead_id | int | Lead Id | |
page | int | Page number | [optional] |
per_page | int | Count of records per page | [optional] |
\Swagger\Client\Model\InlineResponse20022
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
string leadsSignaturesApplicationIdDownloadGet($application_id)
Download an e-signature document
Download an e-signature document.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: Token
$config = Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('X-API-KEY', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-API-KEY', 'Bearer');
$apiInstance = new Swagger\Client\Api\ESignatureApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$application_id = 56; // int | Application Id
try {
$result = $apiInstance->leadsSignaturesApplicationIdDownloadGet($application_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ESignatureApi->leadsSignaturesApplicationIdDownloadGet: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
application_id | int | Application Id |
string
- Content-Type: Not defined
- Accept: application/octet-stream, application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]