Create a new media asset and receive an upload URL. Returns a secure upload URL where you can upload your video/audio file (max 5GB). If using YouTube or Vimeo for playback, provide externalPlatform and externalPlatformId, but you must still upload the original file to the returned uploadUrl for AI processing.
Enter your API token from the Haystack dashboard
The item this media belongs to
The type of media content
audio, video The variant type ID for this media asset (e.g., original, sermon audio, full service)
MIME type of the file being uploaded
"video/mp4"
Original filename of the uploaded file
Platform for external video playback (video content only)
youtube, vimeo Video ID on the external platform (required if externalPlatform is set)
"dQw4w9WgXcQ"