Follow source

Follow a source and add it to a Feed, creating the Feed if you name a new one.

POST https://cotlet.dev/api/v1/feedly/source/follow

write

Follows a source, as Follow does in Follow Sources, and adds it to a Feed. Pass feed_id for an existing Feed, or new_feed_name to create one in the same step. Following changes your account only and reaches no one, so follow_source runs without asking first; unfollow_source undoes it.

Parameters

Parameters: follow_source
NameTypeDescription
source string required string source_id from search_sources, or a website or feed URL.
feed_id string string Existing Feed to add it to. Use this or new_feed_name.
new_feed_name string string Create a Feed with this name and add the source to it.

Request

cURL
curl -X POST https://cotlet.dev/api/v1/feedly/source/follow \
  -H "Authorization: Bearer $COTLET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"source":"src_5b21c7","feed_id":"feed_pa01"}'
Python
result = client.call("feedly", "follow_source", {"source":"src_5b21c7","feed_id":"feed_pa01"})
Node.js
const result = await cotlet.call('feedly', 'follow_source', {"source":"src_5b21c7","feed_id":"feed_pa01"});
CLI
cotlet call feedly follow_source --data '{"source":"src_5b21c7","feed_id":"feed_pa01"}'

Example response

JSON

{
  "source_id": "src_5b21c7",
  "title": "Example Analytics Weekly",
  "feed_id": "feed_pa01",
  "feed_name": "Product analytics",
  "followed": true
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.