Reference
Notifications
Device registration endpoints for push notifications.
Endpoint Map
| Method | Path | Auth | Purpose |
|---|---|---|---|
POST | /api/v1/notifications/devices | Flexible auth | Register or reactivate device |
GET | /api/v1/notifications/devices | Flexible auth | List active devices for current user |
DELETE | /api/v1/notifications/devices/:id | Flexible auth | Remove device |
Register Device
POST /api/v1/notifications/devices
Authorization: Bearer <jwt>
Content-Type: application/json
{
"platform": "ios",
"pushToken": "<apns-or-fcm-token>",
"deviceName": "iPhone 16"
}platform must be ios, macos, or android.
List Devices
GET /api/v1/notifications/devices
Authorization: Bearer <jwt>Remove Device
DELETE /api/v1/notifications/devices/:id
Authorization: Bearer <jwt>