v1

latestOpenAPI 3.1.02026-07-243035381.4 MB
Notifications

Count of found entities for get webhook request

This endpoint is compatible with our deprecated v3 Notifications product. To use it with v3, simply replace 'v4' with 'v3' in the request URL.

<p style="display: none">/v4/subscription/webhook/count</p> <p>Count of webhooks that were found from /v4/subscription/webhook</p>
get/v4/subscription/webhook/count

Query parameters

pageSizenumber required
Example:10

Max number of items per page is 50.

offsetnumber

Offset to obtain the next page of data.

direction'asc' | 'desc'
Example:asc

Direction of sorting

failedboolean

Flag indicating whether the webhook was successful or not

subscriptionIdstring
Example:507f1f77bcf86cd799439011

Filter by alert ID.

fromnumber
Example:1700000000

Count webhooks created at or after this Unix timestamp in seconds.

tonumber
Example:1700001000

Count webhooks created at or before this Unix timestamp in seconds.

Response

OK

totalnumber

Total entities

Example response

{
  "total": 20
}