Api Webhooks List
GET /api/webhooks/ - List all webhooks for organization
POST /api/webhooks/ - Create a new webhook
Query Parameters (GET):
- Standard list/filter params
Request Body (POST):
- url (string, required): Webhook URL
- name (string, required): Webhook name
- event_type (string, required): Event type (request_log, on_eval_result_ingested, trace_completed)
- organization_key (int, optional): Scope to specific API key
- active (boolean, optional): Active status (default: true)
Response:
- List: Array of webhook objects (secrets excluded)
- Create: Created webhook object with auto-generated secret (secrets included)
Authentication
AuthorizationBearer
JWT access token or Respan API key
Response
id
url
organization
project
name
created
event_type
active
organization_key