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

Provides API endpoints related to api/webhook dispatches

# `get`

```elixir
@spec get(dispatch_id :: String.t(), opts :: keyword()) ::
  {:ok, ApifyClient.Schemas.WebhookDispatch.t()}
  | {:error, ApifyClient.Error.t()}
```

Get webhook dispatch

Gets webhook dispatch object with all details.

# `list`

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

Get list of webhook dispatches

Gets the list of webhook dispatches that the user have.

The endpoint supports pagination using the `limit` and `offset` parameters
and it will not return more than 1000 records.
By default, the records are sorted by the `createdAt` field in ascending
order. To sort the records in descending order, use the `desc=1`
parameter.

## 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*
