---
title: "Check the WebPros authentication status"
method: GET
path: "/360Monitoring/webpros_auth_status"
tags: ["360 Monitoring"]
---

# Check the WebPros authentication status

`GET /360Monitoring/webpros_auth_status`

## Request

- Base URL: `https://whm-server.tld:2087/json-api`
- URL: `https://whm-server.tld:2087/json-api/360Monitoring/webpros_auth_status`
- Auth: HTTP basic

This function reports whether the server holds a valid WebPros
authentication token for 360 Monitoring.

This function does not accept any parameters. It reads the token that
the server stored during the WebPros single sign-on flow, checks that
the token contains an identity token, and checks whether the token has
expired.

The function returns `data.valid` with a value of `1` when a usable
token exists. When the token is not usable, the function returns
`data.valid` with a value of `0` and a machine-readable
`data.reason` value.

The function does not return the access token or the refresh token.
Use the `360Monitoring/webpros_auth_token` function to retrieve the
access token.

## Response `200`

The HTTP Request succeeded.

- object
  - `data` object
    - `email` string: The email address from the `email` claim of the stored identity token. The function only returns this field when the token is valid. The function omits this field when the identity token does not contain an `email` claim.
    - `expired_at` integer: The Unix timestamp at which the stored token expired. The function only returns this field when the `data.reason` field is `expired`.
    - `error` string: The error message. The function only returns this field when the status check failed and the `data.reason` field is `error`.
    - `expires_in` integer: The number of seconds until the stored token expires. The function only returns this field when the token is valid.
    - `reason` string: The machine-readable reason that the token is not usable. The function only returns this field when the `data.valid` field is `0`. It is one of the following values: * `no_token` - The server does not store a token. * `parse_error` - The system could not read or decode the stored token. * `missing_id_token` - The stored token does not contain an identity token. * `missing_access_token` - The stored token does not contain an access token, so the system cannot authenticate 360 Monitoring requests with it. Sign in again. * `unverified_token` - The system stored the token before it verified identity token signatures, or the stored token has no readable expiry claim. Sign in again. * `expired` - The stored token expired. * `error` - The system failed to check the token. The `data.error` field contains the details.
    - `valid` 0 | 1: * `1` - The server holds a valid WebPros authentication token. * `0` - The server does not hold a valid WebPros authentication token. Check the `data.reason` field for more details.
  - `metadata` object
    - `command` string: The method name called.
    - `namespace` string: The namespace used in the API call.
    - `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` 0 | 1: * `1` - Success. * `0` - Failed. Check the `reason` field for more details.
    - `version` integer: The version of the API function.

## Changes

- **2026-09-23** `fe4906fbe393`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/cpanel/apis/whm-api/changes/360Monitoring/webpros_auth_status/get.md)

---

[API](https://skmtc.dev/cpanel/apis/whm-api.md) - [All operations](https://skmtc.dev/cpanel/apis/whm-api/llms.txt) - [OpenAPI document](https://skmtc.dev/cpanel/apis/whm-api/revisions/6ca2c65397e3?raw)
