{
  "opencollection": "1.0.0",
  "info": {
    "name": "Pixc Public API Webhooks",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Webhooks",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Return list of webhooks",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://dashboard.pixc.com/v1/api/webhook",
            "headers": [
              {
                "name": "test",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Records to return"
              },
              {
                "name": "start",
                "value": "",
                "type": "query",
                "description": "Records to offset"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "implicit",
              "authorizationUrl": "https://dashboard.pixc.com/v1/oauth",
              "credentials": {
                "clientId": "{{clientId}}"
              }
            }
          },
          "docs": "Return list of webhooks"
        },
        {
          "info": {
            "name": "Creates new webhook",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://dashboard.pixc.com/v1/api/webhook",
            "headers": [
              {
                "name": "test",
                "value": ""
              }
            ],
            "body": {
              "type": "form-urlencoded",
              "data": [
                {
                  "name": "url",
                  "value": ""
                },
                {
                  "name": "type",
                  "value": ""
                }
              ]
            },
            "auth": {
              "type": "oauth2",
              "flow": "implicit",
              "authorizationUrl": "https://dashboard.pixc.com/v1/oauth",
              "credentials": {
                "clientId": "{{clientId}}"
              }
            }
          },
          "docs": "Creates new webhook"
        },
        {
          "info": {
            "name": "Return webhook details",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://dashboard.pixc.com/v1/api/webhook/:webhookId",
            "headers": [
              {
                "name": "test",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "webhookId",
                "value": "",
                "type": "path",
                "description": "ID of webhook to show"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "implicit",
              "authorizationUrl": "https://dashboard.pixc.com/v1/oauth",
              "credentials": {
                "clientId": "{{clientId}}"
              }
            }
          },
          "docs": "Return webhook details"
        },
        {
          "info": {
            "name": "Update webhook",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://dashboard.pixc.com/v1/api/webhook/:webhookId",
            "headers": [
              {
                "name": "test",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "webhookId",
                "value": "",
                "type": "path",
                "description": "ID of webhook"
              }
            ],
            "body": {
              "type": "form-urlencoded",
              "data": [
                {
                  "name": "url",
                  "value": ""
                },
                {
                  "name": "active",
                  "value": ""
                }
              ]
            },
            "auth": {
              "type": "oauth2",
              "flow": "implicit",
              "authorizationUrl": "https://dashboard.pixc.com/v1/oauth",
              "credentials": {
                "clientId": "{{clientId}}"
              }
            }
          },
          "docs": "Update webhook"
        },
        {
          "info": {
            "name": "Remove webhook",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://dashboard.pixc.com/v1/api/webhook/:webhookId",
            "headers": [
              {
                "name": "test",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "webhookId",
                "value": "",
                "type": "path",
                "description": "ID of webhook to remove"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "implicit",
              "authorizationUrl": "https://dashboard.pixc.com/v1/oauth",
              "credentials": {
                "clientId": "{{clientId}}"
              }
            }
          },
          "docs": "Remove webhook"
        }
      ]
    }
  ],
  "bundled": true
}