# Mark up to 100 items seen in one call

`POST /api/feed/{account}/seen` · Praecise account · Feed

- Callers: The server of a product in the account service's client list.

## Parameters

- `account` (path, required), string: The Praecise account id: `sub` in ID tokens.

## Request body

`application/json`

```json
{
  "type": "object",
  "required": [
    "items"
  ],
  "properties": {
    "items": {
      "type": "array",
      "maxItems": 100,
      "items": {
        "type": "object",
        "required": [
          "product",
          "key"
        ],
        "properties": {
          "product": {
            "type": "string"
          },
          "key": {
            "type": "string"
          }
        }
      }
    }
  }
}
```

## Responses

- `200`: The counts after it.
- `401`: No valid client id and secret.
- `403`: Another product's item, or a feed the caller may not read.
- `404`: No such account, or no such item.
- `429`: Over the limit for a minute. `Retry-After` says when to try again.
- `503`: The feed is not switched on. Nothing to do; do not retry in a loop.

## Example

```sh
curl -X POST 'https://accounts.praecise.com/api/feed/{account}/seen' \
  -H 'Authorization: Basic $KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "items": [
    {
      "product": "string",
      "key": "string"
    }
  ]
}'
```
