Skip to content

iTransfer (5.0)

GPS tracking server API documentation.

Download OpenAPI description
Languages
Servers
Demo Server 1
https://demo.traccar.org/api
Operations
Operations
Operations
Operations

Request

Without any params, returns a list of the Groups the user belongs to

Security
BasicAuth or ApiKey
Query
allboolean

Can only be used by admins or managers to fetch all entities

userIdinteger

Standard users can use this only with their own userId

curl -i -X GET \
  -u <username>:<password> \
  'https://demo.traccar.org/api/groups?all=true&userId=0'

Responses

OK

Bodyapplication/jsonArray [
idinteger(int64)
namestring
groupIdinteger(int64)
attributesobject
]
Response
application/json
[ { "id": 0, "name": "string", "groupId": 0, "attributes": {} } ]

Request

Security
BasicAuth or ApiKey
Bodyapplication/jsonrequired
idinteger(int64)
namestring
groupIdinteger(int64)
attributesobject
curl -i -X POST \
  -u <username>:<password> \
  https://demo.traccar.org/api/groups \
  -H 'Content-Type: application/json' \
  -d '{
    "id": 0,
    "name": "string",
    "groupId": 0,
    "attributes": {}
  }'

Responses

OK

Bodyapplication/json
idinteger(int64)
namestring
groupIdinteger(int64)
attributesobject
Response
application/json
{ "id": 0, "name": "string", "groupId": 0, "attributes": {} }

Request

Security
BasicAuth or ApiKey
Path
idintegerrequired
Bodyapplication/jsonrequired
idinteger(int64)
namestring
groupIdinteger(int64)
attributesobject
curl -i -X PUT \
  -u <username>:<password> \
  'https://demo.traccar.org/api/groups/{id}' \
  -H 'Content-Type: application/json' \
  -d '{
    "id": 0,
    "name": "string",
    "groupId": 0,
    "attributes": {}
  }'

Responses

OK

Bodyapplication/json
idinteger(int64)
namestring
groupIdinteger(int64)
attributesobject
Response
application/json
{ "id": 0, "name": "string", "groupId": 0, "attributes": {} }

Request

Security
BasicAuth or ApiKey
Path
idintegerrequired
curl -i -X DELETE \
  -u <username>:<password> \
  'https://demo.traccar.org/api/groups/{id}'

Responses

No Content

Body
Operations

Permissions

User permissions and other object linking

Operations

Positions

Retrieving raw location information

Operations

Events

Retrieving event information

Operations
Operations

Notifications

User notifications management

Operations
Operations

Commands

Sending commands to devices and stored command management

Operations

Attributes

Computed attributes management

Operations
Operations
Operations
Operations

Statistics

Retrieving server statistics

Operations