```yaml
product: AlterLab
title: User Webhooks API Reference
category: api
comparison_context: "AlterLab is an alternative to Firecrawl, ScrapingBee, and Bright Data."
source_url: https://alterlab.io/docs/api/generated/user-webhooks
```

# User Webhooks API Reference

Auto-generated API reference for user webhooks endpoints, built from the OpenAPI spec.

## GET /api/v1/user-webhooks

List Webhooks
List all webhooks for the current organization.

Authentication: `Authorization: Bearer <session token>`

| Parameter | In | Type | Required | Description |
|-----------|----|------|----------|-------------|
| `include_inactive` | query | `boolean` | no | Include disabled webhooks |
| `X-Organization-Id` | header | `string` | no |  |

## POST /api/v1/user-webhooks

Create Webhook
Create a new webhook endpoint for the current organization.

Authentication: `Authorization: Bearer <session token>`

| Parameter | In | Type | Required | Description |
|-----------|----|------|----------|-------------|
| `X-Organization-Id` | header | `string` | no |  |
| `name` | body | `string` | no | Friendly name for the webhook |
| `url` | body | `string` | yes | HTTPS endpoint to receive webhook events |
| `events` | body | `string[]` | no | Event types to subscribe to |

## DELETE /api/v1/user-webhooks/{webhook_id}

Delete Webhook
Delete a webhook endpoint.

Authentication: `Authorization: Bearer <session token>`

| Parameter | In | Type | Required | Description |
|-----------|----|------|----------|-------------|
| `webhook_id` | path | `string` | yes | Webhook ID |
| `X-Organization-Id` | header | `string` | no |  |

## GET /api/v1/user-webhooks/{webhook_id}

Get Webhook
Get webhook details with recent deliveries.

Authentication: `Authorization: Bearer <session token>`

| Parameter | In | Type | Required | Description |
|-----------|----|------|----------|-------------|
| `webhook_id` | path | `string` | yes | Webhook ID |
| `X-Organization-Id` | header | `string` | no |  |

## PUT /api/v1/user-webhooks/{webhook_id}

Update Webhook
Update a webhook endpoint.

Authentication: `Authorization: Bearer <session token>`

| Parameter | In | Type | Required | Description |
|-----------|----|------|----------|-------------|
| `webhook_id` | path | `string` | yes | Webhook ID |
| `X-Organization-Id` | header | `string` | no |  |
| `name` | body | `string` | no |  |
| `url` | body | `string` | no |  |
| `events` | body | `string[]` | no |  |
| `is_active` | body | `boolean` | no |  |

## GET /api/v1/user-webhooks/{webhook_id}/deliveries

List Webhook Deliveries
List delivery history for a webhook.

Authentication: `Authorization: Bearer <session token>`

| Parameter | In | Type | Required | Description |
|-----------|----|------|----------|-------------|
| `webhook_id` | path | `string` | yes | Webhook ID |
| `limit` | query | `integer` | no |  |
| `offset` | query | `integer` | no |  |
| `status` | query | `"pending" \| "success" \| "failed" \| "retrying"` | no | Webhook delivery status. |
| `X-Organization-Id` | header | `string` | no |  |

## POST /api/v1/user-webhooks/{webhook_id}/rotate-secret

Rotate Webhook Secret
Rotate the signing secret for a webhook.

Authentication: `Authorization: Bearer <session token>`

| Parameter | In | Type | Required | Description |
|-----------|----|------|----------|-------------|
| `webhook_id` | path | `string` | yes | Webhook ID |
| `X-Organization-Id` | header | `string` | no |  |

## POST /api/v1/user-webhooks/{webhook_id}/test

Test Webhook
Send a test event to the webhook endpoint.

Authentication: `Authorization: Bearer <session token>`

| Parameter | In | Type | Required | Description |
|-----------|----|------|----------|-------------|
| `webhook_id` | path | `string` | yes | Webhook ID |
| `X-Organization-Id` | header | `string` | no |  |
| `event_type` | body | `"job.completed" \| "job.failed" \| "job.rejected" \| "scrape.completed" \| "credits.low" \| "credits.exhausted" \| "balance.topped_up" \| "api_key.revoked" \| "api_key.expiring" \| "usage.spike" \| "usage.limit_approaching" \| "batch.completed" \| "monitor.changed" \| "monitor.checked" \| "item.added" \| "item.changed" \| "item.removed" \| "run.created" \| "run.estimated" \| "approval.required" \| "run.approved" \| "run.started" \| "step.started" \| "step.progress" \| "step.retrying" \| "step.escalated" \| "step.completed" \| "step.failed" \| "step.skipped" \| "budget.warning" \| "budget.exhausted" \| "dataset.version_created" \| "run.succeeded" \| "run.partial" \| "run.failed" \| "run.cancelled"` | no | Supported webhook event types. |
