Menu

Expand
Rate this page:

IP Address Management API

The IP Address Management API combines functionality that was previously split between the Twilio SendGrid IP Address API and IP Pools API. This functionality includes adding IP addresses to your account, assigning IP addresses to IP Pools and Subusers, among other tasks. More details about each operation can be found in the descriptions and schemas for each endpoint.

Add a Twilio SendGrid IP Address

The IP Address Management API is in public beta at this time. This means the API and documentation are still in development and subject to change without advanced notice.

POST /v3/send_ips/ips

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

This operation adds a Twilio SendGrid IP address to your account. You can also assign up to 100 Subusers to the IP address at creation.

Request Body

object
is_auto_warmup
boolean

Indicates if the IP address is set to automatically warmup.

required
is_parent_assigned
boolean

Indicates if a parent on the account is able to send email from the IP address.

required
subusers
array[string]

An array of Subuser IDs the IP address will be assigned to.

maxItems: 100
region
string

The region of the IP address. Can be eu or us. (Regional email is in Public Beta and requires SendGrid Pro plan or above.)

default: usAllowed Values: eu, us
include_region
boolean

Boolean indicating whether or not to return the IP address's region information in the response. (Regional email is in Public Beta and requires SendGrid Pro plan or above.)

default: False

Responses

object
ip
string

The IP address that was added to your account.

is_auto_warmup
boolean

Indicates if the IP address is set to automatically warmup. This parameter is returned only if the IP address is set to automatically warm up.

is_parent_assigned
boolean

Indicates if a parent on the account is able to send email from the IP address.

subusers
array[string]

An array of Subuser IDs the IP address was assigned to.

region
string

The region of the IP address. This is only returned if include_region is set to True in the API request.

Allowed Values: eu, us
object

IP Address Management Error Response Schema

errors
array[object]

An array of error objects.

field
string

Indicates which field caused the error. This may be an empty string if no specific field is responsible for the error.

message
string

An error-specific message that provides more information about the error's cause.

object

IP Address Management Error Response Schema

errors
array[object]

An array of error objects.

field
string

Indicates which field caused the error. This may be an empty string if no specific field is responsible for the error.

message
string

An error-specific message that provides more information about the error's cause.

object

IP Address Management Error Response Schema

errors
array[object]

An array of error objects.

field
string

Indicates which field caused the error. This may be an empty string if no specific field is responsible for the error.

message
string

An error-specific message that provides more information about the error's cause.

Loading Code Sample...
        
        

        Add a Twilio SendGrid IP Address

        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