PingZen Webhook Checks API
The webhook-checks API from PingZen — 7 operation(s) for webhook-checks.
The webhook-checks API from PingZen — 7 operation(s) for webhook-checks.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/pingzen-dev:pingzen-dev-webhook-checks-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: PingZen Webhook Checks API
description: Service availability monitoring platform. Monitor your websites, APIs, and services with multi-protocol support.
version: 1.0.0
tags:
- name: webhook-checks
paths:
/api/v1/webhook-checks/:
post:
tags:
- webhook-checks
summary: Create webhook check monitor
description: Create a webhook check monitor for external system status updates.
operationId: create_webhook_check_api_v1_webhook_checks__post
security:
- HTTPBearer: []
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/CreateWebhookCheckRequest'
responses:
'201':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/WebhookCheckWithSecretResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
get:
tags:
- webhook-checks
summary: List webhook checks
description: List all webhook check monitors for the current user.
operationId: list_webhook_checks_api_v1_webhook_checks__get
security:
- HTTPBearer: []
parameters:
- name: page
in: query
required: false
schema:
type: integer
default: 1
title: Page
- name: page_size
in: query
required: false
schema:
type: integer
default: 20
title: Page Size
- name: status_filter
in: query
required: false
schema:
anyOf:
- $ref: '#/components/schemas/WebhookCheckStatus'
- type: 'null'
title: Status Filter
- name: is_active
in: query
required: false
schema:
anyOf:
- type: boolean
- type: 'null'
title: Is Active
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/WebhookCheckListResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/webhook-checks/{check_id}:
get:
tags:
- webhook-checks
summary: Get webhook check
description: Get details of a specific webhook check monitor.
operationId: get_webhook_check_api_v1_webhook_checks__check_id__get
security:
- HTTPBearer: []
parameters:
- name: check_id
in: path
required: true
schema:
type: string
title: Check Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/WebhookCheckResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
put:
tags:
- webhook-checks
summary: Update webhook check
description: Update a webhook check monitor configuration.
operationId: update_webhook_check_api_v1_webhook_checks__check_id__put
security:
- HTTPBearer: []
parameters:
- name: check_id
in: path
required: true
schema:
type: string
title: Check Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/UpdateWebhookCheckRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/WebhookCheckResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
delete:
tags:
- webhook-checks
summary: Delete webhook check
description: Delete a webhook check monitor and all its event history.
operationId: delete_webhook_check_api_v1_webhook_checks__check_id__delete
security:
- HTTPBearer: []
parameters:
- name: check_id
in: path
required: true
schema:
type: string
title: Check Id
responses:
'204':
description: Successful Response
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/webhook-checks/{check_id}/pause:
post:
tags:
- webhook-checks
summary: Pause webhook check
description: Pause monitoring for a webhook check. Incoming webhooks will still be recorded.
operationId: pause_webhook_check_api_v1_webhook_checks__check_id__pause_post
security:
- HTTPBearer: []
parameters:
- name: check_id
in: path
required: true
schema:
type: string
title: Check Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/WebhookCheckResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/webhook-checks/{check_id}/resume:
post:
tags:
- webhook-checks
summary: Resume webhook check
description: Resume monitoring for a paused webhook check.
operationId: resume_webhook_check_api_v1_webhook_checks__check_id__resume_post
security:
- HTTPBearer: []
parameters:
- name: check_id
in: path
required: true
schema:
type: string
title: Check Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/WebhookCheckResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/webhook-checks/{check_id}/regenerate-secret:
post:
tags:
- webhook-checks
summary: Regenerate secret
description: Generate a new webhook secret. Old secret will be invalidated.
operationId: regenerate_secret_api_v1_webhook_checks__check_id__regenerate_secret_post
security:
- HTTPBearer: []
parameters:
- name: check_id
in: path
required: true
schema:
type: string
title: Check Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/presentation__api__v1__schemas__webhook_checks__RegenerateSecretResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/webhook-checks/{check_id}/stats:
get:
tags:
- webhook-checks
summary: Get webhook check statistics
description: Get statistics for a webhook check including uptime and webhook counts.
operationId: get_webhook_check_stats_api_v1_webhook_checks__check_id__stats_get
security:
- HTTPBearer: []
parameters:
- name: check_id
in: path
required: true
schema:
type: string
title: Check Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/WebhookCheckStatsResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/webhook-checks/{check_id}/events:
get:
tags:
- webhook-checks
summary: Get webhook events
description: Get the history of incoming webhooks for this check.
operationId: get_webhook_events_api_v1_webhook_checks__check_id__events_get
security:
- HTTPBearer: []
parameters:
- name: check_id
in: path
required: true
schema:
type: string
title: Check Id
- name: page
in: query
required: false
schema:
type: integer
default: 1
title: Page
- name: page_size
in: query
required: false
schema:
type: integer
default: 50
title: Page Size
- name: valid_only
in: query
required: false
schema:
anyOf:
- type: boolean
- type: 'null'
title: Valid Only
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/WebhookEventListResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
presentation__api__v1__schemas__webhook_checks__RegenerateSecretResponse:
properties:
check_id:
type: string
title: Check Id
description: Webhook check ID
secret:
type: string
title: Secret
description: New secret (shown once)
regenerated_at:
type: string
format: date-time
title: Regenerated At
description: When secret was regenerated
type: object
required:
- check_id
- secret
- regenerated_at
title: RegenerateSecretResponse
description: Response schema for secret regeneration.
UpdateWebhookCheckRequest:
properties:
name:
anyOf:
- type: string
maxLength: 100
minLength: 1
- type: 'null'
title: Name
description: Display name
description:
anyOf:
- type: string
maxLength: 500
- type: 'null'
title: Description
description: Optional description
secret:
anyOf:
- type: string
maxLength: 64
minLength: 16
- type: 'null'
title: Secret
description: Shared secret (min 16 chars)
allowed_ips:
anyOf:
- items:
type: string
type: array
maxItems: 20
- type: 'null'
title: Allowed Ips
description: Allowed source IPs/CIDRs
state_field:
anyOf:
- type: string
maxLength: 100
minLength: 1
- type: 'null'
title: State Field
description: JSON path to status field
response_time_field:
anyOf:
- type: string
maxLength: 100
- type: 'null'
title: Response Time Field
description: JSON path to response time field
message_field:
anyOf:
- type: string
maxLength: 100
- type: 'null'
title: Message Field
description: JSON path to message field
expected_interval_seconds:
anyOf:
- type: integer
maximum: 2592000.0
minimum: 0.0
- type: 'null'
title: Expected Interval Seconds
description: Expected interval (0 = no timeout check)
is_active:
anyOf:
- type: boolean
- type: 'null'
title: Is Active
description: Whether monitor is active
type: object
title: UpdateWebhookCheckRequest
description: Request schema for updating a webhook check monitor.
WebhookEventListResponse:
properties:
events:
items:
$ref: '#/components/schemas/WebhookEventResponse'
type: array
title: Events
description: List of events
total:
type: integer
title: Total
description: Total number of events
page:
type: integer
title: Page
description: Current page
page_size:
type: integer
title: Page Size
description: Page size
type: object
required:
- events
- total
- page
- page_size
title: WebhookEventListResponse
description: Response schema for paginated event list.
CreateWebhookCheckRequest:
properties:
name:
type: string
maxLength: 100
minLength: 1
title: Name
description: Display name for the webhook check monitor
description:
anyOf:
- type: string
maxLength: 500
- type: 'null'
title: Description
description: Optional description of the external system being monitored
secret:
anyOf:
- type: string
maxLength: 64
minLength: 16
- type: 'null'
title: Secret
description: Optional shared secret for webhook validation (min 16 chars)
allowed_ips:
anyOf:
- items:
type: string
type: array
maxItems: 20
- type: 'null'
title: Allowed Ips
description: Optional list of allowed source IP addresses/CIDRs (max 20)
state_field:
type: string
maxLength: 100
minLength: 1
title: State Field
description: JSON path to status field in payload (e.g., 'status', 'data.state')
default: status
response_time_field:
anyOf:
- type: string
maxLength: 100
- type: 'null'
title: Response Time Field
description: Optional JSON path to response time field in payload
message_field:
anyOf:
- type: string
maxLength: 100
- type: 'null'
title: Message Field
description: Optional JSON path to message field in payload
expected_interval_seconds:
type: integer
maximum: 2592000.0
minimum: 0.0
title: Expected Interval Seconds
description: Expected interval between webhooks (0 = no timeout check)
default: 0
type: object
required:
- name
title: CreateWebhookCheckRequest
description: Request schema for creating a webhook check monitor.
WebhookCheckStatus:
type: string
enum:
- pending
- up
- down
- degraded
- paused
- stale
title: WebhookCheckStatus
description: 'Status of a webhook check monitor.
- PENDING: No webhooks received yet (new monitor)
- UP: Last received webhook indicated healthy state
- DOWN: Last received webhook indicated unhealthy state
- DEGRADED: Last received webhook indicated degraded state
- PAUSED: Monitoring temporarily disabled
- STALE: No webhooks received within expected interval'
WebhookCheckWithSecretResponse:
properties:
id:
type: string
title: Id
description: Webhook check UUID
name:
type: string
title: Name
description: Display name
user_id:
type: integer
title: User Id
description: Owner user ID
slug:
type: string
title: Slug
description: Unique URL slug for webhook endpoint
description:
anyOf:
- type: string
- type: 'null'
title: Description
description: Monitor description
allowed_ips:
anyOf:
- items:
type: string
type: array
- type: 'null'
title: Allowed Ips
description: Allowed source IPs
state_field:
type: string
title: State Field
description: JSON path to status field
response_time_field:
anyOf:
- type: string
- type: 'null'
title: Response Time Field
description: JSON path to response time
message_field:
anyOf:
- type: string
- type: 'null'
title: Message Field
description: JSON path to message
expected_interval_seconds:
type: integer
title: Expected Interval Seconds
description: Expected interval (0 = disabled)
status:
$ref: '#/components/schemas/WebhookCheckStatus'
description: Current monitor status
last_webhook_at:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Last Webhook At
description: Last webhook timestamp
last_payload:
anyOf:
- additionalProperties: true
type: object
- type: 'null'
title: Last Payload
description: Last webhook payload
last_source_ip:
anyOf:
- type: string
- type: 'null'
title: Last Source Ip
description: Last source IP
last_response_time_ms:
anyOf:
- type: integer
- type: 'null'
title: Last Response Time Ms
description: Last response time in ms
last_message:
anyOf:
- type: string
- type: 'null'
title: Last Message
description: Last extracted message
total_webhooks:
type: integer
title: Total Webhooks
description: Total webhooks received
is_active:
type: boolean
title: Is Active
description: Whether monitor is active
created_at:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Created At
updated_at:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Updated At
secret:
anyOf:
- type: string
- type: 'null'
title: Secret
description: Secret for authenticated webhooks
type: object
required:
- id
- name
- user_id
- slug
- state_field
- expected_interval_seconds
- status
- total_webhooks
- is_active
title: WebhookCheckWithSecretResponse
description: Response schema including secret (only shown on create/regenerate).
WebhookEventResponse:
properties:
id:
type: string
title: Id
description: Event UUID
webhook_check_id:
type: string
title: Webhook Check Id
description: Parent webhook check UUID
payload:
additionalProperties: true
type: object
title: Payload
description: Original webhook payload
status_extracted:
$ref: '#/components/schemas/WebhookCheckStatus'
description: Extracted status
response_time_ms:
anyOf:
- type: integer
- type: 'null'
title: Response Time Ms
description: Extracted response time
message:
anyOf:
- type: string
- type: 'null'
title: Message
description: Extracted message
source_ip:
anyOf:
- type: string
- type: 'null'
title: Source Ip
description: Source IP address
user_agent:
anyOf:
- type: string
- type: 'null'
title: User Agent
description: User agent string
is_valid:
type: boolean
title: Is Valid
description: Whether webhook passed validation
validation_error:
anyOf:
- type: string
- type: 'null'
title: Validation Error
description: Validation error if invalid
created_at:
type: string
format: date-time
title: Created At
description: When webhook was received
type: object
required:
- id
- webhook_check_id
- payload
- status_extracted
- is_valid
- created_at
title: WebhookEventResponse
description: Response schema for a webhook event record.
WebhookCheckListResponse:
properties:
checks:
items:
$ref: '#/components/schemas/WebhookCheckResponse'
type: array
title: Checks
description: List of webhook check monitors
total:
type: integer
title: Total
description: Total number of checks
page:
type: integer
title: Page
description: Current page
page_size:
type: integer
title: Page Size
description: Page size
type: object
required:
- checks
- total
- page
- page_size
title: WebhookCheckListResponse
description: Response schema for paginated webhook check list.
WebhookCheckResponse:
properties:
id:
type: string
title: Id
description: Webhook check UUID
name:
type: string
title: Name
description: Display name
user_id:
type: integer
title: User Id
description: Owner user ID
slug:
type: string
title: Slug
description: Unique URL slug for webhook endpoint
description:
anyOf:
- type: string
- type: 'null'
title: Description
description: Monitor description
allowed_ips:
anyOf:
- items:
type: string
type: array
- type: 'null'
title: Allowed Ips
description: Allowed source IPs
state_field:
type: string
title: State Field
description: JSON path to status field
response_time_field:
anyOf:
- type: string
- type: 'null'
title: Response Time Field
description: JSON path to response time
message_field:
anyOf:
- type: string
- type: 'null'
title: Message Field
description: JSON path to message
expected_interval_seconds:
type: integer
title: Expected Interval Seconds
description: Expected interval (0 = disabled)
status:
$ref: '#/components/schemas/WebhookCheckStatus'
description: Current monitor status
last_webhook_at:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Last Webhook At
description: Last webhook timestamp
last_payload:
anyOf:
- additionalProperties: true
type: object
- type: 'null'
title: Last Payload
description: Last webhook payload
last_source_ip:
anyOf:
- type: string
- type: 'null'
title: Last Source Ip
description: Last source IP
last_response_time_ms:
anyOf:
- type: integer
- type: 'null'
title: Last Response Time Ms
description: Last response time in ms
last_message:
anyOf:
- type: string
- type: 'null'
title: Last Message
description: Last extracted message
total_webhooks:
type: integer
title: Total Webhooks
description: Total webhooks received
is_active:
type: boolean
title: Is Active
description: Whether monitor is active
created_at:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Created At
updated_at:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Updated At
type: object
required:
- id
- name
- user_id
- slug
- state_field
- expected_interval_seconds
- status
- total_webhooks
- is_active
title: WebhookCheckResponse
description: Response schema for a webhook check monitor.
WebhookCheckStatsResponse:
properties:
check_id:
type: string
title: Check Id
description: Webhook check ID
total_webhooks:
type: integer
title: Total Webhooks
description: Total webhooks received
webhooks_last_24h:
type: integer
title: Webhooks Last 24H
description: Webhooks in last 24 hours
webhooks_last_7d:
type: integer
title: Webhooks Last 7D
description: Webhooks in last 7 days
valid_webhooks_24h:
type: integer
title: Valid Webhooks 24H
description: Valid webhooks in last 24 hours
invalid_webhooks_24h:
type: integer
title: Invalid Webhooks 24H
description: Invalid webhooks in last 24 hours
uptime_percent_24h:
anyOf:
- type: number
- type: 'null'
title: Uptime Percent 24H
description: Uptime percentage (24h); null when the window can't measure uptime
uptime_percent_7d:
anyOf:
- type: number
- type: 'null'
title: Uptime Percent 7D
description: Uptime percentage (7d); null when the window can't measure uptime
avg_interval_seconds:
anyOf:
- type: number
- type: 'null'
title: Avg Interval Seconds
description: Average interval between webhooks
last_webhook_at:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Last Webhook At
description: Last webhook timestamp
status:
$ref: '#/components/schemas/WebhookCheckStatus'
description: Current status
type: object
required:
- check_id
- total_webhooks
- webhooks_last_24h
- webhooks_last_7d
- valid_webhooks_24h
- invalid_webhooks_24h
- status
title: WebhookCheckStatsResponse
description: Response schema for webhook check statistics.
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
input:
title: Input
ctx:
type: object
title: Context
type: object
required:
- loc
- msg
- type
title: ValidationError
securitySchemes:
HTTPBearer:
type: http
scheme: bearer
APIKeyHeader:
type: apiKey
in: header
name: X-API-Key