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-keystringRequired
x-org-api-keystringRequired
x-composio-admin-tokenstringRequired

Query parameters

adminTokenstringRequired>=1 character

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_slugstringRequired

Slug of the app where this response file belongs to. Example: “pdf-analyzer”

tool_slugstringRequired

Slug of the action where this response file belongs to. Example: “extract-text”

filenamestringRequired

Name of the original response file. Example: “extracted_text.txt”

mimetypestringRequired

Mime type of the original response file. Example: “text/plain”

md5stringRequired

MD5 hash of the response file for deduplication and integrity verification. Example: “a1b2c3d4e5f6g7h8i9j0”

Response

Successfully created upload URL for response file
existingobject
OR
newobject
OR
updateobject

Errors