Create Show
POST
/api/public/series
-
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
Create Show
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);}import requests
url = "https://backend.podscribe.ai/api/public/series"
payload = { "seriesPlatformId": "example", "publisherLookupName": "example"}headers = { "Authorization": "Bearer <token>", "Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.json())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" }'Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
seriesPlatformId
required
Itunes ID or YouTube URL
string
publisherLookupName
Publisher lookup name (optional)
string
Examplegenerated
{ "seriesPlatformId": "example", "publisherLookupName": "example"}Response Body
Section titled “Response Body”Show created
Media typeapplication/json
showId
required
The ID of the created show
string
Response example
{ "showId": "example"}