Our Smartsheet integration has occasional need to create a webhook before it knows the ultimate URL for the callback. For several years, we have done this by supplying a dummy URL to the CreateWebhook (POST /webhooks) API and then before we verify that webhook, we update the URL with the POST /webhooks API and set it to enabled. This has worked fine for years.
This is not the normal path, but it is a mission-critical path. We follow this alternate path maybe only once or twice a month.
This morning, when attempting this path, for the very first time, the CreateWebhook (POST /webhooks) API responded with an error:
Error 1221: The value 'https://dummy.placeholder.com' is not valid for the attribute callbackUrl. (RG4qjj)
Please note that your own documentation at
https://developers.smartsheet.com/api/smartsheet/guides/webhooks/launch-a-webhook
states the following: You must have an event-handling endpoint - Although it isn't required to create a webhook, it is required to enable your webhook and receive notifications. If you haven't created an endpoint for your webhook, see Create an event-handling endpoint.