For the complete documentation index, see llms.txt. This page is also available as Markdown.

Imports

Import a recording from a URL — YouTube, TikTok, Spotify, Drive, and more.

Import media from a URL into a space. Downloading, transcription, and content generation all run asynchronously — poll GET /v1/imports/:id for status, or subscribe a webhook to transcript.completed.

Supported sources include YouTube, TikTok, Spotify, Google Drive, and direct media URLs.

Tier: core. Base URL https://app.castmagic.io.

Start an import

POST https://app.castmagic.io/v1/imports

Request Body

Name
Type
Description

url*

String

Public http(s) URL to import

space_id

String

Defaults to the key's default space

title

String

Optional title for the recording

{
    "import_id": "imp_...",
    "status": "queued",
    "source": "url",
    "url": "https://youtube.com/watch?v=...",
    "title": null,
    "progress": 0,
    "error": null,
    "recording_id": null
}
{ "error": "storage limit exceeded" }
{ "error": "url must resolve to a public address" }

Fetch an import

GET https://app.castmagic.io/v1/imports/:id

Poll for status. Statuses are queued, processing, completed, error, and canceled. recording_id is populated once the recording exists.

Last updated