---
title: "Create export."
method: POST
path: "/api/v1/report/export"
tags: ["Report"]
---

# Create export.

`POST /api/v1/report/export`

## Request

- Base URL: `https://api.intheloop.io`
- URL: `https://api.intheloop.io/api/v1/report/export`
- Auth: API key in header `Authorization`

## Headers

- `Authorization` string
- `X-Impersonate-User` string

## Request body

- ReportingExportRequest: Export Request resource
  - `timezone` string: The timezone used to calculate and export the data. Start time and end time
  - `start` integer, required: Start time of the data to include in the export (total seconds after epoch)
  - `end` integer, required: End time of the data to include in the export (total seconds after epoch)
  - `resultFormat` 'Json' | 'Xlsx', required: Possible Result Format Types
  - `tagIds` string[]: List of tag ids
  - `teamIds` string[]: List of team ids
  - `teammateIds` string[]: List of teammate ids
  - `customerIds` string[]: List of customer ids

## Response `200`

export

- ReportingExportResult: Export Result resource
  - `id` string, required: Export id
  - `status` 'Expired' | 'Failed' | 'Processing' | 'Completed', required: Possible Status Types
  - `url` string: Url of export result - with authorization (signature) and expire date

## Other responses

- `400`: Bad request. Check fields message and error code from response body for additional information.
- `401`: Unauthorized request. Check fields message and error code from response body for additional information.
- `403`: Requested resource forbidden.Check fields message and error code from response body for additional information.
- `429`: Too many requests. Check response header Retry-After indicating how long to wait before making a new request.
- `451`: Unavailable because account is not verified.

---

[API](https://skmtc.dev/intheloop/apis/loop-api.md) - [All operations](https://skmtc.dev/intheloop/apis/loop-api/llms.txt) - [OpenAPI document](https://skmtc.dev/intheloop/apis/loop-api/revisions/0892c5ba0787?raw)
