Twilio SendGrid IP Address API
The Twilio SendGrid IP Address API allows you to add and manage dedicated IP addresses and IP Pools for your SendGrid account and Subusers. If you are sending…
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
The Twilio SendGrid IP Address API allows you to add and manage dedicated IP addresses and IP Pools for your SendGrid account and Subusers. If you are sending any significant amount of email, SendGrid typically suggests sending from dedicated IPs. It's also best to send marketing and transactional emails from separate IP addresses. In order to do this, you'll need to set up IP Pools, which are groups of dedicated IP addresses you define to send particular types of messages. See the Dedicated IP Addresses for more information about obtaining and allocating IPs.
Endpoints 12
IP Addresses
- GETRetrieve all IP addresses
/v3/ips?ip=string&exclude_whitelabels=true&limit=10&offset=0&subuser=string&sort_by_direction=descThis endpoint allows you to retrieve a paginated list of all assigned and unassigned IPs. Response includes warm up status, pools, assigned subusers, and… - POSTAdd IPs
/v3/ipsThis endpoint is for adding a(n) IP Address(es) to your account. - GETRetrieve all IP pools an IP address belongs to
/v3/ips/:ip_addressThis 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… - GETRetrieve all assigned IPs
/v3/ips/assignedThis endpoint allows you to retrieve only assigned IP addresses. A single IP address or a range of IP addresses may be dedicated to an account in order to… - GETGet remaining IPs count
/v3/ips/remainingThis endpoint gets amount of IP Addresses that can still be created during a given period and the price of those IPs.
IP Pools
- GETRetrieve all IP pools
/v3/ips/poolsThis endpoint allows you to get all of your IP pools. - POSTCreate an IP pool
/v3/ips/poolsThis endpoint allows you to create an IP pool. Before you can create an IP pool, you need to activate the IP in your SendGrid account: 1. Log into your… - GETRetrieve all the IPs in a specified pool
/v3/ips/pools/:pool_nameThis endpoint allows you to get all of the IP addresses that are in a specific IP pool. - PUTRename an IP pool
/v3/ips/pools/:pool_nameThis endpoint allows you to update the name of an IP pool. - DELETEDelete an IP pool
/v3/ips/pools/:pool_nameThis endpoint allows you to delete an IP pool. - POSTAdd an IP address to a pool
/v3/ips/pools/:pool_name/ipsThis endpoint allows you to add an IP address to an IP pool. You can add the same IP address to multiple pools. It may take up to 60 seconds for your IP… - DELETERemove an IP address from a pool
/v3/ips/pools/:pool_name/ips/:ipThis endpoint allows you to remove an IP address from an IP pool.
API details
- Base URL
https://api.sendgrid.comhttps://api.eu.sendgrid.com- Authentication
- A bearer token in the Authorization header
- Operations
- 12 operations on 8 pathsGET 6POST 3DELETE 2PUT 1
- Main resources
- IP Pools 7IP Addresses 5
- Response formats
application/json- Description format
- OpenAPI 3.1.0, API version
1.0.0 - Links
- Documentation · OpenAPI document · Terms of service · Support
How to test the Twilio SendGrid IP Address API in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the Twilio SendGrid IP Address API collection, without the publisher's secrets.
- Add your credentialsThis API uses A bearer token in the Authorization header. Add yours in the collection's variables or an environment; the requests already reference it.
- Send a requestPick an endpoint, for example “Retrieve all IP addresses” (GET /v3/ips?ip=string&exclude_whitelabels=true&limit=10&offset=0&subuser=string&sort_by_direction=desc), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the Twilio SendGrid IP Address API?
The Twilio SendGrid IP Address API allows you to add and manage dedicated IP addresses and IP Pools for your SendGrid account and Subusers. If you are sending… It is listed under Communication and has 12 endpoints.
Who publishes the Twilio SendGrid IP Address API?
It is listed from SendGrid's public API description (an OpenAPI document), not published by SendGrid on Swastik Codes. Anyone who controls sendgrid.com can claim the profile by adding a DNS TXT record.
What is the base URL of the Twilio SendGrid IP Address API?
Its description lists 2 base URLs: https://api.sendgrid.com, https://api.eu.sendgrid.com. The first is the usual one; the others are typically sandbox or regional servers.
How do I authenticate with the Twilio SendGrid IP Address API?
With A bearer token in the Authorization header.
How many endpoints does the Twilio SendGrid IP Address API have?
12 operations on 8 paths (6 GET, 3 POST, 2 DELETE, 1 PUT). The largest groups are IP Pools, IP Addresses.
Is forking the Twilio SendGrid IP Address API free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.