# List webhook NFT filters

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

GET https://dashboard.alchemy.com/api/webhook-nft-filters

Lists the NFT filters of an NFT activity webhook, one page at a time. To
get the next page, send `pagination.cursors.after` as `after`.

Reference: https://www.alchemy.com/docs/data/webhooks/webhooks-api-endpoints/get-webhook-nft-filters

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

## Query Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| webhook_id | string | Yes | The webhook ID, for example `wh_abc123`. |
| limit | integer | No | The number of filters on a page, from 1 to 100. The default is 40. |
| after | string | No | The cursor from the previous page. |

## Code Examples

### cURL

```bash
curl --request GET \
  --url 'https://dashboard.alchemy.com/api/webhook-nft-filters?webhook_id=string' \
  --header 'X-Alchemy-Token: string'
```

### JavaScript

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

fetch('https://dashboard.alchemy.com/api/webhook-nft-filters?webhook_id=string', 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/webhook-nft-filters?webhook_id=string"

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/webhook-nft-filters?webhook_id=string"

	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/webhook-nft-filters?webhook_id=string")
  .header("X-Alchemy-Token", "string")
  .asString();
```

### C#

```csharp
using RestSharp;


var options = new RestClientOptions("https://dashboard.alchemy.com/api/webhook-nft-filters?webhook_id=string");
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/webhook-nft-filters
method: GET
operation:
  operationId: GetWebhookNftFilters
  responses:
    '200':
      description: One page of the webhook's NFT filters
      content:
        application/json:
          schema:
            properties:
              data:
                items:
                  description: An NFT filter. A field that matches every value is left out.
                  properties:
                    contract_address:
                      type: string
                    token_id:
                      type: string
                  type: object
                  additionalProperties: false
                type: array
              pagination:
                description: Where the next page starts, and how many items there are in total.
                properties:
                  cursors:
                    properties:
                      after:
                        type: string
                    type: object
                    description: '`after` is left out on the last page.'
                  total_count:
                    type: number
                    format: double
                    description: The number of items on all pages.
                required:
                  - cursors
                  - total_count
                type: object
                additionalProperties: false
            required:
              - data
              - pagination
            type: object
            additionalProperties: false
          examples:
            Example 1:
              value:
                data:
                  - contract_address: '0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d'
                    token_id: '0x00000000000000000000000000000000000000000000000000000000000004d2'
                  - contract_address: '0xed5af388653567af2f388e6224dc7c4b3241c544'
                pagination:
                  cursors: {}
                  total_count: 2
    '400':
      description: Invalid query parameter
      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: Limit must be between 1 and 100.
                name: ValidationError
    '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
    '404':
      description: Webhook not found
      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: Webhook not found
                name: null
    '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 NFT filters of an NFT activity webhook, one page at a time. To
    get the next page, send `pagination.cursors.after` as `after`.
  summary: List webhook NFT filters
  tags:
    - Webhooks
  security:
    - team_api_key: []
  parameters:
    - description: The webhook ID, for example `wh_abc123`.
      in: query
      name: webhook_id
      required: true
      schema:
        type: string
    - description: |-
        The number of filters on a page, from 1 to 100. The default
        is 40.
      in: query
      name: limit
      required: false
      schema:
        format: int32
        type: integer
        minimum: 1
        maximum: 100
    - description: The cursor from the previous page.
      in: query
      name: after
      required: false
      schema:
        type: string
```
