Create a new analytics export

Create a new analytics export of messages or events (activities) over a specific time span. The export will be executed asynchronously. The response will include a link that can be used to retrieve the export status & result. Refer to the Analytics topic for details about specific metrics.

Required scope: analytics:read

Body Params
string
enum
required

The type of export to create. The type you specify determines which columns are available for the export.

Allowed:
number
required

Start time of the data to include in the export (seconds since 1970-01-01T00:00:00+00). Will be rounded down to the start of the day.

number
required

End time of the data to include in the export (seconds since 1970-01-01T00:00:00+00). Will be rounded up to the end of the day.

string

IANA name of the timezone to format the dates with. If omitted, the export will use Etc/UTC.

filters

Resources to compute the analytics for. Defaults to all.

Response

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Choose an example:
application/json