All URIs are relative to https://signrequest.com/api/v1
Method | HTTP request | Description |
---|---|---|
webhooksCreate | POST /webhooks/ | Create a Webhook |
webhooksDelete | DELETE /webhooks/{uuid}/ | Delete a Webhook |
webhooksList | GET /webhooks/ | Retrieve a list of Webhooks |
webhooksPartialUpdate | PATCH /webhooks/{uuid}/ | Partially update a Webhook |
webhooksRead | GET /webhooks/{uuid}/ | Retrieve a Webhook |
webhooksUpdate | PUT /webhooks/{uuid}/ | Update a Webhook |
\SignRequest\Model\WebhookSubscription webhooksCreate($data)
Create a Webhook
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: Token
$config = SignRequest\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
$config = SignRequest\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Token');
$apiInstance = new SignRequest\Api\WebhooksApi(
// 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
);
$data = new \SignRequest\Model\WebhookSubscription(); // \SignRequest\Model\WebhookSubscription |
try {
$result = $apiInstance->webhooksCreate($data);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling WebhooksApi->webhooksCreate: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
data | \SignRequest\Model\WebhookSubscription |
\SignRequest\Model\WebhookSubscription
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
webhooksDelete($uuid)
Delete a Webhook
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: Token
$config = SignRequest\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
$config = SignRequest\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Token');
$apiInstance = new SignRequest\Api\WebhooksApi(
// 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
);
$uuid = "uuid_example"; // string |
try {
$apiInstance->webhooksDelete($uuid);
} catch (Exception $e) {
echo 'Exception when calling WebhooksApi->webhooksDelete: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
uuid | string |
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]
\SignRequest\Model\InlineResponse2009 webhooksList($page, $limit)
Retrieve a list of Webhooks
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: Token
$config = SignRequest\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
$config = SignRequest\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Token');
$apiInstance = new SignRequest\Api\WebhooksApi(
// 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
);
$page = 56; // int | A page number within the paginated result set.
$limit = 56; // int | Number of results to return per page.
try {
$result = $apiInstance->webhooksList($page, $limit);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling WebhooksApi->webhooksList: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
page | int | A page number within the paginated result set. | [optional] |
limit | int | Number of results to return per page. | [optional] |
\SignRequest\Model\InlineResponse2009
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\SignRequest\Model\WebhookSubscription webhooksPartialUpdate($uuid, $data)
Partially update a Webhook
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: Token
$config = SignRequest\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
$config = SignRequest\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Token');
$apiInstance = new SignRequest\Api\WebhooksApi(
// 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
);
$uuid = "uuid_example"; // string |
$data = new \SignRequest\Model\WebhookSubscription(); // \SignRequest\Model\WebhookSubscription |
try {
$result = $apiInstance->webhooksPartialUpdate($uuid, $data);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling WebhooksApi->webhooksPartialUpdate: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
uuid | string | ||
data | \SignRequest\Model\WebhookSubscription |
\SignRequest\Model\WebhookSubscription
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\SignRequest\Model\WebhookSubscription webhooksRead($uuid)
Retrieve a Webhook
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: Token
$config = SignRequest\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
$config = SignRequest\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Token');
$apiInstance = new SignRequest\Api\WebhooksApi(
// 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
);
$uuid = "uuid_example"; // string |
try {
$result = $apiInstance->webhooksRead($uuid);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling WebhooksApi->webhooksRead: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
uuid | string |
\SignRequest\Model\WebhookSubscription
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\SignRequest\Model\WebhookSubscription webhooksUpdate($uuid, $data)
Update a Webhook
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: Token
$config = SignRequest\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
$config = SignRequest\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Token');
$apiInstance = new SignRequest\Api\WebhooksApi(
// 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
);
$uuid = "uuid_example"; // string |
$data = new \SignRequest\Model\WebhookSubscription(); // \SignRequest\Model\WebhookSubscription |
try {
$result = $apiInstance->webhooksUpdate($uuid, $data);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling WebhooksApi->webhooksUpdate: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
uuid | string | ||
data | \SignRequest\Model\WebhookSubscription |
\SignRequest\Model\WebhookSubscription
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]