Skip to contentSkip to navigationSkip to topbar
On this page

Get a Bulk Email Address Validation Job by ID



API Overview

api-overview page anchor

Email Address Validation is available to Email API Pro and Premier level accounts only. An Email Validation API key is required. See the Email Address Validation overview page for more information.

The Email Address Validation API provides detailed information about the validity of email addresses, which helps you create and maintain contact lists and reduce bounce rates.

The Bulk Email Address Validation API facilitates the asynchronous validation of up to one million email addresses.

With the Bulk Email Address Validation API, you can:

  • Request an upload URL for the email list you wish to verify.
  • Get all Bulk Email Address Validation Jobs.
  • Get a specific Bulk Email Address Validation Job.
  • This API reference page should be used in conjunction with the Email Address Validation Overview page and the Bulk Email Validation Integration Guide.

GET/v3/validations/email/jobs/{job_id}

Base url: https://api.sendgrid.com (The Twilio SendGrid v3 API)

This endpoint returns a specific Bulk Email Validation Job. You can use this endpoint to check on the progress of a Job.


Authentication

authentication page anchor
Property nameTypeRequiredDescription
Authorizationstringrequired
Default: Bearer <<YOUR_API_KEY_HERE>>
Property nameTypeRequiredDescription
job_idstringrequired

The ID of the Bulk Email Address Validation Job you wish to retrieve.

200404500
SchemaExample
Property nameTypeRequiredDescriptionChild properties
resultobject
Get a specific bulk email address validation job by IDLink to code sample: Get a specific bulk email address validation job by ID
1
const client = require('@sendgrid/client');
2
client.setApiKey(process.env.SENDGRID_API_KEY);
3
4
const job_id = "ZGkrHSypTsudrGkmdpJJ";
5
6
const request = {
7
url: `/v3/validations/email/jobs/${job_id}`,
8
method: 'GET',
9
10
}
11
12
client.request(request)
13
.then(([response, body]) => {
14
console.log(response.statusCode);
15
console.log(response.body);
16
})
17
.catch(error => {
18
console.error(error);
19
});

Need some help?

Terms of service

Copyright © 2024 Twilio Inc.