Create Show by Itunes ID or YouTube URL
POST
/api/public/series
const url = 'https://backend.podscribe.ai/api/public/series';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"seriesPlatformId":"example","publisherLookupName":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://backend.podscribe.ai/api/public/series \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "seriesPlatformId": "example", "publisherLookupName": "example" }'-
Create a new show by providing an Itunes ID or YouTube URL.
-
Example of seriesPlatformId values:
-
https://www.youtube.com/channel/UCJ5v_MCY6GNUBTO8-D3XoAg - for channels
-
https://www.youtube.com/playlist?list=PL5LJy9yNk3J5Kj4EJ8Z2J6QJ1Zqy2Q0Qv - for playlists
-
123456789 - for Itunes ID
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
seriesPlatformId
required
Itunes ID or YouTube URL
string
publisherLookupName
Publisher lookup name (optional)
string
Examplegenerated
{ "seriesPlatformId": "example", "publisherLookupName": "example"}Responses
Section titled “Responses”Show created
Media typeapplication/json
object
showId
required
The ID of the created show
string
Examplegenerated
{ "showId": "example"}Error
Media typeapplication/json
object
message
required
Error Message
string
Examplegenerated
{ "message": "example"}Unexpected error.
Media typeapplication/json
object
message
Nodejs Error
object
Examplegenerated
{ "message": {}}