v1
latestOpenAPI 3.0.32026-08-061874701.5 MBUpdate webhook
Updates the matching Webhook.
Important: If you set enabled to true, the behavior and result depend on the webhook's status and may trigger a webhook verification or, in some cases, cause an error. See Webhook status for details.
Note: You can pass custom headers in your webhook requests, which Smartsheet then adds to all requests that the webhook sends to your callback URL. This is useful for including authentication tokens or other information your application needs. To do this, add a customHeaders object to the request body, with each key-value pair representing a header and its value.
See also:
- customHeaders body parameter in the Body section below
- Launch a plan-level webhook
- Create a plan event-handling endpoint article
Note: For sheet webhooks, you can update the events array to filter which events trigger callbacks. Specify event patterns like ["row.created", "cell.updated"], or use ["*.*"] to receive all event types. See the events property for supported patterns.
Headers
Required for POST and PUT requests. Defines the structure for the request body.
Request body
Example request
{
"callbackUrl": "https://www.myApp.com/webhooks",
"name": "My webhook",
"id": 8444254503626628,
"apiClientId": "555555",
"apiClientName": "Awesome Smartsheet Application",
"sharedSecret": "216ejjzdnq17mq1q8xs7d4hu8b",
"events": [
"*.*"
],
"scope": "sheet",
"scopeObjectId": 3285357287499652,
"status": "NEW_NOT_VERIFIED",
"version": 1,
"customHeaders": {
"YOUR_CUSTOM_HEADER_KEY_1": "YOUR_CUSTOM_HEADER_VALUE_1",
"YOUR_CUSTOM_HEADER_KEY_2": "YOUR_CUSTOM_HEADER_VALUE_2"
},
"enabled": true
}Response
Result object containing the Webhook object for the updated webhook
Example response
{
"message": "SUCCESS",
"result": {
"callbackUrl": "https://www.myApp.com/webhooks",
"name": "My webhook",
"id": 8444254503626628,
"apiClientId": "555555",
"apiClientName": "Awesome Smartsheet Application",
"sharedSecret": "216ejjzdnq17mq1q8xs7d4hu8b",
"events": [
"*.*"
],
"scope": "plan",
"scopeObjectId": 3285357287499652,
"status": "NEW_NOT_VERIFIED",
"version": 1,
"customHeaders": {
"YOUR_CUSTOM_HEADER_KEY_1": "YOUR_CUSTOM_HEADER_VALUE_1",
"YOUR_CUSTOM_HEADER_KEY_2": "YOUR_CUSTOM_HEADER_VALUE_2"
}
}
}