Create from Saved Feeds
Create a podcast from cached feed items. Get item identifiers from GET /feeds/{feedId}/items and pass them in feedSelections to POST /content/Create.
Feeds do not fetch new posts at the moment, so a feed returns only older items. To use current posts, send their URLs or text to
/content/Create.
Leverage previously cached feed items by referencing a feed ID and selected item identifiers. Fetch selectable items with GET /feeds/{feedId}/items, then copy the returned item identifier values into feedItemIds.
curl -X POST "https://api.autocontentapi.com/content/Create" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"outputType": "audio",
"feedSelections": [
{
"feedId": 42,
"feedItemIds": ["1876982459012345678", "1876982459012345679"]
}
],
"text": "Summarize the most recent stories with actionable advice."
}'Tips
Use the Create a Podcast Episode from an X Feed guide to create a feed and collect item identifiers.
Combine feeds with other resource types for broader coverage.
feedSelectionsreplaces the older top-levelfeedsarray.
Try it in code
Last updated