---
title: "Get Data Export Task"
method: GET
path: "/team-messaging/v1/data-export/{taskId}"
tags: ["Compliance Exports"]
---

# Get Data Export Task

`GET /team-messaging/v1/data-export/{taskId}`

Returns the links for downloading Glip data exported within the specified task. If the export task is still in progress, then only the task status will be returned. If the data is ready for downloading, then the list of URLs will be returned.

## Path parameters

- `taskId` string, required

## Response `200`

OK

- DataExportTask
  - `uri` string — Canonical URI of a task
  - `id` string — Internal identifier of a task
  - `creationTime` string, date-time — Task creation timestamp
  - `lastModifiedTime` string, date-time — Task last modification timestamp
  - `status` 'Accepted' | 'InProgress' | 'Completed' | 'Failed' | 'Expired' — Task status
  - `creator` CreatorInfo — Task creator information
    - `id` string — Internal identifier of a user
    - `firstName` string — First name of a user
    - `lastName` string — Last name of a user
  - `specific` SpecificInfo — Information specified in request
    - `timeFrom` string, date-time — Starting time for data collection
    - `timeTo` string, date-time — Ending time for data collection
    - `contacts` DataExportTaskContactInfo[]
      - `id` string — Internal identifier of a contact
      - `email` string, email — Email address of a contact
    - `chatIds` string[] — List of chats from which the data (posts, files, tasks, events, notes, etc.) will be collected
  - `datasets` ExportTaskResultInfo[] — Data collection archives. Returned by task ID
    - `id` string — Internal identifier of a dataset
    - `uri` string, uri — Link for downloading a dataset
    - `size` integer — Size of ta dataset in bytes

---

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