{
  "opencollection": "1.0.0",
  "info": {
    "name": "PolyAPI Platform API Functions Webhooks API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Webhooks",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "PolyAPI List webhooks",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://na1.polyapi.io/webhooks",
            "params": [
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Maximum number of items to return."
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "Number of items to skip for pagination."
              }
            ]
          },
          "docs": "Retrieve a list of all webhooks in the current environment."
        },
        {
          "info": {
            "name": "PolyAPI Create a webhook",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://na1.polyapi.io/webhooks",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new webhook endpoint that can receive events via HTTP calls."
        },
        {
          "info": {
            "name": "PolyAPI Get a webhook",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://na1.polyapi.io/webhooks/:webhookId",
            "params": [
              {
                "name": "webhookId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the webhook."
              }
            ]
          },
          "docs": "Retrieve details of a specific webhook by its ID."
        },
        {
          "info": {
            "name": "PolyAPI Update a webhook",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://na1.polyapi.io/webhooks/:webhookId",
            "params": [
              {
                "name": "webhookId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the webhook."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update an existing webhook."
        },
        {
          "info": {
            "name": "PolyAPI Delete a webhook",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://na1.polyapi.io/webhooks/:webhookId",
            "params": [
              {
                "name": "webhookId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the webhook."
              }
            ]
          },
          "docs": "Delete a specific webhook by its ID."
        },
        {
          "info": {
            "name": "PolyAPI Trigger a webhook",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://na1.polyapi.io/webhooks/:webhookId/trigger",
            "params": [
              {
                "name": "webhookId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the webhook."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Send a payload to trigger a webhook endpoint. The webhook will process the event and route it to any connected server functions via triggers."
        }
      ]
    }
  ],
  "bundled": true
}