Skip to content
Black Friday

Lock in 40% off every renewal, not just year oneBlack Friday · 40% off every renewalBlack Friday · 40% off

Ends Dec 6Get 40% off →
Docs

API: Export Episode Clips as Markdown

Exports every ready Clip for an episode as one Markdown document, skipping unfinished Clips and reporting how many were left out.

Export all ready Clips created by the authenticated user for an Episode as one Markdown document. Clips that are not ready are skipped and counted separately.

Endpoint

POSThttps://app.podwise.ai/api/open/v1/episodes/[seq]/clips/export/markdown

Path Parameters

  • seq: Episode sequence number.

Response

type Response = {
  success: true;
  result: {
    markdown: string;
    filename: string;
    successCount: number;
    unexportableClipCount: number;
  };
  episode: {
    episodeId: string;
    seq: number;
    title: string | null;
    podcastName: string;
  };
};

Error Responses

StatusErrorDescription
400--Invalid Episode sequence number.
402--Open API or export features are not available for the current plan.
404not_foundEpisode does not exist.
404no_ready_clipsEpisode has no ready Clips to export.