---
updatedAt: 2026-10-30T14:12:13.000Z
agentTools:
  projectIndex: https://docs.sumoquote.com/llms.txt
---

# Create webhook batch

Creates a list of given webhooks.

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "SumoQuote.PublicAPI v2",
    "description": "<table>\r\n              <thead>\r\n                <td>Property</td>\r\n                <td>Description</td>\r\n                <td>Values</td>\r\n              </thead>\r\n              <tbody>\r\n                <tr>\r\n                  <td>HTTP - StatusCode</td>\r\n                  <td>\r\n                    Refer to Mozilla - HTTP response status codes\r\n                  </td>\r\n                  <td>200, 201, 204, 400, 401, 403, 404, 500</td>\r\n                </tr>\r\n                <tr>\r\n                  <td>Message</td>\r\n                  <td>Information messages</td>\r\n                  <td></td>\r\n                </tr>\r\n                <tr>\r\n                  <td>Errors</td>\r\n                  <td>Validation and Error messages</td>\r\n                  <td></td>\r\n                </tr>\r\n                <tr>\r\n                  <td>Data</td>\r\n                  <td>Requested data</td>\r\n                  <td>Schema data</td>\r\n                </tr>\r\n              </tbody>\r\n            </table>",
    "termsOfService": "https://www.sumoquote.com/terms-conditions/",
    "contact": {
      "name": "SumoQuote Support",
      "email": "support@sumoquote.com"
    },
    "version": "v2"
  },
  "servers": [
    {
      "url": "https://api.sumoquote.com"
    }
  ],
  "paths": {
    "/v2/WebHook/batch": {
      "post": {
        "tags": [
          "WebHook"
        ],
        "summary": "Create webhook batch",
        "description": "Creates a list of given webhooks.",
        "requestBody": {
          "description": "An Array of WebHookRequests to be deleted",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/WebHookRequest"
                },
                "description": "An Array of WebHookRequests to be deleted",
                "nullable": true
              }
            },
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/WebHookRequest"
                },
                "description": "An Array of WebHookRequests to be deleted",
                "nullable": true
              }
            },
            "text/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/WebHookRequest"
                },
                "description": "An Array of WebHookRequests to be deleted",
                "nullable": true
              }
            },
            "application/*+json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/WebHookRequest"
                },
                "description": "An Array of WebHookRequests to be deleted",
                "nullable": true
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PublicApiResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PublicApiResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PublicApiResponse"
                }
              }
            }
          },
          "500": {
            "description": "Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PublicApiResponse"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "PublicApiResponse": {
        "type": "object",
        "properties": {
          "message": {
            "type": "string",
            "description": "Information Message",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Error messages",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "WebHookRequest": {
        "type": "object",
        "properties": {
          "hookUrl": {
            "type": "string",
            "nullable": true
          },
          "hookEvent": {
            "type": "string",
            "nullable": true
          },
          "isActive": {
            "type": "boolean"
          },
          "isZapHook": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      }
    },
    "securitySchemes": {
      "Bearer": {
        "type": "http",
        "description": "JWT Authorization header using the Bearer scheme.",
        "scheme": "bearer"
      },
      "ApiKey": {
        "type": "apiKey",
        "description": "An API Key generated from the SumoQuote application.",
        "name": "sq-api-key",
        "in": "header"
      }
    }
  },
  "security": [
    {
      "Bearer": []
    },
    {
      "ApiKey": []
    }
  ],
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```