Skip to content

Send Test Notification

Trigger a test notification for the current user.

Request

Send to all notificators

php
use ThingsTelemetry\Traccar\Facades\Notification;

$result = Notification::sendTest();

Send via specific notificator

php
use ThingsTelemetry\Traccar\Facades\Notification;

$result = Notification::sendTest(notificator: 'mail');

Parameters

ParameterTypeDescription
notificatorstringOptional. Specific notificator type to test (e.g., "mail").

Result

Returns ThingsTelemetry\Traccar\Dto\StatusData.

Released under the MIT License.