T
T
Teliver
Search…
Tracking
To integrate Teliver Live tracking on your website, you can use the following API to generate a web tracking url which can be used to embed in to your website. Let's see how to integrate a trip tracking in to your website. your api key can be found in your account dashboard under Integration.

Generating Web Tracking URL for Trip

1
GET https://api.teliver.xyz/v1/trips/trackingurl/{trip_id_here}?apikey=api_key_here
Copied!
ex: if your trip id is "59bcd46247688ef" then the url will be
1
https://api.teliver.xyz/v1/trips/trackingurl/59bcd46247688ef?apikey=api_key_here
Copied!

Generating Web Tracking URL for Task

1
GET https://api.teliver.xyz/v1/task/trackingurl/{task_id_here}?apikey=api_key_here
Copied!
ex: if your task id is "Hg6TeXSRF" then the url will be
1
https://api.teliver.xyz/v1/task/trackingurl/Hg6TeXSRF?apikey=api_key_here
Copied!
RESPONSE:
1
{
2
"message":"Trip - Web Url Generated",
3
"success":true,
4
"data":{
5
"webUrl":"http://track.teliver.io/ttrx/1aeaf230-a4f4-11e7-a2b1"
6
}
7
}
Copied!
You can use the above url directly to track a trip real-time or you can use an iframe to embeed it in your website as like below
1
<iframe src="http://track.teliver.io/ttrx/1aeaf230-a4f4-11e7-a2b1">
2
</iframe>
Copied!
Last modified 1yr ago