Skip to content
Connect an agent

Feeds

Follow an RSS or Atom feed

Every new item becomes a post to the accounts, written from the template.

POST/v1/feeds

TL;DR

QuestionAnswer
What does it do?Follow an RSS or Atom feed.
What does it need?An API key or an OAuth access token.
What does it take?A JSON body with the fields below.
What does it return?Status 201 with a body of type Feed.
In the SDK?flung.feeds.create()
As an MCP tool?follow_feed
What can go wrong?401 Missing, unknown, revoked or expired API key; 422 The request failed validation; 429 Too many requests for this credential; wait for retry-after seconds. Every failure has the same error shape.

What it does

Every new item becomes a post to the accounts, written from the template. Checked about every 15 minutes; items already in the feed are not posted.

Example

bash
curl -X POST 'https://api.flung.dev/v1/feeds' \  --header "Authorization: Bearer $FLUNG_API_KEY" \  --header 'Content-Type: application/json' \  --header "Idempotency-Key: $(uuidgen)" \  --data '{  "url": "https://example.com",  "accountIds": [    "string"  ]}'

A successful answer looks like this:

json
{  "id": "feed_aaaaaaaaaaaaaaaaaaaaaaaa",  "url": "string",  "accountIds": [    "string"  ],  "template": "string",  "enabled": true,  "lastCheckedAt": "2026-11-01T09:00:00.000Z",  "lastError": "string",  "createdAt": "2026-11-01T09:00:00.000Z"}

Request body

The body has the type an object, with the fields below.

FieldTypeRequiredDescription
urlstringyesAn RSS or Atom feed. Items already in it when it is added are not posted. at most 2048 characters.
accountIdsstring[]yes
templatestringnoat least 1 character; at most 5000 characters; default "{{title}} {{link}}".

Responses

StatusMeaningBody
201The feed.Feed
401Missing, unknown, revoked or expired API key.Error
422The request failed validation.Error
429Too many requests for this credential; wait for retry-after seconds.Error

Response body

A 201 answer has the type Feed.

FieldTypeRequiredDescription
idstringyes
urlstringyes
accountIdsstring[]yes
templatestringyesThe post text: {{title}}, {{link}}, {{summary}} from each item, and workspace variables.
enabledbooleanyes
lastCheckedAtstring | nullyes
lastErrorstring | nullyes
createdAtstringyes

See also

DocWhy
API referenceEvery endpoint
SchemasEvery request and response type
ErrorsEvery error code and what to do about it
follow_feedThe same operation as an MCP tool