Prepare a direct agent or server media upload

Returns a temporary signed PUT URL and required upload headers. Send file bytes with those headers, without Banger credentials, then complete the upload. Do not upload directly from browsers; use the authenticated binary proxy. Up to 30 uploads and 250 MiB per reporter per day.

post/v1/workspaces/{workspaceId}/feedback/attachments/prepare

Request

  • Base URL: https://api.bangermail.com
  • URL: https://api.bangermail.com/v1/workspaces/{workspaceId}/feedback/attachments/prepare
  • Auth: HTTP bearer

Path parameters

workspaceIdstring uuid required

Request body

attachment_idstring uuid required
filenamestring required
mime_type'image/png' | 'image/jpeg' | 'image/gif' | 'image/webp' | 'video/mp4' | 'video/webm' | 'video/quicktime' required
size_bytesinteger required

Response

data contains attachment_id, status, and upload with signed url, method PUT, and headers when uploading. If ready, no upload is needed.

Changes

No recorded changes to this operation across all 1 revision of this API.