# `ApifyClient.API.Webhooks.Dispatches`
[🔗](https://github.com/social-growth-studio/apify-client-ex/blob/v1.0.0/lib/apify_client/api/webhooks/dispatches.ex#L1)

Provides API endpoint related to api/webhooks/dispatches

# `list`

```elixir
@spec list(webhook_id :: String.t(), opts :: keyword()) ::
  {:ok, ApifyClient.Schemas.ListOfWebhookDispatches.t()}
  | {:error, ApifyClient.Error.t()}
```

Get list of webhook's dispatches

Gets a given webhook's list of dispatches.

## Options

  * `offset`: Number of items that should be skipped at the start. The default value is `0`.
    
  * `limit`: Maximum number of items to return. The default value as well as the maximum is `1000`.
    
  * `desc`: If `true` or `1` then the objects are sorted by the `createdAt` field in
    descending order. By default, they are sorted in ascending order.
    

---

*Consult [api-reference.md](api-reference.md) for complete listing*
