Skip to main content
POST
Download Dataset

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
account_id
required

ApartmentIQ account ID used to set the request account context.

dataset
enum<string>
required

Dataset snapshot to download.

Available options:
properties,
organizations,
contacts,
organization_properties
file_type
enum<string>
required

Output file format.

Available options:
parquet,
csv
date
string<date>

Optional exact snapshot date in YYYY-MM-DD format. Omit it to download the newest completed snapshot.

Pattern: ^\d{4}-\d{2}-\d{2}$
redirect_to_download
boolean
default:false

Set to true to return a 303 redirect to the download URL instead of the default JSON response.

Response

Download details for the requested dataset. The private pre-signed URL expires after five minutes.

dataset
enum<string>
required

Dataset snapshot to download.

Available options:
properties,
organizations,
contacts,
organization_properties
file_type
enum<string>
required

Output file format.

Available options:
parquet,
csv
dataset_date
string<date>
required

Snapshot date selected for the download.

download_url
string<uri>
required

Private pre-signed download URL that expires after five minutes.