latestOpenAPI 3.0.02026-08-1610635191.3 KB

355890b6b4cc

Content

Schedule multiple podcasts

Create multiple podcasts at once, scheduled at intervals from a start time. Supports two modes - URLs mode (one podcast per episode, with each episode containing multiple URLs) or cached sources mode (feedSelections and/or youtubeChannels). Either 'urls' or (feedSelections/youtubeChannels + numberOfEpisodes) must be provided, but not both.

post/content/Schedule

Request body

OR
OR

Example request

{
  "urls": [
    [
      "https://example.com/article1",
      "https://example.com/article2"
    ],
    [
      "https://example.com/article3"
    ]
  ],
  "feedSelections": [
    {
      "feedId": 1,
      "feedItemIds": [
        "post-123",
        "post-456"
      ]
    }
  ],
  "numberOfEpisodes": 5,
  "youtubeChannels": [
    "yt-channel-1",
    "yt-channel-2"
  ],
  "frequency": 60,
  "instructions": "Create a conversational podcast discussing the main points",
  "brandUrl": "https://yourbrand.com",
  "duration": "default",
  "style": "deep dive",
  "language": "English",
  "startOn": "2024-01-01T12:00:00Z"
}

Response

Podcasts scheduled successfully

successboolean

Whether the operation was successful

total_createdinteger

Total number of requests created

start_timestring date-time

Start time used for scheduling

frequency_minutesinteger

Frequency in minutes between requests

mode'URLs' | 'sources'

Mode used for scheduling

total_feeds_per_episodeinteger

Number of feed groups per episode (sources mode only)

total_feed_items_per_episodeinteger

Number of cached feed items per episode (sources mode only)

total_youtube_channels_per_episodeinteger

Number of YouTube channels per episode (sources mode only)

total_urlsinteger

Total number of URLs across all episodes (URLs mode only)