Skip to content

Upload file ​

POSThttps://planefs-uploads.s3.amazonaws.com/

Use the presigned form fields returned by the attachment upload-credentials endpoint to upload the binary file directly to object storage.

Body Parameters ​

Content-Type:requiredstring

MIME type of the file being uploaded.

key:requiredstring

Storage key returned by Plane for this upload.

policy:requiredstring

Base64-encoded upload policy returned by Plane.

x-amz-signature:requiredstring

AWS signature returned by Plane.

file:requiredfile

Binary file contents to upload.

Upload file
bash
curl -X POST \
  "https://planefs-uploads.s3.amazonaws.com/" \
  -F "Content-Type=image/png" \
  -F "key=attachments/550e8400-e29b-41d4-a716-446655440000/example-image.png" \
  -F "policy=example-policy" \
  -F "x-amz-signature=example-signature" \
  -F "file=@./example-image.png"
Response204

No response body.