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: Send Episode Clips to Notion

POST /api/open/v1/episodes/[seq]/clips/send/notion sends every ready Clip for an episode to Notion, skipping and counting unfinished ones.

Send all ready Clips created by the authenticated user for an Episode to the configured Notion Clip database. Clips that are not ready are skipped and counted separately.

Endpoint

POSThttps://app.podwise.ai/api/open/v1/episodes/[seq]/clips/send/notion

Path Parameters

  • seq: Episode sequence number.

Response

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

Error Responses

StatusErrorDescription
400--Invalid Episode sequence number.
400not_connectedNotion is not connected.
400not_configuredThe Notion Clip database is not configured.
400property_not_existsA configured Notion property does not exist.
401unauthorizedThe Notion API token is invalid or expired.
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.
404database_not_foundThe configured Notion database was not found.
429rate_limitedNotion rate limited the request.
502notion_errorUnexpected Notion API error.
504timeoutNotion API request timed out.