---
title: "Testing Mass Export APIs"
slug: "how-to-implement-mass-export-apis"
updated: 2025-07-21T12:33:11Z
published: 2025-07-21T12:33:11Z
---

> ## Documentation Index
> Fetch the complete documentation index at: https://success.panaya.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Testing Mass Export APIs

Use APIs to seamlessly export Tests, Steps, and Defects to CSV files.

> [!WARNING]
> This document describes exporting tests using APIs for Panaya Test Dynamix. [For our Test Automation APIs, click here](/v1/docs/automation-apis).

1. **Send the API Request** Following your request for mass export, a response with a **request number**will be returned.
2. **Send status requests** using the **request number**
3. Once the response received is **completed**, a link to download the results will be included to download the CSV file

**Important!** [Our API default call limits](/v1/docs/what-are-the-default-api-call-limits) The export of defects is limited to 10000 records.

**To implement Mass Export APIs -**

1. **Authenticate with Panaya** [Follow these instructions](/v1/docs/authenticating-via-api-with-an-api-token) on how to authenticate to Panaya using an API token.
2. Use the **Post**requests as shown below

![](https://cdn.document360.io/f404076c-de23-4609-848e-2dfd4ef701b0/Images/Documentation/image-1639041769370.png)For **{{host}}** - Use the relevant Panaya URL – either **my.panaya.com** or **emea.panaya.com** For **{{projectId}}**- Retrieve the relevant Panaya Project ID by logging into Panaya and navigating into the Project ![](https://cdn.document360.io/f404076c-de23-4609-848e-2dfd4ef701b0/Images/Documentation/image-1639041779886.png)

For **Tests, Tests Steps & Defects**, use the following in the **header**

![](https://cdn.document360.io/f404076c-de23-4609-848e-2dfd4ef701b0/Images/Documentation/image-9GV7OXJ8.png)

You can **export all** or only from a **specific Cycle**in the Project - **Export All** (Tests, Tests & Steps, Defects)

![](https://cdn.document360.io/f404076c-de23-4609-848e-2dfd4ef701b0/Images/Documentation/image-1639041840293.png)

**Export**from a **specific Cycle**in the Project (for Tests, Tests & Steps)

![](https://cdn.document360.io/f404076c-de23-4609-848e-2dfd4ef701b0/Images/Documentation/image-1639041851714.png)

Example of a response -

{

"request number": 2892478

}

> [!WARNING]
> Important!
> 
> You will need to include the {} in the body of your request
3. To **monitor the Request status**, use a **GET**request via the following URL https://{{panaya host}}/api/v1/projects/{{your project Id}}/request/{{your request number}}

![](https://cdn.document360.io/f404076c-de23-4609-848e-2dfd4ef701b0/Images/Documentation/image-QG8A7ZDM.png)

With the request number received from Step 2, it will look as follows - ![](https://cdn.document360.io/f404076c-de23-4609-848e-2dfd4ef701b0/Images/Documentation/image-2FCD1W68.png)

4. As a **response,**you will get the request details.

**Example of a response** for a completed export - {

"requestNumber": 2892467,

"creationDate": "29-Oct-2019",

"status": "Completed",

"resultLink": "https://panaya-assets-prod-us.s3.amazonaws.com/offlineExport/87d2e733-1ac98-6f12-498a2ab-87a8e944e/ExportedSteps.csv",

"requestDetails": "Export Steps via API (Cycle: sm)"

} **Status** - Not Started, In Progress, Completed, Failed **CreationDate** – original time in ms, when the request was executed **ResultLink** – Will only appear requests in Completed status. **RequestDetails** – Description of your request (export Tests, Steps, Defects)

Once the request status = **Completed,**the**ResultLink** will include a link to **download the CSV file.**

> [!NOTE]
> Good to Know!
> 
> - The “ResultLink” is only valid for 5 minutes. Within 30 days, you can request a new valid URL with a new GET request. After this time, the link will no longer be accessible.
> - When processing the output CSV -
>   - Please do not rely on the column order when accessing the data. Instead, use the column name to ensure accuracy and maintain compatibility
>   - Column names are not case sensitive.
>   - When adding or renaming fields, the structure of the CSV will change accordingly.
