Queue a recipient worksheet CSV export
Creates an export artifact, queues CSV generation and records the request in Activity. Applies saved views, current program/surface filters, selected fields/order/labels and participation field access; all or0 exports the combined program context. Returns HTTP200 with queued status, not CSV content. Follow export_id through the export status workflow; the returned status_url is a versionless relative API path. Worker failures/delivery are reported asynchronously. Requires permission: one of programs_view, manage_programs, program-all.
Authorizations
Passport bearer token authentication for legacy admin sessions.
Path Parameters
Accessible program id or all programs. Footer/export also accept0 for the combined context.
42
Body
Validated request fields for this operation.
Recipient worksheet state. filter is always required, including legacy requests. A supplied filterGroups array must be nonempty. Presence operators isUnknown, hasAnyValue and isEmpty omit value; other groups require it.
Archived-view selector. Use string false for active and true for archived. Recipient views also support available, sponsored and unsponsored.
"false"
Multiple typed comparisons. Requires filter when present; value is required except supported presence/empty operators. Saved-view filters are sanitized to current allowed fields.
Worksheet search text; recipient search defaults to title/id fields when keysArray is absent.
"Jane"
Legacy comparison/search field keys.
Legacy single comparison operator.
"contains"
Saved view/report from this organization and worksheet module; missing/unmatched ids are ignored.
42
Compatibility alias for savedFilterId.
42
Selected column keys; defaults to saved/current form preferences.
Preferred allowed column ordering.
Allowed selected/system/custom sort key.
"display_name"
Sort direction; unsupported directions normalize to asc where validated.
asc, desc "asc"
Lower date bound, interpreted with module/saved report date semantics.
"2026-01-01"
Upper date bound; donor created-at range applies when both bounds are supplied and no advanced date override exists.
"2026-10-20"
Combined all-program scope; defaults recipients. Campaigns selects campaign programs.
recipients, campaigns "recipients"
Use email to request email delivery; omitted/default uses Activity notification/download. Delivery also depends on worker and organization settings.
email "email"
Optional field-key to CSV header-label override map.
Response
Operation result.
"Export initiated successfully. You will get a notification in Activity when the CSV is ready to download."
queued "queued"
42
"/admin/entities/exports/42/status"