# Put a notice in a person's in-app feed

`POST /notify/feed` · Rivier · campaigns

Put a notice in a person's in-app feed.

- Scope: campaigns:write
- Mcp: rivier_notify_feed_add
- Graphql: Mutation.campaignsNotifyFeedAdd
- Sdk: campaigns.notifyFeed.add
- Cli: campaigns notify feed add

## Request body

`application/json`

```json
{
  "type": "object",
  "properties": {
    "title": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200
    },
    "body": {
      "type": "string",
      "maxLength": 1000,
      "default": ""
    },
    "url": {
      "type": "string",
      "format": "uri",
      "maxLength": 1000
    },
    "icon": {
      "type": "string",
      "format": "uri",
      "maxLength": 1000
    },
    "userRef": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "description": "Your own id for the person; Rivier keeps it as given and never shows it to anyone else"
    },
    "category": {
      "type": "string",
      "pattern": "^[a-z][a-z0-9_.-]{0,39}$",
      "default": "general"
    },
    "data": {
      "type": "object",
      "additionalProperties": {}
    }
  },
  "required": [
    "title",
    "userRef"
  ],
  "additionalProperties": false
}
```

## Responses

- `201`: 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/notify/feed' \
  -H 'Authorization: Bearer $KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "title": "string",
  "userRef": "string"
}'
```
