---
agentTools:
  projectIndex: https://underdog.readme.io/llms.txt
---

# List all Webhooks

This endpoint allows you to retrieve a paginated list of all your Webhooks.

# OpenAPI definition

```json
{
  "info": {
    "version": "2.0.0",
    "title": "Underdog Protocol API"
  },
  "servers": [
    {
      "url": "https://devnet.underdogprotocol.com",
      "description": "Solana Devnet"
    },
    {
      "url": "https://mainnet.underdogprotocol.com",
      "description": "Solana Mainnet"
    }
  ],
  "openapi": "3.0.0",
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      }
    }
  },
  "paths": {
    "/v2/webhooks": {
      "get": {
        "summary": "List all Webhooks",
        "description": "This endpoint allows you to retrieve a paginated list of all your Webhooks.",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "tags": [
          "Webhooks"
        ],
        "parameters": [
          {
            "in": "query",
            "name": "page",
            "schema": {
              "type": "number",
              "nullable": true,
              "default": 1,
              "description": "Page number"
            },
            "required": false
          },
          {
            "in": "query",
            "name": "limit",
            "schema": {
              "type": "number",
              "nullable": true,
              "maximum": 100,
              "default": 10,
              "description": "Items per page"
            },
            "required": false
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a paginated list of Webhooks",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "results": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "url": {
                            "type": "string"
                          },
                          "superAdminAddress": {
                            "type": "string",
                            "description": "Base-58 encoded string representing an on-chain address",
                            "example": "dustFPTV7dujoJjgkKtf6is3bYaFEy1nswS23vxHfvt"
                          },
                          "orgId": {
                            "type": "integer"
                          },
                          "walletAddress": {
                            "type": "string",
                            "description": "Base-58 encoded string representing an on-chain address",
                            "example": "dustFPTV7dujoJjgkKtf6is3bYaFEy1nswS23vxHfvt"
                          },
                          "valid": {
                            "type": "boolean"
                          },
                          "triggers": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "transactionType": {
                                  "type": "string",
                                  "enum": [
                                    "ORG_CREATE",
                                    "PROJECT_CREATE",
                                    "PROJECT_NFT_BATCH",
                                    "PROJECT_SFT_BATCH",
                                    "PROJECT_NFT_BURN",
                                    "PROJECT_NFT_REVOKE",
                                    "PROJECT_NFT_UPDATE",
                                    "PROJECT_ROYALTIES_WITHDRAW",
                                    "PROJECT_UPDATE",
                                    "CORE_PROJECT_CREATE",
                                    "CORE_PROJECT_UPDATE",
                                    "CORE_PROJECT_ASSET_CREATE",
                                    "CORE_PROJECT_ASSET_UPDATE",
                                    "CORE_PROJECT_ASSET_BATCH",
                                    "PROJECT_NFT_CREATE",
                                    "PROJECT_SFT_CREATE",
                                    "PROJECT_NFT_TRANSFER",
                                    "PROJECT_ASSET_TRANSFER",
                                    "PROJECT_ASSET_BURN",
                                    "PROJECT_ASSET_UPDATE",
                                    "SHOP_CREATE",
                                    "DUST_CREATE",
                                    "NON_TRANSFERABLE_PROJECT_CREATE",
                                    "TRANSFERABLE_PROJECT_CREATE",
                                    "TRANSFERABLE_PROJECT_NFT_CREATE",
                                    "INSCRIPTION_CREATE",
                                    "SNAPSHOT_CREATE",
                                    "TOKEN22_CREATE",
                                    "TOKEN_CREATE",
                                    "TOKEN_RENOUNCE",
                                    "TOKEN_MINT",
                                    "TREE_CREATE"
                                  ]
                                }
                              },
                              "required": [
                                "transactionType"
                              ]
                            }
                          },
                          "createdAt": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "string"
                              }
                            ]
                          },
                          "updatedAt": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "string"
                              }
                            ]
                          }
                        },
                        "required": [
                          "id",
                          "url",
                          "superAdminAddress",
                          "orgId",
                          "walletAddress",
                          "valid",
                          "triggers",
                          "createdAt",
                          "updatedAt"
                        ]
                      }
                    },
                    "page": {
                      "type": "number",
                      "description": "Page number",
                      "example": 1
                    },
                    "limit": {
                      "type": "number",
                      "description": "Number per page",
                      "example": 10
                    },
                    "totalPages": {
                      "type": "number",
                      "description": "Total number of pages",
                      "example": 1
                    },
                    "totalResults": {
                      "type": "number",
                      "description": "Total number of results",
                      "example": 1
                    }
                  },
                  "required": [
                    "results",
                    "page",
                    "limit",
                    "totalPages",
                    "totalResults"
                  ]
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "_id": {
    "buffer": {
      "0": 100,
      "1": 120,
      "2": 18,
      "3": 31,
      "4": 87,
      "5": 216,
      "6": 33,
      "7": 0,
      "8": 11,
      "9": 154,
      "10": 241,
      "11": 226
    }
  }
}
```