{
  "opencollection": "1.0.0",
  "info": {
    "name": "Goodstack Services Activities Webhook Subscriptions API",
    "version": "v1"
  },
  "items": [
    {
      "info": {
        "name": "Webhook Subscriptions",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Webhook Subscriptions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.goodstack.io/v1/webhook-subscriptions",
            "params": [
              {
                "name": "deleted",
                "value": "",
                "type": "query",
                "description": "Shows deleted Webhook Subscriptions"
              },
              {
                "name": "event",
                "value": "validation_request.rejected",
                "type": "query",
                "description": "Filter by event"
              },
              {
                "name": "cursor",
                "value": "",
                "type": "query",
                "description": "A cursor that points to where to start the page"
              },
              {
                "name": "pageSize",
                "value": "",
                "type": "query",
                "description": "How many items per page, for pagination."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "List Webhook Subscriptions"
        },
        {
          "info": {
            "name": "Create a Webhook Subscription",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.goodstack.io/v1/webhook-subscriptions",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Create a Webhook Subscription. Specify the event types to subscribe to and the URL where the notifications will be sent, the URL must be https."
        },
        {
          "info": {
            "name": "Retrieve a Webhook Subscription",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.goodstack.io/v1/webhook-subscriptions/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Id of the Webhook Subscription."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Retrieve a Webhook Subscription"
        },
        {
          "info": {
            "name": "Edit a Webhook Subscription",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.goodstack.io/v1/webhook-subscriptions/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Id of the Webhook Subscription."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Edit a Webhook Subscription"
        },
        {
          "info": {
            "name": "Delete a Webhook Subscription",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.goodstack.io/v1/webhook-subscriptions/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Id of the Webhook Subscription."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Delete a Webhook Subscription"
        }
      ]
    }
  ],
  "bundled": true
}