# At request time

`POST /public/entitlements/check` · Rivier · content

At request time: may this reader see the body now. Counts a metered read once per page per month.

- Scope: content:read
- Sdk: content.entitlement.check
- Cli: content entitlement check
- Publishable: yes

## Request body

`application/json`

```json
{
  "type": "object",
  "properties": {
    "entryId": {
      "type": "string",
      "format": "uuid"
    },
    "token": {
      "type": "string",
      "maxLength": 4000
    },
    "readerKey": {
      "type": "string",
      "minLength": 8,
      "maxLength": 120
    }
  },
  "required": [
    "entryId"
  ],
  "additionalProperties": false
}
```

## Responses

- `200`: Success
- `400`: The request was malformed
- `401`: No valid credential
- `403`: The credential lacks the scope, origin or address
- `429`: Over the key's rate limit; see Retry-After

## Example

```sh
curl -X POST 'https://api.rivier.ai/public/entitlements/check' \
  -H 'Authorization: Bearer $KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "entryId": "string"
}'
```
