---
title: "Exporting report (CSV)"
method: POST
path: "/v3/mlog"
tags: ["Reports"]
---

# Exporting report (CSV)

`POST /v3/mlog`

## Request

- Base URL: `https://elastic.messangi.me/missandei`
- URL: `https://elastic.messangi.me/missandei/v3/mlog`
- Auth: HTTP bearer

Requires authentication — see [Authentication](/reference/authentication-overview).

Exports message log records for a date range to a CSV file and emails it to the addresses provided.

## Query parameters

- `from` string, required
- `to` string, required
- `recipient` string
- `campaignID` string
- `channel` string
- `sender` string
- `status` string

## Request body

- MLogsExportReportBody
  - `emails` string[], required: List (array) of recipient emails where the CSV file will be sent.
  - `from` string, required: <p>Email address of the sender.</p> <p><b>NOTE</b>: The Sender must be a valid sender from the Workspace.</p>
  - `timezone` string, required: Timezone in GMT.
  - `externalId` string: Alphanumeric identifier that can be used for reporting purposes.

## Response `200`

Report request received successfully

- BaseResponse
  - `meta` MetadataDTO
    - `timestamp` integer, required: Transaction's date in timestamp
    - `transactionId` string, required: Id for the current transaction (Endpoint's call)
    - `explain` string: Explain string in case of failure

## Other responses

- `400`: Bad request
- `401`: Unauthorized
- `500`: Internal Server Error

---

[API](https://skmtc.dev/messangi/apis/message-reports.md) - [All operations](https://skmtc.dev/messangi/apis/message-reports/llms.txt) - [OpenAPI document](https://skmtc.dev/messangi/apis/message-reports/revisions/04a12ae0d0cc?raw)
