Traccar API
Mock the Traccar API in seconds. Open Source GPS Tracking Platform
[01]
About
Mock the Traccar API as a turnkey Mockzilla sim with 61 OpenAPI endpoints, realistic JSON payloads, no upstream signup or sandbox keys. Open Source GPS Tracking Platform Methods: 23x GET, 14x POST, 12x DELETE, 12x PUT. Top resource groups: Commands, Notifications, Devices, Reports. Hit https://api.justmocks.com/traccar for the Mockzilla API Explorer landing and per-endpoint sample requests.
Endpoints
61 across 17 resource groups
Methods
GET 23 · POST 14 · PUT 12 · DEL 12 none deprecated
OpenAPI
3.0.1 spec version 5.6
Source spec
56 KB · YAML
[02]
Endpoints
| GET |
/attributes/computed
|
Fetch a list of Attributes Without params, it returns a list of Attributes the user has access to. Mocked via Mockzilla.
|
| POST |
/attributes/computed
|
Create an Attribute
|
| DEL |
/attributes/computed/{id}
|
Delete an Attribute
|
| PUT |
/attributes/computed/{id}
|
Update an Attribute
|
| GET |
/calendars
|
Fetch a list of Calendars Without params, it returns a list of Calendars the user has access to
|
| POST |
/calendars
|
Create a Calendar
|
| DEL |
/calendars/{id}
|
Delete a Calendar
|
| PUT |
/calendars/{id}
|
Update a Calendar
|
| GET |
/commands
|
Fetch a list of Saved Commands Without params, it returns a list of Saved Commands the user has access to
|
| POST |
/commands
|
Create a Saved Command
|
| GET |
/commands/send
|
Fetch a list of Saved Commands supported by Device at the moment Return a list of saved commands linked to Device and its groups, filtered by current Device protocol support
|
| POST |
/commands/send
|
Dispatch commands to device Dispatch a new command or Saved Command if body.id set
|
| GET |
/commands/types
|
Fetch a list of available Commands for the Device or all possible Commands if Device ommited
|
| DEL |
/commands/{id}
|
Delete a Saved Command
|
| PUT |
/commands/{id}
|
Update a Saved Command
|
| GET |
/devices
|
Fetch a list of Devices Without any params, returns a list of the user's devices. Available as a Mockzilla mock endpoint.
|
| POST |
/devices
|
Create a Device
|
| DEL |
/devices/{id}
|
Delete a Device
|
| PUT |
/devices/{id}
|
Update a Device
|
| PUT |
/devices/{id}/accumulators
|
Update total distance and hours of the Device
|
| GET |
/drivers
|
Fetch a list of Drivers Without params, it returns a list of Drivers the user has access to
|
| POST |
/drivers
|
Create a Driver
|
| DEL |
/drivers/{id}
|
Delete a Driver
|
| PUT |
/drivers/{id}
|
Update a Driver
|
| GET |
/events/{id}
|
|
| GET |
/geofences
|
Fetch a list of Geofences Without params, it returns a list of Geofences the user has access to
|
| POST |
/geofences
|
Create a Geofence
|
| DEL |
/geofences/{id}
|
Delete a Geofence
|
| PUT |
/geofences/{id}
|
Update a Geofence
|
| GET |
/groups
|
Fetch a list of Groups Without any params, returns a list of the Groups the user belongs to
|
| POST |
/groups
|
Create a Group
|
| DEL |
/groups/{id}
|
Delete a Group
|
| PUT |
/groups/{id}
|
Update a Group
|
| GET |
/maintenance
|
Fetch a list of Maintenance Without params, it returns a list of Maintenance the user has access to
|
| POST |
/maintenance
|
Create a Maintenance
|
| DEL |
/maintenance/{id}
|
Delete a Maintenance
|
| PUT |
/maintenance/{id}
|
Update a Maintenance
|
| GET |
/notifications
|
Fetch a list of Notifications Without params, it returns a list of Notifications the user has access to. Mockzilla mock: no signup, no API key.
|
| POST |
/notifications
|
Create a Notification
|
| POST |
/notifications/test
|
Send test notification to current user via Email and SMS
|
| GET |
/notifications/types
|
Fetch a list of available Notification types
|
| DEL |
/notifications/{id}
|
Delete a Notification
|
| PUT |
/notifications/{id}
|
Update a Notification
|
| DEL |
/permissions
|
Unlink an Object from another Object
|
| POST |
/permissions
|
Link an Object to another Object
|
| GET |
/positions
|
Fetches a list of Positions We strongly recommend using Traccar WebSocket API instead of periodically polling positions endpoint. Without any params, it returns a list of last known positions for all the user's Devices. from and to fields are not required with id.
|
| GET |
/reports/events
|
Fetch a list of Events within the time period for the Devices or Groups At least one deviceId or one groupId must be passed
|
| GET |
/reports/route
|
Fetch a list of Positions within the time period for the Devices or Groups At least one deviceId or one groupId must be passed
|
| GET |
/reports/stops
|
Fetch a list of ReportStops within the time period for the Devices or Groups At least one deviceId or one groupId must be passed
|
| GET |
/reports/summary
|
Fetch a list of ReportSummary within the time period for the Devices or Groups At least one deviceId or one groupId must be passed. Served by the Mockzilla mock runtime.
|
| GET |
/reports/trips
|
Fetch a list of ReportTrips within the time period for the Devices or Groups At least one deviceId or one groupId must be passed
|
| GET |
/server
|
Fetch Server information
|
| PUT |
/server
|
Update Server information
|
| DEL |
/session
|
Close the Session
|
| GET |
/session
|
Fetch Session information
|
| POST |
/session
|
Create a new Session
|
| GET |
/statistics
|
Fetch server Statistics
|
| GET |
/users
|
Fetch a list of Users
|
| POST |
/users
|
Create a User
|
| DEL |
/users/{id}
|
Delete a User
|
| PUT |
/users/{id}
|
Update a User
|