IP warming is the practice of gradually increasing the volume of mail sent with a dedicated IP address according to a predetermined schedule. This gradual process helps to establish a reputation with ISPs (Internet Service Providers) as a legitimate email sender.
SendGrid can automatically warm up dedicated IP addresses by limiting the amount of mail that can be sent through them per hour. The limit determined by how long the IP address has been warming up.
See the warmup schedule to learn how SendGrid limits your email traffic for IPs in warmup.
You can also choose to use Twilio SendGrid's automated IP warmup for any of your IPs from the "IP Addresses" settings menu in the Twilio SendGrid App.
This endpoint allows you to put an IP address into warmup mode.
Bearer <<YOUR_API_KEY_HERE>>
application/json
The IP address that you want to begin warming up.
Array of:
The IP address.
A Unix timestamp indicating when the IP address entered warmup mode.
1const client = require('@sendgrid/client');2client.setApiKey(process.env.SENDGRID_API_KEY);34const data = {5"ip": "0.0.0.0"6};78const request = {9url: `/v3/ips/warmup`,10method: 'POST',11body: data12}1314client.request(request)15.then(([response, body]) => {16console.log(response.statusCode);17console.log(response.body);18})19.catch(error => {20console.error(error);21});