Documentation Team and integrations
Get alerts in your tools with webhooks
Have another service notified when an invoice is paid or reminded: setup, events, signature to check, history and retries.
Updated
Pro plan
What it is for
A webhook is a web address of your choice that TimeGobbler calls by itself when something happens, for example an invoice being paid, so another tool (yours or a provider's) can react without you doing anything.
Setting it up takes someone who knows how to receive a web request: the address must be ready to answer. Only owners and admins can manage webhooks.
Add a receiving address
- Open Settings, then the Integrations tab, and find the Webhooks card.
- Click the orange add button at the top right of the card.
- Enter the Destination URL. It must start with
https://. - Tick the events you want under Subscribed events, or Subscribe to all events (\*).
- Click the save button at the bottom of the window.

TimeGobbler then shows the Signing secret. Copy it with Copy and keep it in your receiving tool, then click I have saved the secret.
Which events are sent
The form groups them in three: Invoices, Payments and Quotes. Today, TimeGobbler really sends these five events:
- Invoice created (
invoice.created), only for an invoice generated by a recurring invoice; - Invoice paid (
invoice.paid) and Invoice partially paid (invoice.partially_paid); - Reminder sent (
invoice.reminder_sent), with the reminder stage; - Payment received (
payment.received), when a payment is recorded.
The content sent is deliberately short: an event identifier (id), the event name (event), the date (created_at), the workspace (workspace_id), the identifier of the invoice or payment (entity_id) and an extra block with a few details.
Check the signature
Each call is a JSON POST, with the X-TG-Signature header in the form t=<timestamp>,v1=<signature>, and the X-TG-Event header giving the event name. To check that a call really comes from TimeGobbler:
- Read the timestamp
tand the signaturev1from the header. - Compute an HMAC SHA-256, in hexadecimal, of the string
timestamp.bodywith your secret: the timestamp, a dot, then the request body exactly as received, unchanged. - Compare the result with
v1. If they differ, reject the call.
Test and follow deliveries
On the row of an address, Test sends a webhook.test event even if you did not tick it. The Test result window shows Delivered or Failed with the HTTP code, and the response received.
Deliveries opens Recent deliveries: the last 50 attempts, newest first, with the Event, the Status, the HTTP code, the Attempt number, the creation date and your server's Response. A test does not appear there.
A delivery succeeds when your address answers with a 2xx code in under 5 seconds. A redirect counts as a failure. TimeGobbler refuses addresses without HTTPS, those containing a user name or password, private or local addresses, and ports other than 443 or 8443.
Retries and automatic disabling
If a delivery fails, TimeGobbler tries again at the earliest 6 hours later, up to 4 attempts in total (the first one plus three retries). Retries go out the next time the automatic tasks run or when a member of the workspace uses the app, so the real delay can exceed 6 hours.
An address that keeps failing is disabled automatically: after 12 failures in a row, or if more than 7 days have passed since its last success. An email warns the owner. A successful delivery resets the failure counter.
- A disabled address shows the Disabled badge; fix the problem, then click Enable.
- Edit changes the URL or the events, Disable pauses it, Delete disables it, but it stays in the list with the Disabled badge and its history is kept.
Read next
Create an invoice from your tracked time
Pick a client and a period, load the billable entries, adjust the lines, validate, then send the invoice as a Factur-X PDF.
Automatic reminders and recorded payments
Set the three reminders sent after the due date, follow them on the invoice, send one by hand and record the payments you received, in full or in part.
A question?
Write to us: we answer by email.