Elements that can be shared among more than one endpoint definition.
This endpoint is for adding a(n) IP Address(es) to your account.
Bearer <<YOUR_API_KEY_HERE>>
application/json
The amount of IPs to add to the account.
Array of usernames to be assigned a send IP.
Whether or not to warmup the IPs being added.
false
List of IP objects.
The number of IPs that can still be added to the user.
Whether or not the IPs are being warmed up.
1const client = require('@sendgrid/client');2client.setApiKey(process.env.SENDGRID_API_KEY);34const data = {5"count": 90323478,6"subusers": [7"subuser1",8"subuser2"9],10"warmup": true,11"user_can_send": true12};1314const request = {15url: `/v3/ips`,16method: 'POST',17body: data18}1920client.request(request)21.then(([response, body]) => {22console.log(response.statusCode);23console.log(response.body);24})25.catch(error => {26console.error(error);27});