# List webhook endpoints

Source: https://deeperesearch.com/docs/api/reference/operations/listwebhooks/

GET

/v1/webhooks

```js
const url = 'https://deeperesearch.com/v1/webhooks';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};


try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```sh
curl --request GET \
  --url https://deeperesearch.com/v1/webhooks \
  --header 'Authorization: Bearer <token>'
```

The organization’s active endpoints.

## Authorizations

- **[apiKey](https://deeperesearch.com/docs/api/reference/#apikey)**

## Responses

### 200

The endpoints

application/json

object

**object**

required

string

Allowed value: list

**data**

required

Array\<object>

object

**id**

required

string format: uuid

**object**

required

string

Allowed value: webhook_endpoint

**url**

required

string

**events**

required

Array\<string>

Allowed values: research.completed research.failed research.cancelled research.run.completed research.merge.completed research.merge.failed

**created_at**

required

ISO 8601 timestamp, UTC

string

#### Example

```json
{
  "object": "list",
  "data": [
    {
      "object": "webhook_endpoint",
      "events": [
        "research.completed"
      ]
    }
  ]
}
```

### 401

Missing or invalid API key (unauthorized)

application/json

object

**error**

required

object

**code**

required

Stable, machine-readable error code. See Errors in the docs.

string

**message**

required

What went wrong, written for people

string

#### Example generated

```json
{
  "error": {
    "code": "example",
    "message": "example"
  }
}
```

### 429

Rate limit, spending limit or quota reached (rate_limited, limit_reached, quota_exceeded). See Retry-After.

application/json

object

**error**

required

object

**code**

required

Stable, machine-readable error code. See Errors in the docs.

string

**message**

required

What went wrong, written for people

string

#### Example generated

```json
{
  "error": {
    "code": "example",
    "message": "example"
  }
}
```
