Upload Inbox Draft Attachment
POST /inbox/drafts/attachments
Attach a file to an existing email draft (multipart: file, draft_id).
Returns token, key, name, size, contentType. The draft must
already exist and the caller must be allowed to send from its mailbox - a
403 otherwise; 413 over 25 MB. Nothing is sent: the file rides along when
the draft is.
Calls the app handler’s own body (__wrapped__): the app wraps it in a
per-process rate limiter bound to the APP’s state, and this API’s own
rate limit applies instead.
Authorizations
Parameters
Header Parameters
Request Body required
object
An existing draft, from POST /inbox/emails/compose with save_as_draft.
One file, up to 25 MB.
Responses
201
Successful Response
object
An open envelope for a comment, an assignment or a workspace.
Open because a comment carries attachment refs and mention metadata that grow, and because an assignment result reports per-assignee outcomes.
object
object
Whether there are more pages
Items per page
Current page number (1-indexed)
Total number of items
422
Validation Error