---
title: "Validate Support IP addresses on firewall"
method: GET
path: "/ticket_whitelist_check"
tags: ["Support Tickets", "Support Access"]
---

# Validate Support IP addresses on firewall

`GET /ticket_whitelist_check`

This function checks whether the server's firewall whitelist correlates
with the granted support tickets. You can view granted support tickets in
WHM's
[*Grant cPanel Support Access*](https://docs.cpanel.net/whm/support/grant-cpanel-support-access/)
interface (*WHM >> Home >> Support >> Grant cPanel Support Access*).

**Note:**

This function is **not** available through the command line. You **must** call it as
a request body.

## Response `200`

HTTP Request was successful.

- object
  - `data` object
    - `chain_status` 'ACTIVE' | 'INACTIVE' — The status of the server's firewall whitelist. * `ACTIVE` — The whitelist is active. * `INACTIVE` — The whitelist is inactive.
    - `problem` 'NO' | 'NEED_SETUP' | 'NEED_UNSETUP' — message that indicates whether a problem exists with the current status. * `NO` — The firewall does not require changes. * `NEED_SETUP` — You have granted cPanel Support access, but the system's firewall whitelist does not contain support's IP addresses. * `NEED_UNSETUP` — The system detected that **no** cPanel Support access grants exist, but the system's firewall whitelist contains support's IP addresses.
  - `metadata` object
    - `command` string — The method name called.
    - `reason` string — The reason the API function failed when the `metadata.result` field is `0`. This field may display a success message when a function succeeds.
    - `result` 1 | 0 — * `1` — Success. * `0` — Failed. Check the `reason` field for more details.
    - `version` integer — The version of the API function.

---

[API](https://skmtc.net/cpanel/apis/whm-api.md) · [All operations](https://skmtc.net/cpanel/apis/whm-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cpanel/whm-api/revisions/3da41671c02c/schema)
