GET /user/{uid}/notifications

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

Path parameters

  • uid string Required

    Identifiant unique de l'utilisateur

Responses

  • 200 application/json

    Liste des notifications

    Hide response attributes Show response attributes object
    • notifications array[object]
      Hide notifications attributes Show notifications attributes object
      • _id string
      • type string

        Type de notification

      • message string

        Message de la notification

      • read boolean

        Notification lue ou non

      • createdAt string(date-time)
    • unreadCount integer

      Nombre de notifications non lues

  • 404

    Utilisateur non trouvé

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
}