Webhook to enable notifications

webhook to enable notifications. what is a webhook?

A webhook (also called a web callback or HTTP push API) is a way for an app to provide other applications with real-time information.

A webhook delivers data to other applications as it happens, meaning you get data immediately.

therefore Webhooks are one of a few ways web applications can communicate with each other.

It allows you to send real-time data from one application to another whenever a given event occurs. For example, let’s say you’ve created an application using the Foursquare API that tracks when people check into your restaurant.


Tookan Webhook –

firstly For executing the Tookan Webhook, you have to follow the simple path –

Kindly go to Tookan Side Menu > Settings > Notifications >

Under Notifications we have webhooks for 3 Main main Triggers Pickup Notifications, Delivery Notifications and for Additional Notifications. And under these 3 events we have various eventss for Webhook.

In this document we will be covering the Pickup Notifications Trigger and it’s all events –

1. firstly Request Received

2. secondly Agent Started

3. Agent Arrived

4. Successful

5. Failed

6. Auto Allocation Started

7. lastly Auto Allocation Failed

For testing the Tookan webhooks, we are trying to integrate it with https://webhook.site/

1. Request Received – Whenever a new task is created on Tookan Request received event triggered up. conseqently For this event, first we have to go to our webhook website and have to find ‘’ Your unique URL ‘’ and then have to copy that ‘ Url ’ and 


then we have to go to Tookan Side Menu > Settings > Notifications > Pick up Notifications >  Request Received > Enable Webhook > Edit > 



Edit > Webhook > Webhook URL and then paste that Url that you had copied from website and click on update.



And then we have to create a test task to see the result on that website. For Example. The task created on Tookan side and the output on webhook site.


For the output on Webhook site please refer below screenshot



2.  Agent Started –
When an agent started with the accepted task, we can be able to see the output on webhook website. For this, firstly go to Tookan Side Menu > Settings > Notifications > Agent Started > Edit > Webhook > and  Webhook URL and then paste that Url that you had copied from website and click on update.


And for this event, the agent status will be shown busy on the Tookan admin dashboard.



Kindly follow the below screenshot for this webhook below-



3. Agent Arrived – 
 When an agent arrive on the pickup location and he changed the status from his device to Arrive it will automatically shown on the webhook side. The steps to enable the webhook for this event are same Tookan Side Menu > Settings > Notifications > Agent Arrive > Edit > Webhook > and  Webhook URL and then paste that Url that you had copied from website and click on update.

Output result of this webhook are as follows-

Settings Screenshot –


Tookan Dashboard Output –


Webhook Site Output –


4.  Successful –
 When an agent arrive on the pickup location and he changed the status from his device to successful it will automatically shown on the webhook side.




Settings Screenshot –

Tookan Side output Screenshot –



Webhook Site Output –

5 . Failed – When an agent changed the task status to failed from his device to failed it will automatically shown on the webhook side.


Settings Screenshot –



finally Tookan Webhook Result –

Was this article helpful?

Related Articles

Leave A Comment?