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.
source
Export source — either a list ID or specific donor IDs
export_type
Export format: ‘csv’ or ‘xlsx’
fields
Fields to include in the export
Response
Successful Response
export_id
Unique export identifier
credits_charged
Number of Partner API export credits consumed
exports_credits_remaining
Export Partner API credits remaining after this export
download_url
Presigned download URL
Errors
400
Bad Request Error
402
Payment Required Error
422
Unprocessable Entity Error