Menu

Expand
Rate this page:

IP Pools

IP pools allow you to group your dedicated SendGrid IP addresses. For example, you could create separate one pool for your transactional email and another for your marketing email. When sending marketing emails, specify that you want to use the marketing IP pool. This allows you to maintain separate reputations for your different email traffic.

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 determined by the aggregate performance of all email traffic sent from it.

IP pools can only be used with IP addresses for which you’ve set up a reverse DNS record.

If an IP pool is not specified for an email, it will use any IP available, including pooled addresses.

Each user can create up to 100 different IP pools.

Retrieve all the IPs in a specified pool

GET /v3/ips/pools/{pool_name}

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

This endpoint allows you to get all of the IP addresses that are in a specific IP pool.

Authentication

  • API Key

Headers

Authorization
string
default: Bearer <<YOUR_API_KEY_HERE>>
required

Path Parameters

pool_name
string

The name of the IP pool that you want to retrieve the IP addresses for.

default: None
required

Responses

object
pool_name
string

The name of the IP pool.

maxLength: 64
ips
array[string]

The IP addresses that belong to this pool.

object
errors
array[object]
field
string

The name of the error.

message
string

A message explaining why the IP addresses could not be listed.

Loading Code Sample...
        
        

        Retrieve all the IPs in a specified pool

        Rate this page:

        Need some help?

        We all do sometimes. Get help now from the Twilio SendGrid Support Team.

        Running into a coding hurdle? Lean on the wisdom of the crowd by browsing the SendGrid tag on Stack Overflow or visiting Twilio's Stack Overflow Collective.

        Loading Code Sample...
              
              
              

              Thank you for your feedback!

              Please select the reason(s) for your feedback. The additional information you provide helps us improve our documentation:

              Sending your feedback...
              🎉 Thank you for your feedback!
              Something went wrong. Please try again.

              Thanks for your feedback!

              thanks-feedback-gif