Download a job's file

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
FieldTypeDescription
idrequiredstring · path—
Response · 200 fields5 fields
FieldTypeDescription
objectrequiredstring—
job_idrequiredstring—
urlrequiredstringA signed URL to the file; it expires in 5 minutes.
filenamerequiredstring—
expires_atrequiredstring—
200401403404409422503

Search docs and guides

Search the docs and product guides.