Attach a file (base64, at most 20 MB, 25 MB and 20 files per message) to a draft
post/workspace/inbox/drafts/{id}/attachments
Attach a file (base64, at most 20 MB, 25 MB and 20 files per message) to a draft. Programs are refused whatever they are called; a scanner, when connected, can refuse more. The file is stored in the Library.
Before you call
- Credential
Authorization: Bearer $KEY- Scope
inbox:write- Graphql
Mutation.inboxAttachmentAdd- Sdk
inbox.attachment.add- Cli
inbox attachment add
Parameters
- idstring (uuid)requiredIn the path
Request bodyapplication/json, required
- namestringrequiredAt most 300 characters.
- contentTypestringAt most 120 characters.
- dataBase64stringrequiredAt most 28000000 characters.
- inlineboolean
- contentIdstringAt most 200 characters.
Responses
- 201application/jsonSuccess
- 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring