GET /projects/{project}/export/download/{export_id}
curl --request GET \
--url https://api-zangtable.com/projects/{project}/export/download/{export_id} \
--header 'Authorization: <authorization>'import requests
url = "https://api-zangtable.com/projects/{project}/export/download/{export_id}"
headers = {"Authorization": "<authorization>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<authorization>'}};
fetch('https://api-zangtable.com/projects/{project}/export/download/{export_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api-zangtable.com/projects/{project}/export/download/{export_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: <authorization>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api-zangtable.com/projects/{project}/export/download/{export_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<authorization>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api-zangtable.com/projects/{project}/export/download/{export_id}")
.header("Authorization", "<authorization>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-zangtable.com/projects/{project}/export/download/{export_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<authorization>'
response = http.request(request)
puts response.read_bodyExports
GET /projects/{project}/export/download/{export_id}
Downloads an export artifact.
GET
https://api-zangtable.com
/
projects
/
{project}
/
export
/
download
/
{export_id}
GET /projects/{project}/export/download/{export_id}
curl --request GET \
--url https://api-zangtable.com/projects/{project}/export/download/{export_id} \
--header 'Authorization: <authorization>'import requests
url = "https://api-zangtable.com/projects/{project}/export/download/{export_id}"
headers = {"Authorization": "<authorization>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<authorization>'}};
fetch('https://api-zangtable.com/projects/{project}/export/download/{export_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api-zangtable.com/projects/{project}/export/download/{export_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: <authorization>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api-zangtable.com/projects/{project}/export/download/{export_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<authorization>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api-zangtable.com/projects/{project}/export/download/{export_id}")
.header("Authorization", "<authorization>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-zangtable.com/projects/{project}/export/download/{export_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<authorization>'
response = http.request(request)
puts response.read_bodyDownloads an export artifact.
On success, the response body is the artifact itself, with
Full request:
Error or alternate response:
Endpoint details
string
required
Bearer
pat_... (Project API Token). Keep this token on your backend/server.string
required
Project slug. This acts as the Project ID in API paths.
string
required
Export id returned by an export creation or list response.
Content-Type, Content-Length, Content-Disposition, and Accept-Ranges: bytes headers. Current exports with a SHA-256 manifest value also return a stable ETag. Errors use the normal JSON error envelope with a request_id.
Authentication
Table export downloads require record read access to the table. Database and schema export downloads require project admin access.Parameters
Path:export_id required, format exp_....
Notes
Compare the completed file with the manifest’ssha256 value when verifying an artifact. To resume, send a single Range: bytes={offset}- header and the previous ETag in If-Range. A matching range returns 206 Partial Content with Content-Range; a changed validator returns the full file with 200. An out-of-bounds range returns 416. Each request still requires authorization and an unexpired export. Successful downloads are not wrapped in JSON.
Request examples
Basic request:curl -X GET "$BASE_URL/projects/{project}/export/download/{export_id}" \
-H 'Authorization: Bearer pat_PROJECT_TOKEN'
curl -X GET "$BASE_URL/projects/{project}/export/download/{export_id}" \
-H 'Authorization: Bearer pat_PROJECT_TOKEN' \
-H 'X-Operation-Key: edit-profile-email' \
-H 'X-Operation-Run-Id: oprun_client_20260602_001'
Response examples
Success (headers followed by the file bytes):HTTP/1.1 200 OK
Content-Type: text/csv; charset=utf-8
Content-Disposition: attachment; filename="contacts.csv"
Content-Length: 1234
Accept-Ranges: bytes
ETag: "sha256-..."
<CSV file bytes>
{
"ok": false,
"data": null,
"error": {
"code": "export_expired",
"message": "Export file has expired."
},
"request_id": "req_20260602T012345_123456Z_abc123def456",
"meta": {
"generated_at": "2026-06-02T01:23:45Z"
}
}