Check whether alert profiles exist

Open in ChatGPT Open in ChatGPT to ask questions about this page
Open in Claude Open in Claude to ask questions about this page
Copy as MarkdownCopy this page as markdown to use with AI assistants
View as Markdown Open this page as markdown in a new tab

Returns a boolean flag indicating whether at least one alert profile is available.

Request URL

https://{serverurl}/intelligence/api/alerts/getEIAlertsMeta

Scope

DesktopCentralCloud.DEX.READCopied!

Header

Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52

Request Parameters

- Request Headers

AcceptstringMandatory
application/alertMetaJson.v1+jsonapplication/alertMetaJson.v1+jsonCopied!

Sample Request

Curl
Java
Python
Deluge
PowerShell
Copied!
curl --request GET \
  --url https://appdomains/intelligence/api/alerts/getEIAlertsMeta \
  --header 'Accept: application/alertMetaJson.v1+json' \
  --header 'Authorization: Zoho-oauthtoken  d92d4xxxxxxxxxxxxx15f52'

Response Parameters

- HTTP code 200

Response Body - application/json
JSON Object
Hide Sub-Attributes
isAlertProfileAvailableboolean

Indicates if at least one alert profile exists

- HTTP code 500

Response Body - application/json
JSON Object
Hide Sub-Attributes
errorCodestring

Internal server error code for alerts metadata operation

errorMessagestring

Internal server error message for alerts metadata operation

Possible Response Codes

200HTTP code
500HTTP code

Sample Response: HTTP 200

Profile availability metadata

Copied!
  {
    "isAlertProfileAvailable": true
  }
                
Show full

Sample Response: HTTP 500

Unexpected metadata query failure

Copied!
  {
    "errorMessage": "Unable to fetch alert metadata due to internal error",
    "errorCode": "INTERNAL_ERROR"
  }
                
Show full

Duration: 1 minute | Threshold: 30 | Lock period: 5 minutes

Duration - Time window for the threshold.
Threshold - Number of API calls allowed within the specified duration.
Lock Period - Wait time before consecutive API requests.