Get Validation Results for a File
Get Results
View Validation Results
Retrieves a paginated list of detailed validation results for a file that has been processed. This endpoint should be used after a file’s status is ‘validated’.
GET
Get Validation Results for a File
This endpoint retrieves validation results in two different modes: file-based validation results or individual email validation history. The response format changes based on the query parameters you provide.
Validation Result Types
- File-Based Results
- Individual Email History
Get detailed validation results for emails processed from an uploaded file.
Required Parameter:
file_id Use this to review the outcome for each
email after a file validation job is complete.How it Works
Choose Your Method
Decide whether you want file-based validation results or individual
validation history
For File-Based Results
Use
file_id parameter with the ID from a previously uploaded and validated
fileExample Usage
File-Based Validation Results
Individual Email Validation History
Query Parameters
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
file_id | integer | No* | File ID for file-based results | - |
type | string | No* | Set to "list" for individual history | - |
size | integer | No | Number of results per page (1-100) | 10 |
page | integer | No | Page number for pagination | 1 |
Mutually Exclusive: You must provide either
file_id OR type=list, but
not both.Response Formats
File-Based Validation Results
Individual Email Validation History
When to Use Each Method
File-Based Results
Use When: You want detailed results for emails from an uploaded file
Best For: - Bulk validation analysis - File processing review - Detailed
email-by-email breakdown
Individual History
Use When: You want to review individual emails validated directly Best
For: - Validation history audit - API usage tracking - Individual email
analysis
Key Differences Between Response Types
| Feature | File-Based Results | Individual History |
|---|---|---|
file_id | Contains file details object | Always null |
type | Shows email type (business/personal) | Always "list" |
reason | JSON string format | Object format |
metadata | Basic source info | Detailed validation options |
| Use Case | Bulk file analysis | Individual tracking |
Validation Status Types
Valid
Email passed all validation checks and is deliverable
Invalid
Email failed one or more validation checks
Unknown
Validation result inconclusive (temporary issues)
Understanding Validation Reasons
File-Based Results (JSON String Format)
Individual History (Object Format)
Prerequisites
- For File-Based Results
- For Individual History
Required Steps: 1. Upload file using File
Upload 2. Validate file using
Validate Email Addresses 3.
Wait for processing to complete 4. Retrieve results with this endpoint
Empty Results Scenarios
For File-Based Results
| File Status | Meaning | Action Required |
|---|---|---|
processing | Validation in progress | Wait for completion |
validated | Validation complete, no valid emails | All emails were invalid |
failed | Processing failed | Check error logs or retry |
For Individual History
- No individual validations performed: You haven’t used the direct email validation method yet
- All validations were file-based: Individual history only shows direct
emailsarray validations
Error Responses
| Status Code | Description | Action |
|---|---|---|
400 | Invalid parameters or missing required parameter | Check file_id or type=list parameter |
401 | Unauthorized access | Verify your API key |
404 | File not found (for file-based requests) | Ensure file exists and belongs to you |
Related Endpoints
Validate Emails
Use Validate Emails to perform
new validations
File Upload
Use File Upload to upload files for
validation
Clean List Results
Use Clean List Results for
cleaned email lists
Authorizations
API key for authentication
Query Parameters
The ID of the file for which to retrieve results.
Type of validation results to retrieve. Use 'list' to get individual email validation history.
Available options:
list Number of results to return per page.
Required range:
1 <= x <= 100Page number for pagination.
Required range:
x >= 1