API: Import Episode
Import a single episode by providing a Xiaoyuzhou episode URL or a YouTube video URL. Only single episodes are supported — podcast or channel URLs will be rejected.
Endpoint
POSThttps://podwise.ai/api/open/v1/episodes/import
Request Body
type RequestBody = {
// A Xiaoyuzhou episode URL or a YouTube video URL
// Supported formats:
// https://www.xiaoyuzhoufm.com/episode/{episode-id}
// https://www.youtube.com/watch?v={video-id}
// https://youtu.be/{video-id}
url: string,
}Response
type Response = {
success: true,
result: {
seq: number,
title: string,
podcastName: string,
episodeId: string,
podcastId: string,
// Unix timestamp in seconds
publishTime: number,
cover: string,
// Duration in seconds
duration: number,
},
}Last updated on