---
search:
  tags:
    - RSS
    - POST
seo:
  description: >-
    Admins only. Reference for the POST /rss/feeds endpoint in the piecemeal
    API.
sidebar:
  label: Add an RSS feed
  badge: POST
title: Add an RSS feed
type: openapi-operation
---
Admins only.

`POST /rss/feeds`

**Request body** (`application/json`, required)

- `path` (string) — Folder and name. Empty names the feed after its title once fetched.
- `refreshInterval` (integer<int64>) — Seconds; 0 follows the rssRefreshInterval setting.
- `url` (string, required)

Request body example:

```json
{
  "path": "string",
  "refreshInterval": 0,
  "url": "string"
}
```

**Responses**

- `201` — Created
- `401` — Unauthorized
- `403` — Forbidden
- `422` — Unprocessable Entity
- `500` — Internal Server Error

Response example, 201:

```json
{
  "articles": [
    {
      "author": "string",
      "category": "string",
      "date": "2019-08-24T14:15:22Z",
      "description": "string",
      "id": "string",
      "link": "string",
      "read": true,
      "title": "string",
      "torrentURL": "string"
    }
  ],
  "error": "string",
  "fetchedAt": "2019-08-24T14:15:22Z",
  "lastBuildDate": "string",
  "loading": true,
  "path": "string",
  "refreshInterval": 0,
  "title": "string",
  "uid": "string",
  "unread": 0,
  "url": "string"
}
```
