{
  "opencollection": "1.0.0",
  "info": {
    "name": "Orum Authentication Configure webhooks API",
    "version": "v2022-09-21"
  },
  "items": [
    {
      "info": {
        "name": "Configure webhooks",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Retrieve list of webhook configurations",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api-sandbox.orum.io/webhooks/configurations",
            "headers": [
              {
                "name": "Orum-Version",
                "value": ""
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://api-sandbox.orum.io/oauth/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Retrieve list of webhook configurations"
        },
        {
          "info": {
            "name": "Create webhook configuration",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api-sandbox.orum.io/webhooks/configurations",
            "headers": [
              {
                "name": "Orum-Version",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://api-sandbox.orum.io/oauth/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Create webhook configuration"
        },
        {
          "info": {
            "name": "Update webhook configuration",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api-sandbox.orum.io/webhooks/configurations/:id",
            "headers": [
              {
                "name": "Orum-Version",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://api-sandbox.orum.io/oauth/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Update webhook configuration"
        },
        {
          "info": {
            "name": "Delete webhook configuration",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api-sandbox.orum.io/webhooks/configurations/:id",
            "headers": [
              {
                "name": "Orum-Version",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://api-sandbox.orum.io/oauth/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Delete webhook configuration"
        }
      ]
    }
  ],
  "bundled": true
}