Open b4ldr opened 1 month ago
Setting response headers to values taken from the request isn't supported, but you should be able to respond
with a JSON smartsheetHookResponse attribute
The key is that "include-command-output-in-response": true
allows you to generate the response body in your execute-command
by printing to standard output. Your command needs to understand this challenge message and print out the appropriate smartsheetHookResponse
JSON, and you'd also need to set "response-headers": [{"name": "Content-Type", "value": "application/json; charset=utf-8"}]
to make sure the webhook response is properly declared as JSON.
Hello,
First of all thanks for the great tool :)
I already use webhooks for a few things and so when looking to integrate some smartsheet workflows with a webhook it was the frist tool i reached for. However, there is with the smartsheets there is a verification process which happens when you first register the webhook and then once every 100 callbacks.
This verification process is described as follows:
From what i can see this is not something that would be currently supported in WebHook, please correct me if im wrong, and wondered, nah hoped you may like to add it as a feature. Unfortunatly i have done very little Go coding and don't think id be compitent enough to work up a PR.