Server
Server information
Fetch Server information
Response
OK
Bad request
Update Server information
Body
idinteger<int64>Unique server configuration identifier
registrationbooleanWhether new user registrations are allowed
readonlybooleanWhen true only administrators can modify server-wide settings
deviceReadonlybooleanDisallow device attribute changes for non-admins
limitCommandsbooleanRestrict command execution to supported protocol commands
mapstringDefault map layer identifier
bingKeystringBing Maps API key used when Bing is selected as a provider
mapUrlstringCustom tile server URL template if configured
poiLayerstringExternal point-of-interest layer configuration
announcementstringMessage displayed to all users in the web application
latitudenumberDefault map center latitude
longitudenumberDefault map center longitude
zoomintegerDefault map zoom level
versionstringTraccar server version string
forceSettingsbooleanForces users to use the server-wide settings instead of their own
coordinateFormatstringDefault coordinate format for displaying positions
openIdEnabledbooleanIndicates whether OpenID authentication is available
openIdForcebooleanRequire OpenID authentication for all users when enabled
attributesobjectAdditional server-level configuration values
Response
Authorization
BasicAuthhttp (basic)ApiKeyhttp (bearer)Reverse geocode coordinates
Parameters
latitudenumber<double>requiredquerylongitudenumber<double>requiredqueryResponse
OK
Unauthorized
Reverse geocoding is not enabled
Authorization
BasicAuthhttp (basic)ApiKeyhttp (bearer)Fetch available timezones
Response
OK
Unauthorized
Authorization
BasicAuthhttp (basic)ApiKeyhttp (bearer)Upload a server file
Body
Parameters
pathstringrequiredpathResponse
OK
Bad request
Authorization
BasicAuthhttp (basic)ApiKeyhttp (bearer)Trigger garbage collection
Response
OK
Unauthorized
Authorization
BasicAuthhttp (basic)ApiKeyhttp (bearer)Fetch cache diagnostics
Response
OK
Unauthorized
Authorization
BasicAuthhttp (basic)ApiKeyhttp (bearer)Reboot the server process
Response
OK
Bad request
Unauthorized
Authorization
BasicAuthhttp (basic)ApiKeyhttp (bearer)