Every request and response model referenced above, including nested ones (6). The full catalogue is on api-models.html.
BatchBody
Fetch several messages in one request, by id.
| Field | Type | | Description |
|---|
ids | array of string | required | Message ids to fetch. At most 50, or 10 when include_attachments is true. Min items: 1 |
include_attachments | boolean | optional | Whether to return each message's attachment content as well as its metadata. Lowers the batch cap to 10. Default: false |
Used by: POST /rest/beta/outlook/messages/batch
SendBody
One message to send through the authorized Outlook account.
| Field | Type | | Description |
|---|
attachments | array of AttachmentIn | optional | Files to attach: at most 10, totalling no more than 3 MB once decoded. Default: [] |
bcc | array of string | optional | Blind-carbon-copy recipients, hidden from other recipients. Default: [] |
body | BodyContent | required | The message body and whether it is plain text or HTML. |
cc | array of string | optional | Carbon-copy recipients, visible to everyone. Default: [] |
save_to_sent_items | boolean | optional | Whether to keep a copy in the account's Sent Items folder. Set false to send without recording it. Default: true |
subject | string | optional | Subject line. Optional; defaults to an empty subject. Default: "" |
to | array of string | required | Primary recipients. At least one is required; to, cc and bcc together may not exceed 50 addresses. Min items: 1 |
Used by: POST /rest/beta/outlook/send