×

Run Podigee from your AI assistant.

Learn more
Podigee
Product & news10 min read

How to Automate Podcast Publishing from Your CMS, App, or Intranet with a REST API

A practical guide for engineering leads: decide which system owns each field, run the create, upload, encode, and publish sequence, recover safely from timeouts, manage private listeners, and pull analytics with Podigee's REST API v1.

Illustrated coffee mug character beside a document card with a gear icon, connected by dashed arrows through a blue routing tile to a broadcast player screen on pale mint paper

To automate podcast publishing from a CMS, app, or intranet, your backend talks to a podcast hosting API: a REST interface that exchanges JSON. On any platform, developers follow the same order: pick one system of record for each field, create the episode, upload the media, wait for encoding, schedule or publish it, and store the returned IDs. As of December 2026, Podigee's REST API v1 handles that flow, plus private listener access and analytics exports.

Podigee is the publishing platform for audio and video podcasts. As its founder, I work with media companies and engineering teams that tie podcasts into the CMS or intranet they already run. Most of those integrations break in week two for a boring reason: nobody decided which system owns each field, so two systems overwrite each other. Every example below uses our REST API v1 at https://app.podigee.com/api/v1.

Which workflow fits your team?

You have three ways to connect a podcast to your stack:

  1. Feed-triggered or no-code tools. Your podcast platform leads, and your site reacts to episodes that are already published. Read the public RSS feed directly, or let middleware such as Zapier, Make, or n8n watch the feed and call your site over HTTP.

  2. An AI assistant through MCP. A producer drafts or schedules episodes by asking Claude or ChatGPT. MCP, the Model Context Protocol, is an open standard for connecting assistants to outside tools. Our MCP server shows a preview and waits for someone to approve each change, as we describe in publishing episodes with Claude and ChatGPT.

  3. A CMS-led REST API integration. Your backend creates, uploads, encodes, and schedules episodes deterministically, with no person approving each call.

You can combine them. The rest of this guide covers the third option.

Which system should own each field?

Set field ownership before anyone opens an editor. The API has no PATCH method. PUT /episodes/{episode_id} overwrites whichever fields you include in the payload, and it does not check whether the episode changed since your last read (there is no ETag or optimistic lock). That causes the week-two failure: an editor fixes a typo in Podigee, your CMS sends its old title an hour later, and the fix is gone.

Our guide to deciding which system leads names three models:

Ownership model

How writes flow

When to pick it

Podigee leads

Podigee writes; your site reads

Your site displays episodes and never pushes updates

Your system leads

Your CMS creates and publishes

Episodes belong to an editorial or approval workflow

Shared ownership

Each system owns a separate set of fields (for example, the CMS owns title and schedule, Podigee owns chapters and transcripts)

After one direction runs cleanly

Start with one direction. When your CMS leads, it owns the title, show notes, media file, and publication time, while Podigee owns the IDs, the encoded media, the feed, and the analytics. Tell your editors which fields to leave alone in Podigee.

What does the publish sequence look like for developers?

Every endpoint schema is in our REST API reference. The publish tutorial follows this sequence:

  1. POST /episodes with a flat JSON body: the podcast_id, the title, and a guid that no other episode has. Save the episode id from the response right away.

  2. POST /uploads?filename=episode.mp3&filesize=<bytes>, with the exact size in bytes. Audio and video files (episode.mp3 or episode.mp4) follow the same path. You get an upload_url, a content_type, and a file_url.

  3. PUT the file to the upload_url with that content type within 3,600 seconds. A file larger than 30 MB switches to a multipart upload (see the FAQ).

  4. POST /productions with the episode ID and the file_url. Store the production id.

  5. POST /productions/{production_id}/start to begin encoding.

  6. Poll GET /productions/{production_id} every 15 to 30 seconds until the state is encoded. On error, stop.

  7. PUT /episodes/{episode_id} with published_at: pass the current time to publish right away, or a future ISO 8601 timestamp to schedule it.

Here is the first call in that sequence, creating the episode record:

curl -X POST -H "Token: mytoken" -H "Content-Type: application/json" \
  -d '{"podcast_id": 42, "title": "Episode title", "guid": "cms-episode-42"}' \
  https://app.podigee.com/api/v1/episodes

Compare every response against what you sent. A PUT request with unknown fields, or with fields nested inside an episode object, returns 200 without changing anything. The account API key covers every write request in this sequence, and a Read and write REST API token works for scoped integrations. The authentication and errors page has the credential details.

Inspect every REST API v1 endpoint before you build

Read the official endpoint reference, authentication flow, and retry guidance in Podigee's developer documentation.

Read the REST API documentation

How do we know when something changed?

There are no webhooks in REST API v1. Podigee never calls your server back, so your job pulls state: poll the production during encoding, check published_at on the episode, or read GET /episodes sorted by updated_at descending to catch edits made in Podigee. On the public RSS feed, we do announce new episodes through WebSub, a W3C standard where a hub pushes feed updates to subscribers, and Podping, an open notification network for podcast apps and directories. Your CMS rarely needs either, because your pipeline already knows what it just published.

What happens when a request times out?

My rule here: treat a timeout as an unknown result, and read before you write again. We stop any request that runs longer than 35 seconds, and a stopped request can still have changed data. Set your client timeout to 40 seconds or more. The risky call is POST /episodes: send it twice and you get two episodes, because the API does not compare titles. After a timeout, list the recent episodes of the target podcast_id, and look for your guid. Check enough episodes to cover every create your workers might have sent in parallel. Create the episode again when the guid is missing. Serialize retries for each episode, so two workers never race to create the same one. The retries and timeouts page covers the other calls.

Rate limits apply per credential (100 requests per minute by default, with higher limits for high-volume accounts). If you hit a 429, wait the number of seconds in the Retry-After header before you retry.

Can our intranet or member portal decide who hears a private podcast?

Yes, and explicit writes keep access clean when people join or leave your HR system or paywall. Each listener receives a private feed token, a personal key embedded in their feed URL. You flip the podcast to restricted once in the Podigee app, since the API has no endpoint for that setting. Then your backend calls POST /listeners with the podcast_id, an email or username, and a password. Save the returned listener id, and store the token as a secret, since anyone with that URL can download the feed. When someone leaves or cancels, POST /listeners/{listener_id}/deactivate closes their feed, activate reopens it, and DELETE removes the listener. If your app has its own login, POST /listeners/{podcast_id}/authorize checks a listener's credentials.

Plan for two limits from our listeners reference. A listener belongs to one podcast, so a person with three shows is three listeners. And a podcast is either public or restricted, so offering public episodes alongside internal ones means running two separate podcasts.

How do we pull podcast analytics into our BI tool or warehouse?

Here Podigee leads, and your warehouse holds a copy. The analytics endpoints need a published podcast and permission to view its analytics. Podigee is IAB Tech Lab certified (Podcast Measurement Guidelines v2.2). GET /podcasts/{podcast_id}/analytics/sources/{source} reads one source per request, where {source} is podigee_audio, podigee_video, spotify, or youtube. The API never adds them together, and your warehouse shouldn't either, because a download and a YouTube view measure different things.

For a daily sync, backfill one year per request with granularity=day, then refresh the last 14 days on each run, because Spotify and YouTube revise recent days. If a platform hasn't reported a day's numbers yet, that date is missing from the response. Don't write it to your warehouse as zero.

What should we test before going live?

I'd set up a dedicated test podcast and run the whole loop there. There is no separate sandbox, and every write request changes real data. On build day, push two test episodes through the full sequence: one scheduled for later and one published immediately. Then kill your worker right after it sends POST /episodes, before it saves the response, and verify that your retry logic finds the episode by guid instead of creating a duplicate.

A published episode hits the public feed right away, and unpublishing it won't pull it back from apps that already fetched it. Once your test podcast holds the exact episodes you intended to create, with every episode ID and production ID stored in your CMS, move to a low-stakes live show.

You make the podcasts. Podigee takes them everywhere.

Connect your CMS, intranet, or publishing pipeline to Podigee's REST API, or talk with our team about higher volume setups.

Create your Podigee account

Mateusz "Mati" Sójka founded Podigee and serves as its CEO. Podigee is the publishing platform for audio and video podcasts for people with something to say and a business to run. More at podigee.com.

Frequently asked questions

What should we check in a podcast publishing API before we commit?

Check both core coverage and operational edges: large audio and video uploads, private listener provisioning, clean analytics exports, field-overwrite behavior, and timeout recovery. Podigee's REST API v1 supports audio and video uploads up to 20 GB, full private listener lifecycle management, and separate certified analytics endpoints per platform, and docs.podigee.com documents every edge upfront, including PUT overwrites, polling, and using a test podcast in place of a sandbox.

Can we upload large video files through the API?

Yes. For a file larger than 30 MB, the POST /uploads response switches to a multipart upload: you request a signed URL for each part, upload the parts, then complete the upload. One file can be up to 20 GB, and each URL stays valid for 3,600 seconds.

Can we build a partner app that works across many Podigee accounts?

Multi-account partner apps need OAuth 2.0, which we grant after registering the application on our side. There is no self-serve OAuth registration; tell us what you're building through the sales form. If you're integrating your own server with your own Podigee account, a REST API token or account API key is all you need.

Can we limit an integration to certain podcasts or stop it from publishing?

A credential inherits the permissions of the user who owns it, and no credential is scoped to a single podcast. A Read token blocks every write with 403. To restrict an integration to specific shows, or to block it from publishing, create the token under an organization member who has just those permissions.

How do we embed Podigee episodes in our CMS or intranet pages?

Use the Podigee web player. For a public show, a CMS can embed an episode from its URL through the oEmbed endpoint at https://embed.podigee.com/oembed (see the web player reference). For a private show, oEmbed returns 404, so use the episode's embed code instead. The embedded player then asks the visitor to sign in as a listener before it plays.

All blog articles

Keep reading

Explore the blog
Start for free