Traccar Notifications API

User notifications management

GitHub OpenAPI

Operations 10

GET /notifications Fetch a list of Notifications #
POST /notifications Create a Notification #
GET /notifications/{id} Fetch a Notification #
PUT /notifications/{id} Update a Notification #
DELETE /notifications/{id} Delete a Notification #
GET /notifications/types Fetch a list of available Notification types #
GET /notifications/notificators Fetch a list of available Notificators #
POST /notifications/test Send test notification to current user via Email and SMS #
POST /notifications/test/{notificator} Send a test notification to the current User using the specified notificator #
POST /notifications/send/{notificator} Send a custom notification to selected users using the specified notificator #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/traccar:traccar-notifications-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

traccar-notifications-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Traccar Notifications API
  description: Traccar GPS tracking server API documentation. To use the API you need to have a server instance. For testing purposes you can use one of free demo servers. For production use you can install your own server or get a subscription service.
  contact:
    name: Traccar Support
    url: https://www.traccar.org/
    email: support@traccar.org
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0.html
  version: 6.17.0
servers:
- url: https://demo.traccar.org/api
  description: Demo Server 1
- url: https://demo2.traccar.org/api
  description: Demo Server 2
- url: https://demo3.traccar.org/api
  description: Demo Server 3
- url: https://demo4.traccar.org/api
  description: Demo Server 4
- url: https://server.traccar.org/api
  description: Subscription Server
- url: http://{host}:{port}/api
  description: Other Server
  variables:
    host:
      default: localhost
    port:
      enum:
      - '8082'
      - '80'
      default: '8082'
security:
- BasicAuth: []
- ApiKey: []
tags:
- name: Notifications
  description: User notifications management
paths:
  /notifications:
    get:
      operationId: getNotifications
      summary: Fetch a list of Notifications
      description: Without params, it returns a list of Notifications the user has access to
      x-mcp: true
      tags:
      - Notifications
      parameters:
      - name: all
        in: query
        description: Can only be used by admins or managers to fetch all entities
        schema:
          type: boolean
      - name: userId
        in: query
        description: Standard users can use this only with their own _userId_
        schema:
          type: integer
      - name: deviceId
        in: query
        description: Standard users can use this only with _deviceId_s, they have access to
        schema:
          type: integer
      - name: groupId
        in: query
        description: Standard users can use this only with _groupId_s, they have access to
        schema:
          type: integer
      - name: refresh
        in: query
        schema:
          type: boolean
      - name: limit
        in: query
        description: Limit the number of returned results
        schema:
          type: integer
      - name: offset
        in: query
        description: Offset for pagination
        schema:
          type: integer
      - name: keyword
        in: query
        description: Search keyword filter
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Notification'
        '401':
          description: Unauthorized
          content: {}
    post:
      operationId: postNotifications
      summary: Create a Notification
      tags:
      - Notifications
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Notification'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Notification'
        '401':
          description: Unauthorized
          content: {}
        '400':
          description: Bad request
          content: {}
  /notifications/{id}:
    get:
      operationId: getNotificationsId
      summary: Fetch a Notification
      tags:
      - Notifications
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: integer
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Notification'
        '401':
          description: Unauthorized
          content: {}
        '404':
          description: Not found
          content: {}
    put:
      operationId: putNotificationsId
      summary: Update a Notification
      tags:
      - Notifications
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: integer
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Notification'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Notification'
        '401':
          description: Unauthorized
          content: {}
        '400':
          description: Bad request
          content: {}
    delete:
      operationId: deleteNotificationsId
      summary: Delete a Notification
      tags:
      - Notifications
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: integer
      responses:
        '204':
          description: No Content
          content: {}
        '401':
          description: Unauthorized
          content: {}
  /notifications/types:
    get:
      operationId: getNotificationsTypes
      summary: Fetch a list of available Notification types
      tags:
      - Notifications
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/NotificationType'
        '401':
          description: Unauthorized
          content: {}
  /notifications/notificators:
    get:
      operationId: getNotificationsNotificators
      summary: Fetch a list of available Notificators
      tags:
      - Notifications
      parameters:
      - name: announcement
        in: query
        description: When `true`, exclude notificators that cannot deliver announcements
        schema:
          type: boolean
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/NotificationType'
        '401':
          description: Unauthorized
          content: {}
  /notifications/test:
    post:
      operationId: postNotificationsTest
      summary: Send test notification to current user via Email and SMS
      tags:
      - Notifications
      responses:
        '204':
          description: Successful sending
          content: {}
        '400':
          description: Could happen if sending has failed
          content: {}
  /notifications/test/{notificator}:
    post:
      operationId: postNotificationsTestNotificator
      summary: Send a test notification to the current User using the specified notificator
      tags:
      - Notifications
      parameters:
      - name: notificator
        in: path
        required: true
        schema:
          type: string
      responses:
        '204':
          description: Successful sending
          content: {}
        '400':
          description: Could happen if sending has failed
          content: {}
  /notifications/send/{notificator}:
    post:
      operationId: postNotificationsSendNotificator
      summary: Send a custom notification to selected users using the specified notificator
      tags:
      - Notifications
      parameters:
      - name: notificator
        in: path
        required: true
        schema:
          type: string
      - name: userId
        in: query
        description: Optional list of user ids to send the notification to; if omitted, sends to all permitted users
        schema:
          type: array
          items:
            type: integer
            format: int64
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/NotificationMessage'
        required: true
      responses:
        '204':
          description: Successful sending
          content: {}
        '400':
          description: Could happen if sending has failed
          content: {}
components:
  schemas:
    Notification:
      type: object
      properties:
        id:
          type: integer
          format: int64
          description: Unique identifier for the notification
        type:
          type: string
          description: Notification category such as geofenceEnter or ignitionOn
        description:
          type:
          - string
          - 'null'
          description: User-defined text describing the notification
        always:
          type: boolean
          description: Whether the notification triggers regardless of schedule
        commandId:
          type: integer
          format: int64
          description: Identifier of the command to send when the notification triggers
        notificators:
          type: string
          description: Comma-separated delivery channels (for example, web, mail)
        calendarId:
          type: integer
          format: int64
          description: Calendar identifier restricting when the notification is active
        attributes:
          type: object
          properties: {}
          description: Additional custom attributes used by notificators or templates
    NotificationType:
      type: object
      properties:
        type:
          type: string
          description: Notification type identifier
    NotificationMessage:
      type: object
      properties:
        subject:
          type: string
          description: Subject or title of the notification
        digest:
          type: string
          description: Short summary shown in compact contexts; defaults to the body when omitted
        body:
          type: string
          description: Full notification text
        priority:
          type: boolean
          description: Whether the message should be treated as high priority
      required:
      - body
  securitySchemes:
    BasicAuth:
      type: http
      scheme: basic
    ApiKey:
      type: http
      scheme: bearer