Confirm Attachment Upload
Attachments
Confirm Attachment Upload
Confirm that an attachment has been uploaded
POST
Confirm Attachment Upload
Confirm that a file has been successfully uploaded to the presigned URL. This step is required before the attachment can be used in emails.Documentation Index
Fetch the complete documentation index at: https://docs.mailbreeze.com/llms.txt
Use this file to discover all available pages before exploring further.
Path Parameters
The attachment ID received from the
createUpload endpoint (e.g., att_abc123).Examples
Response
Indicates whether the confirmation was successful.
Example Response
Attachment Status
| Status | Description |
|---|---|
pending | Upload URL created but file not yet uploaded |
uploaded | File uploaded and confirmed, ready for use |
expired | Upload URL or attachment has expired |
Errors
| Code | HTTP Status | Description |
|---|---|---|
UPLOAD_NOT_FOUND | 404 | Invalid or expired upload token |
UPLOAD_NOT_COMPLETE | 400 | File not yet uploaded to presigned URL |
UPLOAD_EXPIRED | 400 | Upload URL has expired |
FILE_SIZE_MISMATCH | 400 | Uploaded file size doesn’t match declared size |
Attachments expire 7 days after confirmation. If you need to send the same file again after expiration, you’ll need to create a new upload.