Dear Traccar Support Team,
I hope you are doing well.
I am currently integrating Traccar with Salesforce to retrieve device location data and generate a tracking link programmatically. My goal is to retrieve the tracking link for a specific device using the API and send it via Salesforce (e.g., through email, WhatsApp, or SMS).
I have successfully authenticated and retrieved device positions using the /api/positions endpoint. However, I am unsure how to correctly generate and share a public tracking link for a given deviceId via the API.
Could you please confirm:
Which API endpoint should be used to retrieve a shareable tracking link for a device?
Is there an existing API parameter to generate a public tracking link, or do we need to construct it manually (e.g., https://demo.traccar.org/?id=DEVICE_ID
)?
If manual construction is required, what is the correct format and required parameters?
Is it possible to generate a temporary or one-time tracking link that expires after a certain period?
Any guidance or best practices on this integration would be greatly appreciated.
Thank you for your support.
Dear Traccar Support Team,
I hope you are doing well.
I am currently integrating Traccar with Salesforce to retrieve device location data and generate a tracking link programmatically. My goal is to retrieve the tracking link for a specific device using the API and send it via Salesforce (e.g., through email, WhatsApp, or SMS).
I have successfully authenticated and retrieved device positions using the /api/positions endpoint. However, I am unsure how to correctly generate and share a public tracking link for a given deviceId via the API.
Could you please confirm:
Which API endpoint should be used to retrieve a shareable tracking link for a device?
Is there an existing API parameter to generate a public tracking link, or do we need to construct it manually (e.g.,
https://demo.traccar.org/?id=DEVICE_ID
)?If manual construction is required, what is the correct format and required parameters?
Is it possible to generate a temporary or one-time tracking link that expires after a certain period?
Any guidance or best practices on this integration would be greatly appreciated.
Thank you for your support.