Get Whitelisted IPs API
POST /getWhitelistedIPs
Description
This endpoint retrieves a list of IP addresses that have been whitelisted.
Request
Endpoint: /getWhitelistedIPs
Method: POST
Body:
query getWhitelistedIPs {
getWhitelistedIPs {
id
ipAddress
}
}
GraphQL Variables:
{}
Example Request
cURL:
curl --location 'YOUR_API_ENDPOINT' \
--header 'Content-Type: application/json' \
--data '{"query":"query getWhitelistedIPs {\n getWhitelistedIPs {\n id\n ipAddress\n }\n}","variables":{}}'
Response
The response will include a list of whitelisted IP addresses with the following fields:
id
: Unique identifier of the whitelist record.ipAddress
: The IP address that has been whitelisted.