---
title: "Export audience activity CSV"
method: POST
path: "/notifications/{message_id}/export_events"
---

# Export audience activity CSV

`POST /notifications/{message_id}/export_events`

Export a compressed CSV report of audience-level delivery and engagement data for a specific message. This includes sent, delivered, clicked, failed, and unsubscribed events across Push, Email, and SMS channels.

## Path parameters

- `message_id` string, required

## Query parameters

- `app_id` string, required

## Headers

- `Authorization` string, required

## Response `200`

200

- object
  - `csv_file_url` string — The URL to download the CSV file. The file is available for 3 days after generation.

## Other responses

- `400` — 400
- `401` — 401
- `404` — 404
- `429` — Rate limit exceeded. Wait the number of seconds in the `Retry-After` header before retrying.
- `503` — Service temporarily unavailable. Retry after a short backoff. The body may be empty or non-JSON in some failure modes.

---

[API](https://skmtc.net/onesignal/apis/api-onesignal-com.md) · [All operations](https://skmtc.net/onesignal/apis/api-onesignal-com/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/onesignal/api-onesignal-com/versions/0fc223f7e338/schema)
