RSS feeds
GET /api/v1/feeds
The user's feeds, newest first.
- Scope
postory:read - Limit class
READ - Success
200
Example
curl https://postory.io/api/v1/feeds \
-H "Authorization: Bearer $POSTORY_API_KEY"{"max_accounts": 5, "max_feeds": 10}Other responses
401No API key, or an invalid or revoked one
403The key lacks the scope, or access is paused
422A request parameter is not valid
429Rate limit spent; see Retry-After
POST /api/v1/feeds
Follow a feed. Its current items are marked seen; Postory checks it hourly and each newer article becomes one Studio draft, using one Studio message's credits, at most 3 an hour per feed (out of credits, it pauses). 20 an hour. Already followed: 409 feed_exists with the feed's feed_id; 10 feeds already: 409 feed_limit; not a readable feed: 422 feed_unreadable.
- Scope
postory:drafts - Limit class
WRITE - Success
201
Parameters
| Name | In | Type | Description |
|---|---|---|---|
Idempotency-Key | header | string | Any unique string (1-255 characters). The first answer for this key is replayed for 24 hours ( |
Request body
| Field | Type | Description |
|---|---|---|
connection_idsrequired | string[] | The accounts each draft is written for, 1 to 5 |
mode | "draft" | "queue" | "auto_publish" | What each new draft does. |
urlrequired | string | The feed's http(s) URL. Up to 2000 characters |
Example
curl https://postory.io/api/v1/feeds \
-H "Authorization: Bearer $POSTORY_API_KEY" \
-H "Idempotency-Key: <unique-key>" \
-H "Content-Type: application/json" \
-d '{"connection_ids": ["<connection_ids>"], "url": "<url>"}'{"message": "<message>"}Other responses
401No API key, or an invalid or revoked one
403The key lacks the scope, or access is paused
409The state does not allow it now (already scheduled, changed, needs a choice…); branch on
code422A request parameter is not valid
429Rate limit spent; see Retry-After
GET /api/v1/feeds/{feed_id}
One feed and its newest 20 items with what became of each (a draft's post_id once drafted; GET /drafts/{post_id} opens it).
- Scope
postory:read - Limit class
READ - Success
200
Parameters
| Name | In | Type | Description |
|---|---|---|---|
feed_idrequired | path | string | Up to 36 characters |
Example
curl "https://postory.io/api/v1/feeds/<feed_id>" \
-H "Authorization: Bearer $POSTORY_API_KEY"{"message": "<message>"}Other responses
401No API key, or an invalid or revoked one
403The key lacks the scope, or access is paused
404Not found, or not this user's
422A request parameter is not valid
429Rate limit spent; see Retry-After
PATCH /api/v1/feeds/{feed_id}
Change a feed's accounts, mode or name, or turn it off or on. Turning it on reads it now: new articles become drafts, one Studio message's credits each.
- Scope
postory:drafts - Limit class
WRITE - Success
200
Parameters
| Name | In | Type | Description |
|---|---|---|---|
feed_idrequired | path | string | Up to 36 characters |
Request body
| Field | Type | Description |
|---|---|---|
connection_ids | string[] | The accounts each draft is written for, 1 to 5 |
is_active | boolean |
|
mode | "draft" | "queue" | "auto_publish" | What each new draft does. |
title | string | The feed's name. Up to 300 characters |
Example
curl -X PATCH "https://postory.io/api/v1/feeds/<feed_id>" \
-H "Authorization: Bearer $POSTORY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"connection_ids": ["<connection_ids>"]}'{"message": "<message>"}Other responses
401No API key, or an invalid or revoked one
403The key lacks the scope, or access is paused
404Not found, or not this user's
422A request parameter is not valid
429Rate limit spent; see Retry-After
DELETE /api/v1/feeds/{feed_id}
Stop following a feed and drop its items list. Its drafts and posts stay.
- Scope
postory:drafts - Limit class
DELETE - Success
200
Parameters
| Name | In | Type | Description |
|---|---|---|---|
feed_idrequired | path | string | Up to 36 characters |
Example
curl -X DELETE "https://postory.io/api/v1/feeds/<feed_id>" \
-H "Authorization: Bearer $POSTORY_API_KEY"{"deleted": true, "feed_id": "<feed_id>", "message": "<message>"}Other responses
401No API key, or an invalid or revoked one
403The key lacks the scope, or access is paused
404Not found, or not this user's
422A request parameter is not valid
429Rate limit spent; see Retry-After
POST /api/v1/feeds/{feed_id}/check
Read the feed now. New articles start drafting in the background, one Studio message's credits each (an off feed only collects them). 30 an hour.
- Scope
postory:drafts - Limit class
WRITE - Success
200
Parameters
| Name | In | Type | Description |
|---|---|---|---|
feed_idrequired | path | string | Up to 36 characters |
Example
curl -X POST "https://postory.io/api/v1/feeds/<feed_id>/check" \
-H "Authorization: Bearer $POSTORY_API_KEY"{"message": "<message>"}Other responses
401No API key, or an invalid or revoked one
403The key lacks the scope, or access is paused
404Not found, or not this user's
422A request parameter is not valid
429Rate limit spent; see Retry-After
POST /api/v1/feeds/preview
Read a URL as an RSS or Atom feed: its title and newest three items. Saves nothing; 30 an hour. Not a readable feed: 422 feed_unreadable with reason (not_a_feed, timeout, http_status, private_address, …).
- Scope
postory:read - Limit class
READ - Success
200
Request body
| Field | Type | Description |
|---|---|---|
urlrequired | string | The feed's http(s) URL. Up to 2000 characters |
Example
curl https://postory.io/api/v1/feeds/preview \
-H "Authorization: Bearer $POSTORY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "<url>"}'{
"preview": {
"url": "https://blog.example.com/feed",
"title": "Example Blog",
"site_url": "https://blog.example.com/",
"entry_count": 12,
"entries": [
{
"title": "Launching our new plan",
"url": "https://blog.example.com/new-plan",
"published_at": "2026-11-28T09:00:00+00:00"
},
{
"title": "What we learned this month",
"url": "https://blog.example.com/month",
"published_at": "2026-11-21T09:00:00+00:00"
}
]
}
}Other responses
401No API key, or an invalid or revoked one
403The key lacks the scope, or access is paused
422A request parameter is not valid
429Rate limit spent; see Retry-After