---
schema_version: "1"
id: 8faed84648d80699b24c797e6393278c910919f276ad3367dac2fa0746f602bb
title: Retrieving CSV Exports
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/retail_api/rtr_retrieving_csv_exports.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.retail_api.meta/retail_api/rtr_retrieving_csv_exports.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: fd0f48c1c12388fe6f574a59969235d900817c16ebce06e0b008245adfcc1d31
---
# Retrieving CSV Exports

The response body is a binary file and can be saved locally. This file with the ending csv.gz is a zipped CSV file, so it must be extracted first.

## Endpoint

<CGCloud Processing Services Integration>/api/v1/files/getcsv/{{csvGuid}}?path={{full or delta}}

![Note](https://developer.salesforce.com/docs/atlas.en-us.retail_api.meta/retail_api/images/icon_note.png)

#### Note

You can get the CGCloud Processing Services Integration value from the Processing Services Pairing App page in your Salesforce org.

## HTTP Method

GET

<table class="featureTable sort_table" summary="">



          <thead class="thead sorted" align="left">
            <tr>
              <th class="featureTableHeader  " id="d62689e77">URL Parameter</th>

              <th class="featureTableHeader  " id="d62689e80">Mandatory</th>

              <th class="featureTableHeader  " id="d62689e83">Sample Values</th>

            </tr>

          </thead>

          <tbody class="tbody">
            <tr>
              <td class="entry" headers="d62689e77" data-title="URL Parameter"><span class="keyword parmname">csvGuid</span></td>

              <td class="entry" headers="d62689e80" data-title="Mandatory">Yes</td>

              <td class="entry" headers="d62689e83" data-title="Sample Values">3b549543-d420-401a-b424-29c7f3c75713</td>

            </tr>

            <tr>
              <td class="entry" headers="d62689e77" data-title="URL Parameter"><span class="keyword parmname">path</span></td>

              <td class="entry" headers="d62689e80" data-title="Mandatory">Yes</td>

              <td class="entry" headers="d62689e83" data-title="Sample Values">Must be either: <ul class="ul bulletList">
                  <li class="li">tpm/long/export/full (to retrieve a full export)</li>

                  <li class="li">tpm/long/export/delta (to retrieve a delta export)</li>

                </ul>
              </td>

            </tr>

          </tbody>

        </table>