selectionType to choose between all matching locations (ALL_ITEMS) or an explicit set (SELECTED_ITEMS with locationIds). The filterInput parameter accepts the same JSON-encoded filter object as Filter locations.curl --location --globoff 'https://api.synup.com/api/v4/locations/download?filterInput={%22tags%22%3A[%22priority%22]}&selectionType=ALL_ITEMS&locationIds=&emails=&archived=&approved=&archivalScheduledAt=' \
--header 'Synup-Version: 2026-04-17' \
--header 'Authorization: API T9V35W3xxxxxxxxxxx'{
"data": {
"downloadLocations": {
"success": true,
"csvUrl": "string"
}
}
}