provider IP Access Management GET /access_settings/whitelist
@utdk/sendgrid /access_settings/whitelist
Retrieve a list of currently allowed IPs
**This endpoint allows you to retrieve a list of IP addresses that are currently allowed to access your account.** Each IP address returned to you will have `created_at` and `updated_at` dates. Each IP will also be associated with an `id` that can be used to remove the address from your allow list.
on-behalf-of header
string

Try it

Authentication
Configure credentials for Email Activity (beta)
getAccessSettingsWhitelist
GET/access_settings/whitelist
**This endpoint allows you to retrieve a list of IP addresses that are currently allowed to access your account.** Each IP address returned to you will have `created_at` and `updated_at` dates. Each IP will also be associated with an `id` that can be used to remove the address from your allow list.

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import sendgrid from '@utdk/sendgrid';

await sendgrid.getAccessSettingsWhitelist({
  "on-behalf-of": "The subuser's username. This header generates the API call as if the subuser account was making the call."
})