List rules
Your automation rules with trigger, conditions, actions and how many articles each matched.
GET https://cotlet.dev/api/v1/inoreader/rules
read
Returns the rules in the Automate tab: name, whether it is on, trigger, conditions and actions. The response also shows how many rule slots you use out of those your plan includes (30 on Pro). Rules are a Pro feature, so on Free the list can be empty.
Parameters
No parameters.
Request
curl https://cotlet.dev/api/v1/inoreader/rules \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("inoreader", "list_rules") const result = await cotlet.call('inoreader', 'list_rules'); cotlet call inoreader list_rules Example response
{
"rules": [
{
"rule_id": "r_204",
"name": "Mute sponsored posts",
"enabled": true,
"trigger": "new article in folder Newsletters",
"conditions": "title and/or content contains \"sponsored\"",
"actions": [
"mark as read"
],
"matched_today": 3
}
],
"slots_used": 11,
"slots_total": 30
}