Create presigned URL for response file upload to S3 (admin only)
Generates a presigned URL for uploading response files to S3. This endpoint is restricted to admin users only and requires a valid admin token.
Headers
x-api-key
x-org-api-key
x-composio-admin-token
Query parameters
adminToken
Required admin token for authorization to upload response files. This token must match the APOLLO_ADMIN_TOKEN environment variable.
Request
This endpoint expects an object.
toolkit_slug
Slug of the app where this response file belongs to. Example: “pdf-analyzer”
tool_slug
Slug of the action where this response file belongs to. Example: “extract-text”
filename
Name of the original response file. Example: “extracted_text.txt”
mimetype
Mime type of the original response file. Example: “text/plain”
md5
MD5 hash of the response file for deduplication and integrity verification. Example: “a1b2c3d4e5f6g7h8i9j0”
Response
Successfully created upload URL for response file
existing
OR
new
OR
update