PingZen Webhooks API
The webhooks API from PingZen — 10 operation(s) for webhooks.
The webhooks API from PingZen — 10 operation(s) for webhooks.
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-webhooks-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 Webhooks API
description: Service availability monitoring platform. Monitor your websites, APIs, and services with multi-protocol support.
version: 1.0.0
tags:
- name: Webhooks
paths:
/api/v1/webhooks/events:
get:
tags:
- Webhooks
summary: List available webhook event types
description: 'List all available webhook event types with descriptions.
No authentication required.'
operationId: list_event_types_api_v1_webhooks_events_get
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/WebhookEventTypesResponse'
/api/v1/webhooks:
post:
tags:
- Webhooks
summary: Create a new webhook
description: 'Create a new webhook configuration.
The webhook will receive POST requests with HMAC-SHA256 signed payloads
for the subscribed events.
**Authentication required.**
Plan limits:
- FREE: 0 webhooks (not available)
- PRO: 5 webhooks
- BUSINESS: 20 webhooks
- ENTERPRISE: 100 webhooks'
operationId: create_webhook_api_v1_webhooks_post
security:
- HTTPBearer: []
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/CreateWebhookRequest'
responses:
'201':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/WebhookResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
get:
tags:
- Webhooks
summary: List user's webhooks
description: 'List all webhooks for the current user.
**Authentication required.**'
operationId: list_webhooks_api_v1_webhooks_get
security:
- HTTPBearer: []
parameters:
- name: page
in: query
required: false
schema:
type: integer
maximum: 10000
minimum: 1
description: Page number
default: 1
title: Page
description: Page number
- name: page_size
in: query
required: false
schema:
type: integer
maximum: 100
minimum: 1
description: Items per page
default: 20
title: Page Size
description: Items per page
- 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/WebhookListResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/webhooks/{webhook_id}:
get:
tags:
- Webhooks
summary: Get webhook details
description: 'Get details of a specific webhook.
**Authentication required.**'
operationId: get_webhook_api_v1_webhooks__webhook_id__get
security:
- HTTPBearer: []
parameters:
- name: webhook_id
in: path
required: true
schema:
type: string
title: Webhook Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/WebhookResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
patch:
tags:
- Webhooks
summary: Update a webhook (partial update)
description: 'Update an existing webhook.
Only provided fields will be updated.
**Authentication required.**'
operationId: update_webhook_api_v1_webhooks__webhook_id__patch
security:
- HTTPBearer: []
parameters:
- name: webhook_id
in: path
required: true
schema:
type: string
title: Webhook Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/UpdateWebhookRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/WebhookResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
delete:
tags:
- Webhooks
summary: Delete a webhook
description: 'Delete a webhook and all its deliveries.
**Authentication required.**'
operationId: delete_webhook_api_v1_webhooks__webhook_id__delete
security:
- HTTPBearer: []
parameters:
- name: webhook_id
in: path
required: true
schema:
type: string
title: Webhook Id
responses:
'204':
description: Successful Response
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/webhooks/{webhook_id}/test:
post:
tags:
- Webhooks
summary: Test a webhook
description: 'Send a test payload to the webhook endpoint.
This will send a test event to verify the webhook configuration.
The test payload includes a `test: true` field.
**Authentication required.**'
operationId: test_webhook_api_v1_webhooks__webhook_id__test_post
security:
- HTTPBearer: []
parameters:
- name: webhook_id
in: path
required: true
schema:
type: string
title: Webhook Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/TestWebhookResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/webhooks/{webhook_id}/secret:
post:
tags:
- Webhooks
summary: Regenerate webhook secret
description: 'Regenerate the webhook''s signing secret.
The new secret will be used for all future webhook signatures.
Make sure to update your webhook handler with the new secret.
**Warning:** The old secret will be immediately invalidated.
**Authentication required.**'
operationId: regenerate_secret_api_v1_webhooks__webhook_id__secret_post
security:
- HTTPBearer: []
parameters:
- name: webhook_id
in: path
required: true
schema:
type: string
title: Webhook Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/WebhookSecretResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/webhooks/{webhook_id}/stats:
get:
tags:
- Webhooks
summary: Get webhook statistics
description: 'Get delivery statistics for a webhook.
**Authentication required.**'
operationId: get_webhook_stats_api_v1_webhooks__webhook_id__stats_get
security:
- HTTPBearer: []
parameters:
- name: webhook_id
in: path
required: true
schema:
type: string
title: Webhook Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/WebhookStatsResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/webhooks/{webhook_id}/deliveries:
get:
tags:
- Webhooks
summary: List webhook deliveries
description: 'List delivery history for a webhook.
**Authentication required.**'
operationId: list_deliveries_api_v1_webhooks__webhook_id__deliveries_get
security:
- HTTPBearer: []
parameters:
- name: webhook_id
in: path
required: true
schema:
type: string
title: Webhook Id
- name: page
in: query
required: false
schema:
type: integer
maximum: 10000
minimum: 1
description: Page number
default: 1
title: Page
description: Page number
- name: page_size
in: query
required: false
schema:
type: integer
maximum: 100
minimum: 1
description: Items per page
default: 20
title: Page Size
description: Items per page
- name: status_filter
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Status Filter
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/WebhookDeliveryListResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/webhooks/{webhook_id}/dlq:
get:
tags:
- Webhooks
summary: List dead letter queue entries
description: 'List dead letter queue entries for a webhook.
By default, only shows unresolved entries.
**Authentication required.**'
operationId: list_dlq_entries_api_v1_webhooks__webhook_id__dlq_get
security:
- HTTPBearer: []
parameters:
- name: webhook_id
in: path
required: true
schema:
type: string
title: Webhook Id
- name: page
in: query
required: false
schema:
type: integer
maximum: 10000
minimum: 1
description: Page number
default: 1
title: Page
description: Page number
- name: page_size
in: query
required: false
schema:
type: integer
maximum: 100
minimum: 1
description: Items per page
default: 20
title: Page Size
description: Items per page
- name: include_resolved
in: query
required: false
schema:
type: boolean
default: false
title: Include Resolved
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/WebhookDLQListResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/webhooks/{webhook_id}/dlq/{dlq_id}/retry:
post:
tags:
- Webhooks
summary: Retry a DLQ entry
description: 'Manually retry a dead letter queue entry.
Creates a new delivery attempt for the DLQ entry''s payload.
**Authentication required.**'
operationId: retry_dlq_entry_api_v1_webhooks__webhook_id__dlq__dlq_id__retry_post
security:
- HTTPBearer: []
parameters:
- name: webhook_id
in: path
required: true
schema:
type: string
title: Webhook Id
- name: dlq_id
in: path
required: true
schema:
type: string
title: Dlq Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/WebhookDeliveryResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/webhooks/{webhook_id}/dlq/{dlq_id}/resolve:
post:
tags:
- Webhooks
summary: Resolve a DLQ entry
description: 'Mark a DLQ entry as resolved without retrying.
Use this to dismiss entries that don''t need to be retried.
**Authentication required.**'
operationId: resolve_dlq_entry_api_v1_webhooks__webhook_id__dlq__dlq_id__resolve_post
security:
- HTTPBearer: []
parameters:
- name: webhook_id
in: path
required: true
schema:
type: string
title: Webhook Id
- name: dlq_id
in: path
required: true
schema:
type: string
title: Dlq Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/ResolveDLQRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/WebhookDLQEntryResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
WebhookDeliveryResponse:
properties:
id:
type: string
title: Id
description: Delivery UUID
webhook_id:
type: string
title: Webhook Id
description: Webhook UUID
event_type:
type: string
title: Event Type
description: Event type
payload:
additionalProperties: true
type: object
title: Payload
description: Delivered payload
idempotency_key:
type: string
title: Idempotency Key
description: Idempotency key
status:
type: string
title: Status
description: Delivery status
http_status_code:
anyOf:
- type: integer
- type: 'null'
title: Http Status Code
description: HTTP response status code
response_body:
anyOf:
- type: string
- type: 'null'
title: Response Body
description: HTTP response body (truncated)
error_message:
anyOf:
- type: string
- type: 'null'
title: Error Message
description: Error message if failed
attempt_count:
type: integer
title: Attempt Count
description: Number of delivery attempts
next_retry_at:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Next Retry At
description: Next retry scheduled at
sent_at:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Sent At
description: When successfully delivered
created_at:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Created At
type: object
required:
- id
- webhook_id
- event_type
- payload
- idempotency_key
- status
- attempt_count
title: WebhookDeliveryResponse
description: Response schema for a webhook delivery record.
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
UpdateWebhookRequest:
properties:
url:
anyOf:
- type: string
maxLength: 2048
minLength: 1
- type: 'null'
title: Url
description: Webhook endpoint URL
events:
anyOf:
- items:
type: string
type: array
maxItems: 50
- type: 'null'
title: Events
description: List of events to subscribe to
description:
anyOf:
- type: string
maxLength: 500
- type: 'null'
title: Description
description: Optional description
is_active:
anyOf:
- type: boolean
- type: 'null'
title: Is Active
description: Whether webhook is active
metadata:
anyOf:
- additionalProperties: true
type: object
- type: 'null'
title: Metadata
description: Optional metadata
type: object
title: UpdateWebhookRequest
description: Request schema for updating a webhook.
WebhookStatsResponse:
properties:
webhook_id:
type: string
title: Webhook Id
description: Webhook ID
total_deliveries:
type: integer
title: Total Deliveries
description: Total delivery attempts
successful_deliveries:
type: integer
title: Successful Deliveries
description: Successful deliveries
failed_deliveries:
type: integer
title: Failed Deliveries
description: Failed deliveries
pending_retries:
type: integer
title: Pending Retries
description: Deliveries pending retry
dlq_entries:
type: integer
title: Dlq Entries
description: Entries in DLQ
success_rate:
type: number
title: Success Rate
description: Success rate percentage
avg_response_time_ms:
anyOf:
- type: number
- type: 'null'
title: Avg Response Time Ms
description: Average response time
last_delivery_at:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Last Delivery At
description: Last delivery attempt
type: object
required:
- webhook_id
- total_deliveries
- successful_deliveries
- failed_deliveries
- pending_retries
- dlq_entries
- success_rate
title: WebhookStatsResponse
description: Response schema for webhook statistics.
WebhookDeliveryListResponse:
properties:
deliveries:
items:
$ref: '#/components/schemas/WebhookDeliveryResponse'
type: array
title: Deliveries
description: List of deliveries
total:
type: integer
title: Total
description: Total number of deliveries
page:
type: integer
title: Page
description: Current page
page_size:
type: integer
title: Page Size
description: Page size
type: object
required:
- deliveries
- total
- page
- page_size
title: WebhookDeliveryListResponse
description: Response schema for paginated delivery list.
WebhookListResponse:
properties:
webhooks:
items:
$ref: '#/components/schemas/WebhookResponse'
type: array
title: Webhooks
description: List of webhooks
total:
type: integer
title: Total
description: Total number of webhooks
page:
type: integer
title: Page
description: Current page
page_size:
type: integer
title: Page Size
description: Page size
type: object
required:
- webhooks
- total
- page
- page_size
title: WebhookListResponse
description: Response schema for paginated webhook list.
CreateWebhookRequest:
properties:
url:
type: string
maxLength: 2048
minLength: 1
title: Url
description: Webhook endpoint URL (must be HTTPS in production)
events:
items:
type: string
type: array
maxItems: 50
minItems: 1
title: Events
description: List of events to subscribe to
description:
anyOf:
- type: string
maxLength: 500
- type: 'null'
title: Description
description: Optional description for the webhook
is_active:
type: boolean
title: Is Active
description: Whether webhook is active
default: true
metadata:
anyOf:
- additionalProperties: true
type: object
- type: 'null'
title: Metadata
description: Optional metadata to include in webhook payloads
type: object
required:
- url
- events
title: CreateWebhookRequest
description: Request schema for creating a webhook.
ResolveDLQRequest:
properties:
resolution_notes:
anyOf:
- type: string
maxLength: 1000
- type: 'null'
title: Resolution Notes
description: Optional notes about the resolution
type: object
title: ResolveDLQRequest
description: Request schema for resolving a DLQ entry.
TestWebhookResponse:
properties:
webhook_id:
type: string
title: Webhook Id
description: Tested webhook ID
success:
type: boolean
title: Success
description: Whether test was successful
http_status_code:
anyOf:
- type: integer
- type: 'null'
title: Http Status Code
description: HTTP response status code
response_body:
anyOf:
- type: string
- type: 'null'
title: Response Body
description: HTTP response body (truncated)
error_message:
anyOf:
- type: string
- type: 'null'
title: Error Message
description: Error message if failed
duration_ms:
type: integer
title: Duration Ms
description: Request duration in milliseconds
tested_at:
type: string
format: date-time
title: Tested At
description: When test was executed
type: object
required:
- webhook_id
- success
- duration_ms
- tested_at
title: TestWebhookResponse
description: Response schema for webhook test result.
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
WebhookResponse:
properties:
id:
type: string
title: Id
description: Webhook UUID
url:
type: string
title: Url
description: Webhook endpoint URL
events:
items:
type: string
type: array
title: Events
description: Subscribed events
user_id:
type: integer
title: User Id
description: Owner user ID
description:
anyOf:
- type: string
- type: 'null'
title: Description
description: Webhook description
is_active:
type: boolean
title: Is Active
description: Whether webhook is active
metadata:
anyOf:
- additionalProperties: true
type: object
- type: 'null'
title: Metadata
description: Custom metadata
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
- url
- events
- user_id
- is_active
title: WebhookResponse
description: Response schema for a webhook.
WebhookDLQListResponse:
properties:
entries:
items:
$ref: '#/components/schemas/WebhookDLQEntryResponse'
type: array
title: Entries
description: DLQ entries
total:
type: integer
title: Total
description: Total entries
page:
type: integer
title: Page
description: Current page
page_size:
type: integer
title: Page Size
description: Page size
type: object
required:
- entries
- total
- page
- page_size
title: WebhookDLQListResponse
description: Response schema for paginated DLQ list.
WebhookDLQEntryResponse:
properties:
id:
type: string
title: Id
description: DLQ entry UUID
webhook_id:
type: string
title: Webhook Id
description: Webhook UUID
delivery_id:
type: string
title: Delivery Id
description: Original delivery UUID
event_type:
type: string
title: Event Type
description: Event type
payload:
additionalProperties: true
type: object
title: Payload
description: Original payload
failure_reason:
type: string
title: Failure Reason
description: Why delivery failed
retry_count:
type: integer
title: Retry Count
description: Total retry attempts
resolved_at:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Resolved At
description: When resolved
resolution_notes:
anyOf:
- type: string
- type: 'null'
title: Resolution Notes
description: Resolution notes
failed_at:
type: string
format: date-time
title: Failed At
description: When moved to DLQ
type: object
required:
- id
- webhook_id
- delivery_id
- event_type
- payload
- failure_reason
- retry_count
- failed_at
title: WebhookDLQEntryResponse
description: Response schema for a dead letter queue entry.
WebhookEventTypesResponse:
properties:
events:
items:
additionalProperties: true
type: object
type: array
title: Events
description: Available event types with descriptions
type: object
required:
- events
title: WebhookEventTypesResponse
description: Response schema for listing available event types.
WebhookSecretResponse:
properties:
webhook_id:
type: string
title: Webhook Id
description: Webhook ID
secret:
type: string
title: Secret
description: New webhook secret (show only once)
regenerated_at:
type: string
format: date-time
title: Regenerated At
description: When secret was regenerated
type: object
required:
- webhook_id
- secret
- regenerated_at
title: WebhookSecretResponse
description: Response schema for webhook secret regeneration.
securitySchemes:
HTTPBearer:
type: http
scheme: bearer
APIKeyHeader:
type: apiKey
in: header
name: X-API-Key