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

Provides API endpoint related to api/tasks/webhooks

# `list_200_json_resp`

```elixir
@type list_200_json_resp() :: %{data: list_200_json_resp_data()}
```

# `list_200_json_resp_data`

```elixir
@type list_200_json_resp_data() :: %{
  count: integer() | nil,
  desc: boolean() | nil,
  items: [ApifyClient.Schemas.WebhookResource.t()] | nil,
  limit: integer() | nil,
  offset: integer() | nil,
  total: integer() | nil
}
```

# `list`

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

Get list of Actor task's webhooks

Gets the list of webhooks of a specific Actor task. The response is a JSON
with the list of objects, where each object contains basic information about a single webhook.

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*
