Booking widget and owner web links · For businesses
Connect Trusthound to Zapier, Make or Pipedream with a webhook
Last reviewed
The short answer
A webhook lets Trusthound tell another tool the moment something happens, such as a booking being confirmed or an invoice paid. Zapier, Make and Pipedream can all start a workflow when they receive a webhook, with no code. Trusthound does not have an official Zapier app, so you connect with a webhook (and, if you want to read or create things, an API key). Only the business owner can set this up.
Steps
- In your tool, start a new workflow with a webhook trigger. In Zapier this is Webhooks by Zapier, Catch Hook. In Make it is Webhooks, Custom webhook. In Pipedream it is an HTTP / Webhook trigger. Copy the web address it gives you. It must start with https://.
- In Trusthound, open Settings, then Connections.
- Under Webhooks, choose Add a webhook. Paste the web address, choose the events you want (choose none to get every event), and save.
- Copy the signing secret that is shown. It is shown once. Choose New secret later if you lose it.
- Choose Send a test. The test arrives as a Test message, so your tool can see what the data looks like.
- Build the rest of your workflow from the test message, then turn the workflow on.
- Check Delivery log, further down the same page, to see every message, how your tool answered and whether it was tried again.

What is sent
Booking created, confirmed, cancelled and completed. Invoice issued and paid. Client created. Vaccination expiring. Review request sent. Each message has an event id, the event type, your business id and the details (for example the booking or invoice). Door codes, access notes, private notes and health records are never sent.
If your tool does not answer with a success code (2xx), Trusthound tries again after 1 minute, 5 minutes, 30 minutes, 2 hours, 6 hours and 24 hours, then marks the message Failed. You can send a failed message again by hand. If a webhook fails ten messages in a row it is switched off, and you turn it back on after fixing it. The same event id is used for every try, so your workflow can ignore a message it has already handled.
Checking a message really came from Trusthound
Each message has a header, Trusthound-Signature, that looks like t=1760000000,v1=abc123. Build the text "timestamp.body" from the t value, a full stop and the raw body, sign it with HMAC-SHA256 using your signing secret, and compare the result with v1. Refuse messages whose timestamp is more than five minutes old. Zapier, Make and Pipedream do not need this step unless you want it.
Reading and creating things (API keys)
To read clients, dogs, bookings, services and invoices, or to create clients and bookings, make an API key under Connections, API keys. Choose only the scopes the tool needs and keep the key secret: it is shown once. Send it as Authorization: Bearer followed by the key. Each key has its own limit on requests a minute and shows when it was last used. Revoke it to stop it at once. The API starts with https://api.trusthoundapp.com/api/public/v1 and its OpenAPI description is at /api/public/v1/openapi.json.
Was this helpful?