> ## Documentation Index
> Fetch the complete documentation index at: https://docs.b3os.org/llms.txt
> Use this file to discover all available pages before exploring further.

# List webhook events

List webhook events for the organization with pagination

` GET /v1/webhook-events `

List webhook events

List webhook events for the organization with pagination

## Parameters

### ` limit ` (query, optional)

Number of events to return (default 20, max 100)

- ` value `: type ` integer `

### ` offset ` (query, optional)

Offset for pagination (default 0)

- ` value `: type ` integer `

## Request body (optional)

Content type: ` application/json `

- ` value `: type ` object `

## Responses

### ` 200 ` — OK

Content type: ` application/json `

- ` value `: type ` object `

  - ` hasMore `: type ` boolean `

  - ` items `: type ` array `

    - ` array item `: type ` object `

      - ` actionTaken `: type ` string `

        - enum: ` ["triggered","resumed","skipped"] `

      - ` body `: type ` object `

      - ` createdAt `: type ` string `

      - ` errorMessage `: type ` string `

      - ` id `: type ` string `

      - ` metadata `: type ` object ` — Platform-specific: channelId, threadId, targetUrl, etc.

      - ` organizationId `: type ` string `

      - ` platform `: type ` string ` — slack, telegram, discord, webhook

      - ` processedAt `: type ` string `

      - ` runId `: type ` string `

      - ` status `: type ` string `

        - enum: ` ["pending","success","failure"] `

      - ` workflowId `: type ` string `

  - ` limit `: type ` integer `

  - ` offset `: type ` integer `

### ` 401 ` — Unauthorized

Content type: ` application/json `

- ` value `: type ` object `

  - ` code `: type ` integer `

  - ` details `: type ` array `

    - ` array item `: type ` unknown `

  - ` message `: type ` string `

  - ` requestId `: type ` string `

### ` 403 ` — Forbidden

Content type: ` application/json `

- ` value `: type ` object `

  - ` code `: type ` integer `

  - ` details `: type ` array `

    - ` array item `: type ` unknown `

  - ` message `: type ` string `

  - ` requestId `: type ` string `

## Request examples

### cURL

```curl
curl -X GET 'https://api.example.com/v1/webhook-events' \
  -H 'Authorization: Bearer YOUR_API_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{}'
```

### JavaScript

```javascript
const response = await fetch('https://api.example.com/v1/webhook-events', {
  method: 'GET',
  headers: {
      "Authorization": "Bearer YOUR_API_TOKEN",
      "Content-Type": "application/json"
  },
  body: JSON.stringify({})
});

const data = await response.json();
console.log(data);
```

### Python

```python
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN'
}

response = requests.get('https://api.example.com/v1/webhook-events', headers=headers, json={})
print(response.json())
```

### Go

```go
package main

import (
	"fmt"
	"io"
	"net/http"
	"strings"
)

func main() {
	body := strings.NewReader(`{}`)
	req, _ := http.NewRequest("GET", "https://api.example.com/v1/webhook-events", body)
	req.Header.Set("Authorization", "Bearer YOUR_API_TOKEN")
	req.Header.Set("Content-Type", "application/json")

	resp, _ := http.DefaultClient.Do(req)
	defer resp.Body.Close()
	result, _ := io.ReadAll(resp.Body)
	fmt.Println(string(result))
}
```