Users and access
Share
Share devices and groups
Share device location
POST
https://demo.traccar.org/api/share/device
Body
application/x-www-form-urlencoded
deviceIdintegerrequiredexpirationstring<date-time>requiredResponse
200OKstring
OK
Response fields text/plain
string
403Forbidden
Sharing is disabled or temporary user
Authorization
BasicAuthhttp (basic)ApiKeyhttp (bearer)Share group devices
POST
https://demo.traccar.org/api/share/group
Body
application/x-www-form-urlencoded
groupIdintegerrequiredexpirationstring<date-time>requiredResponse
200OKstring
OK
Response fields text/plain
string
403Forbidden
Sharing is disabled or temporary user
Authorization
BasicAuthhttp (basic)ApiKeyhttp (bearer)