Skip to contentSkip to navigationSkip to topbar
Rate this page:
On this page

Start warming up an IP address



API Overview

api-overview page anchor

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(link takes you to an external page).


POST/v3/ips/warmup

Base url: https://api.sendgrid.com

This endpoint allows you to put an IP address into warmup mode.


Authentication

authentication page anchor
Property nameTypeRequiredDescription
Authorizationstringrequired
Default: Bearer <<YOUR_API_KEY_HERE>>
SchemaExample
Property nameTypeRequiredDescriptionChild properties
ipstringOptional

The IP address that you want to begin warming up.

200404
SchemaExample

Array of:

Property nameTypeRequiredDescriptionChild properties
ipstring

The IP address.


start_dateinteger

A Unix timestamp indicating when the IP address entered warmup mode.

Start warming up an IP address

start-warming-up-an-ip-address page anchor
Node.js
Python
C#
Java
Go
PHP
Ruby
curl

_21
const client = require('@sendgrid/client');
_21
client.setApiKey(process.env.SENDGRID_API_KEY);
_21
_21
const data = {
_21
"ip": "0.0.0.0"
_21
};
_21
_21
const request = {
_21
url: `/v3/ips/warmup`,
_21
method: 'POST',
_21
body: data
_21
}
_21
_21
client.request(request)
_21
.then(([response, body]) => {
_21
console.log(response.statusCode);
_21
console.log(response.body);
_21
})
_21
.catch(error => {
_21
console.error(error);
_21
});


Rate this page: