Set Up and Edit Webhooks
You can set up and edit webhook from the Thy Street Dashboard.
Last updated
You can set up and edit webhook from the Thy Street Dashboard.
Last updated
Before you begin, get access to the Thy Street Dashboard by creating an account; make sure you have gone through:
Create DeviceAPI CredentialsLogin into the Thy Street Dashboard and navigate to the Devices page.
Search and click on your device card.
Under the Details section, hover on Integration and Click on icon.
In the Device Integration pop-up page
Enter the URL where you want to receive the webhook payload when an event is triggered. We recommend using an HTTPS URL. You can use other protocols by writing your own custom adapter.
Enter a Secret for the endpoint. The secret is used to validate that the webhook is from Thy Street. Learn more about how to validate and test webhooks.
Click on Save Endpoint to save changes.
Webhook URLs ****Webhooks can only be delivered to public URLs.
All webhook responses must return a status code in the range of 2XX within a window of 6 seconds. If we receive response codes other than this or the request times out, it is considered a failure.
Secret for Webhooks
When setting up the Webhooks, you will be asked to specify a secret. Using this secret, you can validate that the webhook is from Thy Street. The Secret should never be exposed publicly.
The webhook secret doesn't need to be the API key provided for your account.
You can edit your webhook to replace the webhook URL and modify the secret.
To edit webhooks:
Log into the Thy Street Dashboard and navigate to your Device page
The Device Integration pop-up page is displayed. You can modify the following:
Webhook URL
Secret
Click on Save Endpoint to save changes.
Next Steps
You should validate and test your webhooks before you go live.
Under the Details section, hover on your webhook link and click on