Register an FCM token for the authenticated user to receive push notifications.
This endpoint requires authentication via Sanctum token.
| Name | Type | Required | Description |
|---|---|---|---|
token | string | Yes | FCM registration token |
device_type | string | No | Device type (ios, android, web) |
device_id | string | No | Unique device identifier |
{
"message": "FCM token registered successfully"
}
| Status | Description | Reference |
|---|---|---|
| 422 | Validation error | Validation error |
| 401 | Unauthorized | Authentication error |