Attach a file, external link, or external video to an item. For file resources, the response includes an uploadUrl — a presigned S3 URL that you must PUT the file to (with the same Content-Type as fileMimeType) to complete the upload. link and video resources have no upload step and return uploadUrl: null.
Enter your API token from the Haystack dashboard
Display title for the resource
file, link, video Category for grouping (see /resource-types)
Required when contentType is file
"application/pdf"
Required when contentType is file
1048576
Original filename, used to choose an extension
Required when contentType is link
Required when contentType is video
youtube, vimeo Required when contentType is video
"dQw4w9WgXcQ"