Récupère la liste des notifications pour un utilisateur.
Types de notifications:
- Factures en retard
- Devis en attente de validation
- Paiements reçus
- Invitations reçues
- Actions requises
Gestion des notifications:
- Les notifications non lues sont marquées comme telles
- Les notifications peuvent être archivées
Utilisation:
- Centre de notifications
- Badge de notifications non lues
GET
/user/{uid}/notifications
curl \
--request GET 'https://wuro.pro/api/v3.2/user/{uid}/notifications' \
--header "X-APP-ID: $API_KEY" \
--header "X-APP-SECRET: $API_KEY"
Response examples (200)
{
"notifications": [
{
"_id": "string",
"type": "string",
"message": "string",
"read": true,
"createdAt": "2025-05-04T09:42:00Z"
}
],
"unreadCount": 42
}