Download a job's file
GET/api/v1/jobs/{id}/download
GET /jobs/{id}/download
curl -X GET 'https://www.unitpost.com/api/v1/jobs/job_123/download' \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'User-Agent: my-app/1.0'Response · 200
{
"object": "job_download",
"job_id": "job_123",
"url": "https://example.com",
"filename": "string",
"expires_at": "2026-01-01T00:00:00.000Z"
}A finished job's file (a contacts export's CSV) as a signed url that expires in 5 minutes. A job that isn't COMPLETED, or a kind with no file, is a 409. Needs the kind's capability now: the file holds that data. Requires the contacts:read capability.
Parameters1 field
| Field | Type | Description |
|---|---|---|
idrequired | string · path | — |
Response · 200 fields5 fields
| Field | Type | Description |
|---|---|---|
objectrequired | string | — |
job_idrequired | string | — |
urlrequired | string | A signed URL to the file; it expires in 5 minutes. |
filenamerequired | string | — |
expires_atrequired | string | — |
200401403404409422503