Skip to main content
POST
AWS Presigned URL
string
The file name of the file you would like to upload, including the file extension.
Before uploading a file directly to our storage, you’ll need to request a pre-signed URL. This URL provides secure, temporary access to upload your file.

Authorization

To request a pre-signed URL, you must include the x-api-key in your request headers. This key is essential for authenticating your request and ensuring secure access to the API.

Supported File Types

  • Images: .jpg, .jpeg, .png, .gif, .webp
  • Audio: .mp3, .wav, .m4a, .aac, .ogg, .flac, .alac
  • Video: .mp4, .mov
  • Text: .txt
The Free plan supports image uploads only. Video, audio, and text uploads require a paid plan.

Free Plan Restriction

If an organization on the Free plan requests a pre-signed URL for a video, audio, or text file, the request is rejected before any upload or analysis, and no scan or credit is used. The API returns HTTP 403 with the error code free-tier-restriction and the message “Forbidden: Video, audio, and text uploads require a paid plan”. After upgrading, it can take a few minutes for access to take effect.

Size Limits

  • Text: up to 900KB
  • Images: up to 50MB
  • Audio: up to 20MB
  • Video: up to 250 MB; max duration 30 minutes

Filename Restrictions

  • Maximum length: 200 characters
  • Special characters will be converted to underscores
  • Case insensitive

Sample Code Snippet

Here’s an example of how you can request a pre-signed URL and upload a file.