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
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

Request

Without params, it returns a list of Notifications the user has access 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

deviceIdinteger

Standard users can use this only with _deviceId_s, they have access to

groupIdinteger

Standard users can use this only with _groupId_s, they have access to

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

Responses

OK

Bodyapplication/jsonArray [
idinteger(int64)
typestring
descriptionstring or null
alwaysboolean
commandIdinteger(int64)
notificatorsstring
calendarIdinteger(int64)
attributesobject
]
Response
application/json
[ { "id": 0, "type": "string", "description": "string", "always": true, "commandId": 0, "notificators": "string", "calendarId": 0, "attributes": {} } ]

Request

Security
BasicAuth or ApiKey
Bodyapplication/jsonrequired
idinteger(int64)
typestring
descriptionstring or null
alwaysboolean
commandIdinteger(int64)
notificatorsstring
calendarIdinteger(int64)
attributesobject
curl -i -X POST \
  -u <username>:<password> \
  https://demo.traccar.org/api/notifications \
  -H 'Content-Type: application/json' \
  -d '{
    "id": 0,
    "type": "string",
    "description": "string",
    "always": true,
    "commandId": 0,
    "notificators": "string",
    "calendarId": 0,
    "attributes": {}
  }'

Responses

OK

Bodyapplication/json
idinteger(int64)
typestring
descriptionstring or null
alwaysboolean
commandIdinteger(int64)
notificatorsstring
calendarIdinteger(int64)
attributesobject
Response
application/json
{ "id": 0, "type": "string", "description": "string", "always": true, "commandId": 0, "notificators": "string", "calendarId": 0, "attributes": {} }

Request

Security
BasicAuth or ApiKey
Path
idintegerrequired
Bodyapplication/jsonrequired
idinteger(int64)
typestring
descriptionstring or null
alwaysboolean
commandIdinteger(int64)
notificatorsstring
calendarIdinteger(int64)
attributesobject
curl -i -X PUT \
  -u <username>:<password> \
  'https://demo.traccar.org/api/notifications/{id}' \
  -H 'Content-Type: application/json' \
  -d '{
    "id": 0,
    "type": "string",
    "description": "string",
    "always": true,
    "commandId": 0,
    "notificators": "string",
    "calendarId": 0,
    "attributes": {}
  }'

Responses

OK

Bodyapplication/json
idinteger(int64)
typestring
descriptionstring or null
alwaysboolean
commandIdinteger(int64)
notificatorsstring
calendarIdinteger(int64)
attributesobject
Response
application/json
{ "id": 0, "type": "string", "description": "string", "always": true, "commandId": 0, "notificators": "string", "calendarId": 0, "attributes": {} }

Request

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

Responses

No Content

Body

Fetch a list of available Notification types

Request

Security
BasicAuth or ApiKey
curl -i -X GET \
  -u <username>:<password> \
  https://demo.traccar.org/api/notifications/types

Responses

OK

Bodyapplication/jsonArray [
typestring
]
Response
application/json
[ { "type": "string" } ]

Send test notification to current user via Email and SMS

Request

Security
BasicAuth or ApiKey
curl -i -X POST \
  -u <username>:<password> \
  https://demo.traccar.org/api/notifications/test

Responses

Successful sending

Body
Operations

Commands

Sending commands to devices and stored command management

Operations

Attributes

Computed attributes management

Operations
Operations
Operations
Operations

Statistics

Retrieving server statistics

Operations