Skip to main content
POST
Upload attachment bytes

Authorizations

Authorization
string
header
required

Agent token (alt_…) or OAuth access token; bound to one agent

Path Parameters

inboxId
string
required

Inbox id

Body

application/json
filename
string
required
Required string length: 1 - 180
content_type
string
default:application/octet-stream
required
Maximum string length: 100
content_base64
string
required

File bytes as canonical base64, maximum 10 MB decoded

Required string length: 4 - 13981016

Response

Attachment metadata

attachment
object
required