Click or drag to resize

WebhookResources Interface

Namespace:  Smartsheet.Api
Assemblies:   smartsheet-csharp-sdk (in smartsheet-csharp-sdk.dll) Version: 2.126.0
  smartsheet-csharp-sdk (in smartsheet-csharp-sdk.dll) Version: 2.126.0
Syntax
public interface WebhookResources

The WebhookResources type exposes the following members.

Methods
  NameDescription
Public methodCreateWebhook

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

Public methodDeleteWebhook

Delete a webhook.

It mirrors to the following Smartsheet REST API method: DELETE /webhooks/{webhookId}

Public methodGetWebhook

Gets the Webhook specified in the URL.

It mirrors to the following Smartsheet REST API method: GET /webhooks/{webhookId}

Public methodListWebhooks

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

Public methodResetSharedSecret

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

Public methodUpdateWebhook

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}

Top
See Also