Create Targeted List Build
POST/print-mail/v1/targeted_list_builds
Create a new targeted list build. A quote will be generated asynchronously based on the provided filters.
Body ParametersJSON
Returns
buildProgressPercent: optional number
A percentage from 0 to 100 representing how much of the build has
completed. Only populated while status is creating_list.
formatfloat
minimum0
maximum100
completedAt: optional string
The UTC time at which the build finished successfully. Only present
once status is completed.
formatdate-time
description: optional string
An optional string describing this resource. Will be visible in the API and the dashboard.
limit: optional number
Maximum number of contacts to include in the built mailing list. If omitted, all matching contacts are included.
formatint32
minimum1
Create Targeted List Build
curl https://api.postgrid.com/print-mail/v1/targeted_list_builds \
-H 'Content-Type: application/json' \
-H "X-API-Key: $POSTGRID_PRINT_MAIL_API_KEY" \
-d '{}'{
"id": "targeted_list_build_123",
"live": false,
"description": "Q1 prospecting list",
"metadata": {
"campaign": "q1_prospecting"
},
"createdAt": "2026-01-05T10:00:00Z",
"updatedAt": "2026-01-05T10:01:30Z",
"organization": "organization_123",
"status": "quote_ready",
"usCompanies": {
"postalCodes": [
"10001",
"10002"
],
"industries": [
"software"
],
"employeeCount": [
10,
500
]
},
"limit": 1000,
"quote": {
"generatedAt": "2026-01-05T10:01:30Z",
"count": 1000,
"pricePerContactCents": 11.98
},
"previewRecords": [
{
"name": "Acm***",
"formattedAddress": "12** Main St, New York, NY, 100**"
}
],
"errors": []
}Returns Examples
{
"id": "targeted_list_build_123",
"live": false,
"description": "Q1 prospecting list",
"metadata": {
"campaign": "q1_prospecting"
},
"createdAt": "2026-01-05T10:00:00Z",
"updatedAt": "2026-01-05T10:01:30Z",
"organization": "organization_123",
"status": "quote_ready",
"usCompanies": {
"postalCodes": [
"10001",
"10002"
],
"industries": [
"software"
],
"employeeCount": [
10,
500
]
},
"limit": 1000,
"quote": {
"generatedAt": "2026-01-05T10:01:30Z",
"count": 1000,
"pricePerContactCents": 11.98
},
"previewRecords": [
{
"name": "Acm***",
"formattedAddress": "12** Main St, New York, NY, 100**"
}
],
"errors": []
}