Mark articles read or unread

Mark articles as read or unread, optionally hiding them from the list.

POST https://cotlet.dev/api/v1/feedly/articles-read/mark

write

Sets the read state of the articles you name. hide: true is Feedly's Mark as read and hide, which removes the article from the list until a reload; the default only lowers the unread count. It changes your read state only and reaches no one, even in a Team Feed. mark_articles_read runs without asking first, and state 'unread' undoes it in one call.

Parameters

Parameters: mark_articles_read
NameTypeDescription
article_ids string[] required string[] Article IDs from list_articles or search_articles.
state string string 'read' or 'unread'. Default: read.
hide boolean boolean true also hides read articles from the list. Default: false.

Request

cURL
curl -X POST https://cotlet.dev/api/v1/feedly/articles-read/mark \
  -H "Authorization: Bearer $COTLET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"article_ids":["art_9d41e0","art_9d41e1","art_9d41e2"],"state":"read"}'
Python
result = client.call("feedly", "mark_articles_read", {"article_ids":["art_9d41e0","art_9d41e1","art_9d41e2"],"state":"read"})
Node.js
const result = await cotlet.call('feedly', 'mark_articles_read', {"article_ids":["art_9d41e0","art_9d41e1","art_9d41e2"],"state":"read"});
CLI
cotlet call feedly mark_articles_read --data '{"article_ids":["art_9d41e0","art_9d41e1","art_9d41e2"],"state":"read"}'

Example response

JSON

{
  "updated": 3,
  "state": "read",
  "hide": false,
  "article_ids": [
    "art_9d41e0",
    "art_9d41e1",
    "art_9d41e2"
  ]
}

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.