Traccar server notifications

nithika year ago

The notifications created in admin are not shown in all users , is there a way i could enable the same notifications for all users and all devices by default?

Also how can i get driver behaviour reports please give a link to specific api.
ps: We are trying to do all this in a mobile app with the help of traccar server using traccar api, we need to give notifications to the user in app.

Anton Tananaeva year ago

You can link your notification to all users.

Driver behavior will show in the events report.

nithika year ago

Hi Anton thank you for confirming that it can be done.
Can you please share how can i link the notifications of admin to all users?
All i can see right now is login with admin -> settings -> Users -> select a user and activate the notifications one by one for particular user manually.
Is there some other easier way to do that for all existing users and new users?

Anton Tananaeva year ago

You can use the API or do it in the database. Otherwise you have to do it one by one.

nithika year ago

Alright ,
Which api endpoint will i need to use?
https://demo.traccar.org/api/notifications - this will create notifications for particular user!
i need to link the already created notifications in admin to all users. So for that
will i need to use https://demo.traccar.org/api/permissions this endpoint?

Anton Tananaeva year ago
nithika year ago

Hello Anton thank you for your quick response again.
I just found out that we can use the config file to set device limit by default for self registered users.
Is it possible to set default notifications too for the self registered users with the config file?
Any default way would be much preferable to use rather than doing it with the API ?

Anton Tananaeva year ago

Is it possible to set default notifications too for the self registered users with the config file?

Not possible.