Benachrichtigungen
Push-Token registrieren
Used by the mobile app after login to register the native FCM/APNs token. Supports multiple devices per user (each token is unique). Push is sent directly from Laravel (PushService) — no external subscriber sync needed.
AuthentifizierungBearer <token>
Bearer-Token, erhalten über den Login-Endpunkt (POST /rest/login).
Ort: header
Request-Body
application/json
TypeScript-Definitionen
TypeScript-Typ für request body.
Body of POST /rest/push-token — registers a device for push messages.
Response-Body
application/json
application/json
application/json
curl -X POST "https://example.com/push-token" \ -H "Content-Type: application/json" \ -d '{ "token": "string", "platform": "ios" }'{ "status": "ok"}