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
| Status | Error | Description |
|---|---|---|
| 400 | -- | Invalid Episode sequence number. |
| 402 | -- | Open API or export features are not available for the current plan. |
| 404 | not_found | Episode does not exist. |
| 404 | no_ready_clips | Episode has no ready Clips to export. |
API: Delete Clip
DELETE /api/open/v1/clips/[id] removes one Clip owned by the authenticated user; Clips belonging to other users are not accessible.
API: Send Clip to Notion
POST /api/open/v1/clips/[id]/send/notion sends one ready Clip to the user's configured Notion Clip database; unfinished Clips are rejected.