Webhooks
Endpoints
How to set them up
Contact support@timetac.com to set up the WebhookEndpoints
After the initial setup, webhook configs with the webhooks/create endpoint can be used.
For example:
- name:
Test hook
- url:
https://mydomain.com/hook
- webhook_endpoint_id:
<id>
from webhookEndpoints - active:
1
- secret:
mySecretKey
Payload
Payload of the webhook is the response the user performing the action gets back, for example, payload of timetracking/start is the timetracking entity.
Caching
The config for the endpoints is cached and TTL is 5 minutes.
The cache is also invalidated on webhook/update and webhook/delete.