Skip to contentSkip to navigationSkip to topbar
On this page

Get remaining IPs count



API Overview

api-overview page anchor

Elements that can be shared among more than one endpoint definition.


GET/v3/ips/remaining

Base url: https://api.sendgrid.com (for global users and subusers)

Base url: https://api.eu.sendgrid.com (for EU regional subusers)

This endpoint gets amount of IP Addresses that can still be created during a given period and the price of those IPs.


Authentication

authentication page anchor
Property nameTypeRequiredDescription
Authorizationstringrequired
Default: Bearer <<YOUR_API_KEY_HERE>>
200
SchemaExample
Property nameTypeRequiredDescriptionChild properties
resultsarray[object]
Get remaining IPs countLink to code sample: Get remaining IPs count
1
const client = require("@sendgrid/client");
2
client.setApiKey(process.env.SENDGRID_API_KEY);
3
4
const request = {
5
url: `/v3/ips/remaining`,
6
method: "GET",
7
};
8
9
client
10
.request(request)
11
.then(([response, body]) => {
12
console.log(response.statusCode);
13
console.log(response.body);
14
})
15
.catch((error) => {
16
console.error(error);
17
});

Need some help?

Terms of service

Copyright © 2024 Twilio Inc.