Skip to main content
POST
Upload a mailbox attachment

Authorizations

Authorization
string
header
required

Sendmux API key. Use a root API key for Management API routes, or a mailbox credential for Mailbox API routes. Obtain keys from the dashboard under API Keys.

Query Parameters

filename
string
required

Filename to use when sending the uploaded attachment.

mailbox_id
string

Mailbox public ID to target when the credential grants access to more than one mailbox. Omit when the credential is scoped to exactly one mailbox.

Body

application/octet-stream

Raw attachment bytes.

Response

Attachment uploaded

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