Blame

9afb56 Hargata Softworks 2024-03-16 21:44:40 1
# Webhook
2
3
To add a webhook to LubeLogger, you just have to inject the environment variable "LUBELOGGER_WEBHOOK" with the Webhook URL.
4
5
Example payload:
6
78e4ff Hargata Softworks 2024-12-31 15:40:40 7
![](/Advanced/Webhook/a/image-1735659450213.png)
9afb56 Hargata Softworks 2024-03-16 21:44:40 8
9
Triggers:
10
11
- Vehicle - Create/Edit/Delete
12
- Service Record/Repair/Upgrade - Create/Edit/Delete/Move/Adjust Odometer/Duplicate
684e6b Hargata Softworks 2024-03-16 21:45:06 13
- Odometer - Create/Edit/Delete/Adjust Odometer/Duplicate
9afb56 Hargata Softworks 2024-03-16 21:44:40 14
- Fuel/Tax/Supply/Notes/Reminders - Create/Edit/Delete/Duplicate
15
16
Adding records via the API will also trigger the above webhook.
78e4ff Hargata Softworks 2024-12-31 15:40:40 17
18
## Discord Webhook
19
6ef5ff Hargata Softworks 2025-01-02 17:29:12 20
LubeLogger supports using Discord Chatrooms as a webhook as of 1.4.2, to use Discord as a webhook, change the `https://` in the beginning of the webhook URL to `discord://`
78e4ff Hargata Softworks 2024-12-31 15:40:40 21
6e2bc3 Hargata Softworks 2024-12-31 15:41:08 22
`https://discord.com/api/webhooks/...`
23
24
will turn into
25
26
`discord://discord.com/api/webhooks/...`
78e4ff Hargata Softworks 2024-12-31 15:40:40 27
28
Example Discord Webhook Payload:
29
30
![](/Advanced/Webhook/a/image-1735659580169.png)