New Discord and API Webhooks for external Drivers’ Hub
This update introduces the ability to actively connect external Drivers’ Hubs by sending data immediately and in real time as soon as an event happens.
Until now, Trucky offered data from the VTC Hub in “passive” mode, i.e., pull: the developer had to read the data using our API in read-only mode.
In addition, the Webhook Discord management system has been completely rewritten.
New event-driven configuration for Discord Webhooks
It is now possible to configure multiple Webhooks and individually select which events to send in each channel.
The possibilities are almost endless, you can choose from dozens of different events that will fit public channels and private channels.
You can, even, choose to split events related to a single game to a different channel.
API Webhooks
The same events that can be sent in Webhooks for Discord can also be sent via API Webhooks by actively integrating external Drivers’ Hubs, created by you, so that everything that happens on Trucky is sent to your system.
You can choose to receive only delivery-related events or even any events, even those related to the business side.
Then, on the other side, on your system, you can use this data to create incredible statistics or award prizes to your members.
Detailed documentation is available here
API Webhooks can be used to develop a custom Discord bot. Curious how? Take a look here
If you are using Laravel, we have prepared also a small package to integrate quickly Trucky Webhooks, trucky/webhooks
Security in Webhooks
To ensure that HTTP requests from Webhooks are secure, you can generate a Secret Key with which each request will be signed using the HMAC SHA256.
Detailed documentation is available here
API in Write Mode
The API has been further augmented to offer a new dedicated endpoint for receiving events from your Drivers’ Hub: adding and removing members from your company: if you have a recruiting system and do not want to manage them on Trucky as well, from your Drivers’ Hub it will be possible to send write events to Trucky by adding or removing members on Trucky as well.
Detailed documentation is available here
If you need a full introduction on how integrate with Trucky, please read carefully the full documentation article available here where you can find a lot of examples on how work with Trucky API.
We are working with external Drivers’ Hub developers to integrate Trucky as soon as possible.
What do you think about this announcement? Do you have something to suggest or do you have something to report? Come to our Discord and let’s talk about it!
Recent Posts
Categories
Archives
- June 2024
- May 2024
- January 2024
- December 2023
- November 2023
- September 2023
- August 2023
- July 2023
- June 2023
- May 2023
- April 2023
- March 2023
- February 2023
- January 2023
- November 2022
- October 2022
- September 2022
- July 2022
- June 2022
- May 2022
- March 2022
- February 2022
- January 2022
- November 2021
- October 2021
- September 2021
- August 2021
- July 2021
- June 2021
- May 2021
- April 2021
- March 2021
- February 2021
- January 2021
- December 2020
- October 2020
- September 2020
- August 2020
- July 2020
- June 2020
- May 2020
- April 2020
- March 2020
- December 2019
- October 2019
- September 2019
- May 2019
- February 2019
- December 2018
- November 2018
- October 2018
- August 2018
- July 2018
- June 2018
- May 2018
- April 2018
- March 2018
- February 2018
- January 2018