Skip to main content

Export Addresses from Address Set

GET

API for downloading all addresses stored in an Address Set as a streamed CSV file. There are no filter parameters.The CSV has a single address column. The first line is the header address, followed by one address per line. This differs from the two-column address,createdAt format of the per-subscription download API (/v1/{protocol}/{network}/webhooks/{subscriptionId}/addresses/download). The attachment filename is address-set-{addressSetId}.csv.The downloaded file is in a format that can be uploaded as-is to the Import Addresses into Address Set API.
Path Parameters
addressSetIdstringrequired
Parameter that specifies the addressSetId assigned to the Address Set. Use the addressSetId returned when the Address Set was created. It is a 19-digit number but is returned as a string in JSON. Parsing it as a number in JavaScript or similar environments loses precision, so always handle it as a string.
Responses
codestringrequired
Code identifying the cause of the failed request.
messagestringrequired
Detailed message including the name and value of the invalid parameter.
{
"code": "MISSING_REQUIRED_PARAMETER",
"message": "Missing required parameter: { PARAMETER_NAME }"
}
cURL
curl -X GET 'https://web3.nodit.io/v1/webhook/address-sets/1788439512345678901/addresses/download' \
-H 'Content-Type: application/json' \
-H 'X-API-KEY: nodit-demo'