# BatchBody

Fetch several messages in one request, by id.

Type: object

Fields typed as another model are documented on that model's page; fetch it before filling the field.

| Field | Type | Required | Description | Allowed values / default / constraints |
| --- | --- | --- | --- | --- |
| `ids` | array of string | yes | Message ids to fetch. At most 50, or 10 when `include_attachments` is true. | min items: 1 |
| `include_attachments` | boolean | no | 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](https://dev-api.sheetgo.com/rest/reference/outlook.md#post-rest-beta-outlook-messages-batch)

---

More: start page https://dev-api.sheetgo.com/rest/reference.md, everything in one file https://dev-api.sheetgo.com/rest/llms-full.txt, OpenAPI https://dev-api.sheetgo.com/rest/openapi.json.
