Smartsheet webhooks in production: duplicates, ordering, retries and timeouts

Published · Updated

This guide covers the problems Smartsheet webhooks cause in production and how to handle each one. What Smartsheet sends and how to set it up is on the Smartsheet webhooks overview, every event type is on Smartsheet webhook events, and signature verification code is on Verify Smartsheet webhooks.

At a glance

ProblemWhat to doWith Event Gateway
Slow handlersReturn 200 once the callback is stored; fetch data in a background jobAnswers each callback at once, then queues it for your service
Repeated callbacksKey on event content; make handlers idempotentDrops repeats you define within a time window
OrderingFetch current state when order mattersLogs every event and attempt, so you can see what arrived when
Retries and disabled webhooksReturn exactly 200; use 503 for temporary failures; keep the challenge path workingAnswers the challenge and acknowledges callbacks, so your responses can't disable the webhook
Choosing eventsUse narrow events patterns; loop over every eventFilters whole callbacks on their body
TestingUse a scratch sheet and a public HTTPS URLForwards to localhost and replays past callbacks
Other limitsPlan for loops, API rate limits and per-webhook secretsDelivers at a rate you set

Slow Smartsheet handlers

Return 200 as soon as the callback is stored, then do the work in a background job. Smartsheet retries a callback that times out, but it doesn't publish the timeout, so don't plan around a number.

Why it happens: Callbacks are skinny. They carry ids and event types with no cell or row data, so handlers tend to call the Smartsheet API before responding. Smartsheet also sends one callback at a time per webhook and waits for each to finish, so a slow handler holds up everything behind it, and a timeout uses up a retry.

Fix it in your handler:

  1. Verify the signature, store the callback body and return 200 straight away. See why to process webhooks asynchronously.
  2. Fetch rows and cells from a worker, using the ids in the callback.
  3. Keep the request path free of calls to other services.

With Event Gateway: Hookdeck answers each Smartsheet callback with a 200 as soon as it arrives, then queues it and delivers to your service at a rate it can handle, with its own retries. Smartsheet's next callback doesn't wait on your handler.

Repeated Smartsheet callbacks

Smartsheet retries any callback that didn't get a 200, so your handler can see the same change twice. Key your processing on the content of each event.

Why it happens: A timeout or an error after your handler did its work still triggers a retry. Smartsheet describes nonce as distinct for each callback, but doesn't say whether a retried callback keeps it, so nonce isn't a proven deduplication key.

Duplicate webhooks are a separate case. If two webhooks share an object, an owner, a callbackUrl and a subscope, Smartsheet has sent one callback in total since January 2023, for the oldest enabled webhook. A second webhook created by mistake stays quiet, so it won't explain repeats.

Fix it in your handler:

  1. Build a key from webhookId and each event's objectType, eventType, ids and timestamp, and store it with a unique constraint.
  2. Make every handler idempotent. Because you fetch current state from the API anyway, processing a repeat usually costs one extra read.
  3. Before creating a webhook, check that the object doesn't already have an identical one, as Smartsheet recommends. Re-enable it if it's disabled.

With Event Gateway: Hookdeck deduplicates events within a time window you set, comparing the whole event or the fields you choose. It also answers Smartsheet straight away, so a slow handler no longer causes retries.

Smartsheet callback ordering

Smartsheet delivers one callback at a time per webhook but states no ordering guarantee. When order matters, fetch the current state from the API.

Why it happens: Serial delivery only applies within one webhook, and Smartsheet doesn't say how retries interact with it. A callback can also aggregate events with different timestamps, and on Smartsheet Commercial a one-minute debounce groups rapid changes before they're sent. Two webhooks on the same sheet have no stated order relative to each other.

Fix it in your handler:

  1. Fetch the row or sheet and act on what's there now, rather than replaying changes in the order you received them.
  2. Read timestamp on each event, not only the callback's, when you need to know when something happened.
  3. Don't assume the events array is sorted, because the docs don't say it is.

With Event Gateway: Hookdeck logs every event and attempt, so you can see arrival order when debugging. A retried callback can still reach your service after a later one, so keep the state fetch.

Retries and disabled Smartsheet webhooks

Return exactly 200. Smartsheet retries up to 14 times, seven on exponential backoff and then once every three hours, and it disables the webhook when a response rules out retries or they run out.

Why it happens: Which responses count as retryable depends on the webhook's scope:

ResponseSheet webhookPlan webhook
201 to 299Not retriedNot retried
309 to 399Not retriedNot retried
400 to 499, except belowRetriedNot retried
408, 429RetriedRetried
410Not retriedNot retried
500, 501 and 505 to 599RetriedNot retried
502, 503, 504RetriedRetried
TimeoutRetriedRetried
Any other statusNot retriedNot retried

A response that isn't retried disables the webhook with DISABLED_CALLBACK_FAILED. One 204 from a framework default is enough to switch off a sheet webhook, and one 500 is enough to switch off a plan webhook.

The verification challenge can do the same thing later. Smartsheet re-sends it once every 100 callbacks, so a receiver that only handled the first one, or a deploy that broke the challenge path, moves the webhook to DISABLED_VERIFICATION_FAILED, with no failed callback to explain it. While a webhook is disabled Smartsheet isn't monitoring for its events, so changes made in that time don't arrive later.

Fix it in your handler:

  1. Return 200 explicitly from every path that accepts a callback.
  2. Use 503 for temporary failures, since both scopes retry it. 500 is only safe on a sheet webhook.
  3. Check for Smartsheet-Hook-Challenge before any signature or body validation, and cover that path in your tests. Smartsheet's docs don't say the verification request is signed.
  4. Watch for a non-null newWebhookStatus. Smartsheet sends this status change callback when the owner loses access to the scope object, including when it's deleted, and again when access returns.
  5. Monitor status with GET /2.0/webhooks/{webhookId}, and re-enable with PUT and enabled: true, which runs the challenge again. This works for DISABLED_CALLBACK_FAILED, DISABLED_VERIFICATION_FAILED and DISABLED_BY_OWNER. DISABLED_SCOPE_INACCESSIBLE re-enables itself, DISABLED_ADMINISTRATIVE needs Smartsheet Support, and DISABLED_APP_REVOKED is final, so create a new webhook.
  6. After re-enabling, fetch the sheet to catch what changed while the webhook was off.

With Event Gateway: Hookdeck answers every Smartsheet-Hook-Challenge itself, with both the header and the JSON body, and those requests are never queued as events. It acknowledges each callback with a 200 whatever your service returns, so a 204 or an outage on your side can't disable the webhook. It then retries to your service on its own schedule.

Choosing Smartsheet events

Subscribe with the narrowest events patterns you can, and loop over every item in events, because one callback can hold several events of several types.

Why it happens: The default pattern is *.*, which sends everything on the sheet. Smartsheet aggregates events into one callback and no field names the callback's type, so a handler that reads events[0] misses the rest.

Fix it in your handler:

  1. Set events to the patterns you handle, such as ["row.created", "cell.updated"] or row.*. You can change them later with PUT /2.0/webhooks/{webhookId}.
  2. Limit a sheet webhook to certain columns with subscope.columnIds if that's all you need. You still get row.deleted when a row goes, even if its cell in that column was empty.
  3. Route on objectType and eventType for each item, and ignore types you don't handle.
  4. On a plan webhook, remember that wildcard patterns such as user.seatType.* also match event types Smartsheet adds later.

With Event Gateway: Hookdeck filters can match on the callback body, including array contents, but a filter passes or drops the whole callback. Narrow the patterns at Smartsheet first, and keep the loop in your handler.

Testing Smartsheet webhooks

Smartsheet's docs describe no test mode and no way to resend a callback, so test against a scratch sheet through a public HTTPS URL.

Why it's awkward: The callbackUrl needs a CA-signed certificate, a public address and port 443, 8000, 8008, 8080 or 8443, so localhost won't do. Smartsheet also publishes no sheet callback example, so you only learn the exact field details from real traffic.

How to test:

  1. Expose your handler with npx hookdeck-cli listen 3000 smartsheet --path /webhooks/smartsheet, and use the URL it prints as callbackUrl.
  2. Create and enable a webhook on a scratch sheet, then add a row and edit a cell.
  3. Save a few real callback bodies as fixtures, with their signatures, so you can test verification offline.
  4. Revoke and restore the webhook owner's access to the sheet to see a status change callback, since no example of one is published.

With Event Gateway: The Hookdeck CLI receives callbacks on your machine without a public server, and you can replay past events. Hookdeck answers the challenge, so enabling the webhook works before your local handler has any challenge code. Test that path separately if you might receive callbacks directly in production.

Other Smartsheet webhook limits

Plan for loops, API rate limits, per-webhook secrets and a seat type change before they reach production.

Loops. A handler that writes back to the sheet it watches fires another callback. Send a Smartsheet-Change-Agent header on your API writes. Its value comes back as changeAgent on the resulting events, as a comma-delimited list. Skip the event if the list includes your value. Otherwise, append a comma and your value when you write, so loops across several systems stop too. Smartsheet trims the header to 512 characters from the front.

API rate limits. Skinny callbacks mean every change costs API reads, and the general limit is 300 requests per minute per API token. Queue your fetches, and use bulk operations where you can.

One secret per webhook. Each webhook watches one sheet or plan and has its own sharedSecret. Look up the secret by webhookId if one handler serves several. Smartsheet allows up to 100 webhooks on a plan and 100,000 on a sheet.

Owner changes. A webhook created with direct API access deactivates if its owner is deactivated, though revoking the owner's token has no effect. A webhook created by a third-party app permanently deactivates if the app's permissions are revoked.

Seat types. Smartsheet set October 30, 2026 for CONTRIBUTOR to replace the deprecated VIEWER seat type in plan callbacks. Handle both as the seat type for internal, free-tier users.

Network. Smartsheet publishes a sending domain, webhooks.smartsheet.com, rather than IP addresses. Allow that domain if your firewall filters inbound traffic.

Resource Management. Resource Management by Smartsheet has its own webhook API with different events, such as project.created. This guide doesn't cover it.

With Event Gateway: Hookdeck delivers at a rate you configure, which keeps fetches from your handler under Smartsheet's API limit. Give each Smartsheet webhook its own source with that webhook's sharedSecret, and update the source when you reset the secret. Hookdeck answers verification requests itself, so if you want Smartsheet's suggested webhookId check, apply it to callbacks in your handler.

Keep a wrong status code from disabling your Smartsheet webhook.

Event Gateway answers Smartsheet's verification challenges, verifies the signature, acknowledges each callback with a 200 and queues it, then delivers to your service with its own retries.

Not affiliated with Smartsheet. Facts are compiled from public sources and linked inline.