# List team webhooks

> For the complete documentation index, see [llms.txt](/docs/llms.txt).

GET https://dashboard.alchemy.com/api/team-webhooks

Lists the team's webhooks, up to 2,000. Webhooks on networks that no
longer support webhooks are left out.

Reference: https://www.alchemy.com/docs/data/webhooks/webhooks-api-endpoints/get-team-webhooks

## Headers

| Name | Type | Required | Description |
|------|------|----------|-------------|
| X-Alchemy-Token | string | Yes | Your team's auth token. Find it on the Webhooks page of the Alchemy dashboard. |

## Code Examples

### cURL

```bash
curl --request GET \
  --url https://dashboard.alchemy.com/api/team-webhooks \
  --header 'X-Alchemy-Token: string'
```

### JavaScript

```javascript
const options = {method: 'GET', headers: {'X-Alchemy-Token': 'string'}};

fetch('https://dashboard.alchemy.com/api/team-webhooks', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://dashboard.alchemy.com/api/team-webhooks"

headers = {"X-Alchemy-Token": "string"}

response = requests.get(url, headers=headers)

print(response.text)
```

### Go

```go
package main

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

func main() {

	url := "https://dashboard.alchemy.com/api/team-webhooks"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("X-Alchemy-Token", "string")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(string(body))

}
```

### Java

```java
HttpResponse<String> response = Unirest.get("https://dashboard.alchemy.com/api/team-webhooks")
  .header("X-Alchemy-Token", "string")
  .asString();
```

### C#

```csharp
using RestSharp;


var options = new RestClientOptions("https://dashboard.alchemy.com/api/team-webhooks");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("X-Alchemy-Token", "string");
var response = await client.GetAsync(request);

Console.WriteLine("{0}", response.Content);

```


## Operation Specification

```yaml
path: /api/team-webhooks
method: GET
operation:
  operationId: GetTeamWebhooks
  responses:
    '200':
      description: The team's webhooks
      content:
        application/json:
          schema:
            description: |-
              Standard API response wrapper.
              All API responses are wrapped in this format for consistency.
            properties:
              data:
                items:
                  description: A webhook. A key whose value would be null is left out.
                  properties:
                    id:
                      type: string
                      description: The webhook ID. Other endpoints take it as `webhook_id`.
                    name:
                      type: string
                      description: Empty when the webhook has no name.
                    app_id:
                      type: string
                      description: |-
                        The ID of the webhook's app. Only V1 webhooks and webhooks of retired
                        types have one.
                    network:
                      type: string
                      description: The network of the webhook.
                    networks:
                      items:
                        type: string
                      type: array
                      description: The networks of a webhook that has more than one. Can be empty.
                    webhook_type:
                      type: string
                      description: |-
                        A webhook created before a type was retired keeps that type, for
                        example `MINED_TRANSACTION`.
                    webhook_url:
                      type: string
                      description: The URL that receives the webhook requests.
                    is_active:
                      type: boolean
                      description: Whether the webhook sends requests.
                    time_created:
                      type: number
                      format: double
                      description: Milliseconds since the epoch, truncated to whole seconds.
                    signing_key:
                      type: string
                      description: |-
                        The key that signs each webhook request. Use it to check the
                        `X-Alchemy-Signature` header.
                    version:
                      type: string
                      enum:
                        - V1
                        - V2
                      description: '`V1` only for a webhook created before V1 was retired.'
                    deactivation_reason:
                      type: string
                      description: Why the webhook was deactivated. `UNKNOWN` when no reason is set.
                  required:
                    - id
                    - name
                    - network
                    - networks
                    - webhook_url
                    - is_active
                    - time_created
                    - signing_key
                    - version
                    - deactivation_reason
                  type: object
                  additionalProperties: false
                type: array
            required:
              - data
            type: object
            additionalProperties: false
          examples:
            Example 1:
              value:
                data:
                  - id: wh_octjglnywaupz6th
                    name: Treasury wallet activity
                    network: ETH_MAINNET
                    networks: []
                    webhook_type: ADDRESS_ACTIVITY
                    webhook_url: https://example.com/webhooks/alchemy
                    is_active: true
                    time_created: 1730764800000
                    signing_key: whsec_7mXvC3qGkJ2pT9sLwR4nYbE8
                    version: V2
                    deactivation_reason: UNKNOWN
                  - id: wh_k2d8xq7m4zrv1p9a
                    name: ''
                    network: BASE_MAINNET
                    networks: []
                    webhook_type: GRAPHQL
                    webhook_url: https://example.com/webhooks/alchemy-graphql
                    is_active: false
                    time_created: 1727740800000
                    signing_key: whsec_Q4tZ8nWc1VbH6yKd3sLp9xRf
                    version: V2
                    deactivation_reason: UNKNOWN
    '401':
      description: Requires authentication
      content:
        application/json:
          schema:
            description: |-
              The error body. `name` is null for the statuses that have no name, such as
              404 and 429.
            properties:
              message:
                type: string
              name:
                type: string
                nullable: true
            required:
              - message
              - name
            type: object
            additionalProperties: false
          examples:
            Example 1:
              value:
                message: Unauthenticated request.
                name: AuthError
    '503':
      description: Webhooks service unavailable
      content:
        application/json:
          schema:
            description: |-
              The error body. `name` is null for the statuses that have no name, such as
              404 and 429.
            properties:
              message:
                type: string
              name:
                type: string
                nullable: true
            required:
              - message
              - name
            type: object
            additionalProperties: false
          examples:
            Example 1:
              value:
                message: Internal server error
                name: ServerError
  description: |-
    Lists the team's webhooks, up to 2,000. Webhooks on networks that no
    longer support webhooks are left out.
  summary: List team webhooks
  tags:
    - Webhooks
  security:
    - team_api_key: []
  parameters: []
```
