# markNotificationsRead

Mark specific notifications read or unread by id. Pass isSeen: true to mark read (clears them from the unread badge) or false to mark unread. notificationIds come from listNotifications. Only your own notifications are affected: a notification id belonging to another user is a silent no-op, never an error. Returns the updated {id, seen} for each row that changed.

- Call: `POST https://server.goliathdata.com/api/v1/call` with `{ "operationId": "markNotificationsRead", "variables": {...} }`
- Scope: `WRITE`
- Type: mutation
- Idempotency: honors `Idempotency-Key` (24 h)
- Rate-limited: no

## Variables

- `notificationIds`: `[String!]!` (required)
- `isSeen`: `Boolean!` (required)

## Response (data, an example)

```json
{
  "notificationMutation": {
    "toggleNotificationSeen": [
      {
        "id": "<ID>",
        "seen": true
      }
    ]
  }
}
```

## Example

```bash
curl https://server.goliathdata.com/api/v1/call \
  -H "Authorization: Bearer $GOLIATH_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "operationId": "markNotificationsRead",
    "variables": {
      "notificationIds": [
        "<String>"
      ],
      "isSeen": true
    }
  }'
```
