WebhookResources Interface |
Namespace: Smartsheet.Api
The WebhookResources type exposes the following members.
Name | Description | |
---|---|---|
CreateWebhook | Creates a new Webhook. The request body is limited to name(required), callbackUrl (required), scope (required) scopeObjectId (required), events(required), version(required) It mirrors to the following Smartsheet REST API method:POST /webhooks | |
DeleteWebhook | Delete a webhook. It mirrors to the following Smartsheet REST API method: DELETE /webhooks/{webhookId} | |
GetWebhook | Gets the Webhook specified in the URL. It mirrors to the following Smartsheet REST API method: GET /webhooks/{webhookId} | |
ListWebhooks | Gets the list of all Webhooks that the user owns (if a user generated token was used to make the request) or the list of all Webhooks associated with the third-party app (if a third-party app made the request). Items in the response are ordered by API Client name, then Webhook name, then creation date. It mirrors to the following Smartsheet REST API method: GET /webhooks | |
ResetSharedSecret | Resets the shared secret for the specified Webhook. For more information about how a shared secret is used, see Authenticating Callbacks. The request body should be empty It mirrors to the following Smartsheet REST API method: POST /webhooks/{webhookId}/resetsharedsecret | |
UpdateWebhook | Updates the Webhook specified in the URL. The request body is limited to the name, events, callbackUrl, enabled and version attributes. It mirrors to the following Smartsheet REST API method: PUT /webhooks/{webhookId} |