# Download one export part

Source: https://checkslip.com/en/docs/download-slip-export-part

GET `https://api.checkslip.com/api/slips/exports/{export_id}/parts/{part}`

API key

Download one CSV part from its link in parts. Use the link as a download; there is no need to read the whole file into memory. UTF-8 with a BOM, so Excel shows Thai correctly. The link is signed and short-lived, and still needs an API key with slip:read of the account that made the export (or the web app's session).

## Parameters

| Field | In | Type | Required |
| --- | --- | --- | --- |
| `export_id` | path | `string (uuid)` | yes |
| `part` | path | `integer` | yes |
| `sig` | query | `string` | yes |

## Responses

### 200 `text/csv`

### Possible errors

401 403 404 410 429

An error as Problem Details. All codes are listed at [Error codes](https://checkslip.com/en/docs/errors)

**cURL**

```bash
curl "https://api.checkslip.com/api/slips/exports/0b6c2f5e-8a41-4d1e-9c3a-5f7e2d18a6b4/parts/1?sig=string" \
  -H "Authorization: Bearer $CHECKSLIP_API_KEY"
```

**Node.js**

```javascript
const res = await fetch("https://api.checkslip.com/api/slips/exports/0b6c2f5e-8a41-4d1e-9c3a-5f7e2d18a6b4/parts/1?sig=string", {
  headers: {
    Authorization: `Bearer ${process.env.CHECKSLIP_API_KEY}`,
  },
});
const text = await res.text();
```

**Python**

```python
import os

import requests

res = requests.get(
    "https://api.checkslip.com/api/slips/exports/0b6c2f5e-8a41-4d1e-9c3a-5f7e2d18a6b4/parts/1",
    headers={
        "Authorization": f"Bearer {os.environ['CHECKSLIP_API_KEY']}",
    },
    params={
        "sig": "string",
    },
)
text = res.text
```
