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 |
WebhookSubscription webhooksCreate(data)
Create a Webhook
var SignrequestClient = require('signrequest-client');
var defaultClient = SignrequestClient.ApiClient.instance;
// Configure API key authorization: Token
var Token = defaultClient.authentications['Token'];
Token.apiKey = 'YOUR API KEY';
Token.apiKeyPrefix = 'Token';
var apiInstance = new SignrequestClient.WebhooksApi();
var data = new SignrequestClient.WebhookSubscription(); // WebhookSubscription |
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.webhooksCreate(data, callback);| Name | Type | Description | Notes |
|---|---|---|---|
| data | WebhookSubscription |
- Content-Type: application/json
- Accept: application/json
webhooksDelete(uuid, )
Delete a Webhook
var SignrequestClient = require('signrequest-client');
var defaultClient = SignrequestClient.ApiClient.instance;
// Configure API key authorization: Token
var Token = defaultClient.authentications['Token'];
Token.apiKey = 'YOUR API KEY';
Token.apiKeyPrefix = 'Token';
var apiInstance = new SignrequestClient.WebhooksApi();
var uuid = "uuid_example"; // String |
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
};
apiInstance.webhooksDelete(uuid, , callback);| Name | Type | Description | Notes |
|---|---|---|---|
| uuid | String |
null (empty response body)
- Content-Type: application/json
- Accept: application/json
InlineResponse2009 webhooksList(opts)
Retrieve a list of Webhooks
var SignrequestClient = require('signrequest-client');
var defaultClient = SignrequestClient.ApiClient.instance;
// Configure API key authorization: Token
var Token = defaultClient.authentications['Token'];
Token.apiKey = 'YOUR API KEY';
Token.apiKeyPrefix = 'Token';
var apiInstance = new SignrequestClient.WebhooksApi();
var opts = {
'page': 56, // Number | A page number within the paginated result set.
'limit': 56 // Number | Number of results to return per page.
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.webhooksList(opts, callback);| Name | Type | Description | Notes |
|---|---|---|---|
| page | Number | A page number within the paginated result set. | [optional] |
| limit | Number | Number of results to return per page. | [optional] |
- Content-Type: application/json
- Accept: application/json
WebhookSubscription webhooksPartialUpdate(uuid, data)
Partially update a Webhook
var SignrequestClient = require('signrequest-client');
var defaultClient = SignrequestClient.ApiClient.instance;
// Configure API key authorization: Token
var Token = defaultClient.authentications['Token'];
Token.apiKey = 'YOUR API KEY';
Token.apiKeyPrefix = 'Token';
var apiInstance = new SignrequestClient.WebhooksApi();
var uuid = "uuid_example"; // String |
var data = new SignrequestClient.WebhookSubscription(); // WebhookSubscription |
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.webhooksPartialUpdate(uuid, data, callback);| Name | Type | Description | Notes |
|---|---|---|---|
| uuid | String | ||
| data | WebhookSubscription |
- Content-Type: application/json
- Accept: application/json
WebhookSubscription webhooksRead(uuid, )
Retrieve a Webhook
var SignrequestClient = require('signrequest-client');
var defaultClient = SignrequestClient.ApiClient.instance;
// Configure API key authorization: Token
var Token = defaultClient.authentications['Token'];
Token.apiKey = 'YOUR API KEY';
Token.apiKeyPrefix = 'Token';
var apiInstance = new SignrequestClient.WebhooksApi();
var uuid = "uuid_example"; // String |
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.webhooksRead(uuid, , callback);| Name | Type | Description | Notes |
|---|---|---|---|
| uuid | String |
- Content-Type: application/json
- Accept: application/json
WebhookSubscription webhooksUpdate(uuid, data)
Update a Webhook
var SignrequestClient = require('signrequest-client');
var defaultClient = SignrequestClient.ApiClient.instance;
// Configure API key authorization: Token
var Token = defaultClient.authentications['Token'];
Token.apiKey = 'YOUR API KEY';
Token.apiKeyPrefix = 'Token';
var apiInstance = new SignrequestClient.WebhooksApi();
var uuid = "uuid_example"; // String |
var data = new SignrequestClient.WebhookSubscription(); // WebhookSubscription |
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.webhooksUpdate(uuid, data, callback);| Name | Type | Description | Notes |
|---|---|---|---|
| uuid | String | ||
| data | WebhookSubscription |
- Content-Type: application/json
- Accept: application/json