Skip to main content
PUT
Upload bytes to an attachment upload URL

Headers

X-Sendmux-Upload-Token
string
required

Short-lived upload token returned by POST /emails/attachment-uploads.

Content-Length
integer<int64>
required

Exact number of bytes in the binary request body.

Required range: x >= 1

Path Parameters

upload_id
string
required

Upload intent ID returned by POST /emails/attachment-uploads.

Pattern: ^upl_[a-z0-9]{24}$

Body

application/octet-stream

The body is of type file.

Response

Attachment uploaded successfully

ok
enum<boolean>
required
Available options:
true
meta
object
required
data
object
required