action traccar_get_positions { label: "Fetches a list of Positions" description: "We strongly recommend using [Traccar WebSocket API](https://www.traccar.org/traccar-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_." provider: traccar method: GET path: "/positions" encoding: json input: { type: "object" properties: { deviceId: { type: "integer" } from: { type: "string" format: "date-time" } id: { type: "integer" } to: { type: "string" format: "date-time" } } additionalProperties: false } output: { type: "array" items: { type: "object" properties: { accuracy: { type: "number" } address: { type: "string" } altitude: { type: "number" } attributes: { type: "object" properties: {} } course: { type: "number" } deviceId: { type: "integer" } deviceTime: { type: "string" format: "date-time" description: "in IS0 8601 format. eg. `1963-11-22T18:30:00Z`" } fixTime: { type: "string" format: "date-time" description: "in IS0 8601 format. eg. `1963-11-22T18:30:00Z`" } id: { type: "integer" } latitude: { type: "number" } longitude: { type: "number" } network: { type: "object" properties: {} } outdated: { type: "boolean" } protocol: { type: "string" } serverTime: { type: "string" format: "date-time" description: "in IS0 8601 format. eg. `1963-11-22T18:30:00Z`" } speed: { type: "number" description: "in knots" } valid: { type: "boolean" } } } } }