Retrieve
bulk_verification.retrieve(strid) -> BulkVerificationRetrieveResponse
GET/v1/addver_lists/{id}
Retrieve a single bulk verification list by ID, including its processing status and — once processed — a link to the output CSV.
Retrieve
import os
from postgrid import PostGrid
client = PostGrid(
address_verification_api_key=os.environ.get("POSTGRID_ADDRESS_VERIFICATION_API_KEY"), # This is the default and can be omitted
)
bulk_verification = client.bulk_verification.retrieve(
"id",
)
print(bulk_verification.data){
"data": {
"id": "id",
"cost": 0,
"count": 0,
"createdAt": "2019-12-27T18:11:19.117Z",
"file": "file",
"mappings": {
"line1": "line1",
"city": "city",
"country": "country",
"firstName": "firstName",
"fullName": "fullName",
"lastName": "lastName",
"line2": "line2",
"postalOrZip": "postalOrZip",
"provinceOrState": "provinceOrState"
},
"name": "name",
"organization": "organization",
"status": "status",
"updatedAt": "2019-12-27T18:11:19.117Z",
"useGeocode": true,
"useIntlVerification": true,
"useProperCase": true,
"user": "user",
"defaultCountry": "defaultCountry",
"metadata": {
"statusCount": {
"corrected": 0,
"failed": 0,
"verified": 0
}
},
"numInvalidRows": 0,
"result": "result",
"runCCOA": true,
"runNCOA": true
},
"message": "message",
"status": "success"
}Returns Examples
{
"data": {
"id": "id",
"cost": 0,
"count": 0,
"createdAt": "2019-12-27T18:11:19.117Z",
"file": "file",
"mappings": {
"line1": "line1",
"city": "city",
"country": "country",
"firstName": "firstName",
"fullName": "fullName",
"lastName": "lastName",
"line2": "line2",
"postalOrZip": "postalOrZip",
"provinceOrState": "provinceOrState"
},
"name": "name",
"organization": "organization",
"status": "status",
"updatedAt": "2019-12-27T18:11:19.117Z",
"useGeocode": true,
"useIntlVerification": true,
"useProperCase": true,
"user": "user",
"defaultCountry": "defaultCountry",
"metadata": {
"statusCount": {
"corrected": 0,
"failed": 0,
"verified": 0
}
},
"numInvalidRows": 0,
"result": "result",
"runCCOA": true,
"runNCOA": true
},
"message": "message",
"status": "success"
}