Skip to content

Endpoint: Webhooks ​

Receive real-time event notifications from VeriPrompt.

Create a Webhook ​

POST /api/v1/webhooks
Auth: Session
json
{
  "name": "My Integration",
  "url": "https://example.com/webhooks/veriprompt",
  "events": ["prompt.executed", "gateway.executed"],
  "secret": "my-secret-at-least-16-characters"
}

Required Fields ​

FieldTypeConstraints
namestringDisplay name for the webhook
urlstringMust be a valid HTTPS URL
eventsstring[]At least one event type

Optional Fields ​

FieldTypeConstraints
secretstringHMAC signing secret. Minimum 16 characters. Auto-generated if omitted.

Important: The field name is events (not eventTypes).

List Webhooks ​

GET /api/v1/webhooks
Auth: Session or Gateway Key

Returns all registered webhooks for your company.

Delete a Webhook ​

DELETE /api/v1/webhooks/{webhookId}
Auth: Session

Delivery History ​

GET /api/v1/webhooks/deliveries
Auth: Session

View delivery attempts and their status.

Limitations ​

  • Individual webhook retrieval (GET /api/v1/webhooks/{id}) is not currently supported.
  • Individual webhook updates (PUT /api/v1/webhooks/{id}) are not currently supported.
  • To modify a webhook, delete and recreate it.