Export donors to CSV or XLSX

Export donor data to a file. Provide either a list ID or specific donor IDs as the source. Specify the fields to include (see the DASpreadsheetFieldName enum for valid values). All exports run synchronously and return a presigned download URL.

Cost: 1 credit per donor exported.

Authentication

x-api-keystring
Your DonorAtlas API key. Contact support@donoratlas.com to get started.

Request

This endpoint expects an object.
sourceobjectRequired

Export source — either a list ID or specific donor IDs

export_typeenumRequired

Export format: ‘csv’ or ‘xlsx’

fieldslist of nullable enumsRequired
Fields to include in the export

Response

Successful Response
export_idstring
Unique export identifier
credits_chargedinteger
Number of Partner API export credits consumed
exports_credits_remaininginteger
Export Partner API credits remaining after this export
download_urlstring or null
Presigned download URL

Errors

400
Bad Request Error
402
Payment Required Error
422
Unprocessable Entity Error