Presigned URL
Presigned URL
Generate a presigned PUT URL to upload an evidence file before submitting a response
POST
Presigned URL
Presigned URL
Generate a presigned S3 PUT URL for uploading an evidence file. Use this before calling Submit Response — upload the file to the returned URL, then include thefile_id in your submission’s attachment_file_ids.
Request
Headers
Your API key for authenticationExample:
sk_live_1234567890abcdefYour organization UUIDExample:
a8315ef3-dd50-43f8-b7ce-d839e68d51faPath Parameters
UUID of the parent dataset
Body Parameters
Original file name (1–255 characters)
MIME type of the file (e.g.
application/pdf, image/png). Max 255 characters.File size in bytes. Must be between 1 and 10 485 760 (10 MB).
Response
Returns the presigned upload URL and file metadata (HTTP 201).Presigned S3 PUT URL — upload your file here with a PUT request
File UUID — include this in
attachment_file_ids when submittingEchoed file name
Example
Successful Response
Common Errors
401 Unauthorized
Cause: Missing or invalid API key403 Forbidden
Cause: The authenticated user is not a member of the organization422 Validation Error
Cause: File exceeds 10 MB limitRelated Endpoints
Submit Response
Submit values with the uploaded attachments
Edit Values
Update values for a campaign-assignment

