Max icon

Max

Interact with the MAX Bot API

Upload → Get Upload URL

AI-generated

Summary

Generate a pre-signed upload URL from the MAX API for a specified attachment type to facilitate uploading media files.

Inputs

  • Attachment Type — Specifies the type of attachment to upload, choosing among audio, file, image, or video. Defaults to 'file'.

Output shape

a single JSON object containing the upload URL and related metadata

The response is normalized for consistent data structure. Only a single response object is returned per input item. Errors are returned per item and the operation supports continue-on-fail behavior.

Links

Discussion