Uploads an image or video to the PickFu CDN. Accepts either a URL (fetched and re-hosted) or base64-encoded data (max 20MB decoded).
YouTube, Vimeo, and Wistia URLs are returned as-is since PickFu embeds them natively.
OAuth2 access token obtained via the authorization flow. Include in the Authorization header as: Bearer {access_token}
HTTPS URL of the media to upload. Mutually exclusive with data.
Base64-encoded media content. Mutually exclusive with url. Max 20MB.
Optional filename hint for the CDN public ID
255Resource type. Auto-detected from URL/content if omitted.
image, video