Retrieve all IP pools an IP address belongs to
The IP Address API lets you manage the dedicated IP addresses assigned to your SendGrid account. Use these endpoints to add dedicated IP addresses, list IP addresses, check how many IP addresses you can add, and inspect IP pool assignments.
GET/v3/ips/{ip_address}
Base url: https://api.sendgrid.com (for global users)
This endpoint allows you to see which IP pools a particular IP address has been added to.
The same IP address can be added to multiple IP pools.
A single IP address or a range of IP addresses may be dedicated to an account in order to send email for multiple domains. The reputation of this IP is based on the aggregate performance of all the senders who use it.
Bearer <<YOUR_API_KEY_HERE>>The IP address you are retrieving the IP pools for.
Optional
The IP address.
Optional
The subusers that can send email using this IP address.
Optional
The reverse DNS record for this IP address.
Optional
The list of IP pools that this IP address belongs to.
Optional
Indicates if this IP address is currently warming up.
Optional
The date that the IP address was entered into warmup.
Optional
Indicates if this IP address is associated with a reverse DNS record.
1const client = require("@sendgrid/client");2client.setApiKey(process.env.SENDGRID_API_KEY);34const ip_address = "196.215.224.146";56const request = {7url: `/v3/ips/${ip_address}`,8method: "GET",9};1011client12.request(request)13.then(([response, body]) => {14console.log(response.statusCode);15console.log(response.body);16})17.catch((error) => {18console.error(error);19});