Skip to contentSkip to navigationSkip to topbar
Rate this page:
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

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 count

get-remaining-ips-count page anchor
Node.js
Python
C#
Java
Go
PHP
Ruby
curl

_18
const client = require('@sendgrid/client');
_18
client.setApiKey(process.env.SENDGRID_API_KEY);
_18
_18
_18
const request = {
_18
url: `/v3/ips/remaining`,
_18
method: 'GET',
_18
_18
}
_18
_18
client.request(request)
_18
.then(([response, body]) => {
_18
console.log(response.statusCode);
_18
console.log(response.body);
_18
})
_18
.catch(error => {
_18
console.error(error);
_18
});


Rate this page: