Elements that can be shared among more than one endpoint definition.
This endpoint gets amount of IP Addresses that can still be created during a given period and the price of those IPs.
Bearer <<YOUR_API_KEY_HERE>>
The number of IPs that can still be added to the user.
The length of time until user can add more IPs.
The current cost to add an IP.
{ "results": [ { "remaining": 2, "period": "month", "price_per_ip": 20 } ] }
_18const client = require('@sendgrid/client');_18client.setApiKey(process.env.SENDGRID_API_KEY);_18_18_18const request = {_18 url: `/v3/ips/remaining`,_18 method: 'GET',_18 _18}_18_18client.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 });