{
  "opencollection": "1.0.0",
  "info": {
    "name": "Flipdish API - Apps Accounts Webhooks API",
    "version": "v1.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "client_credentials",
      "accessTokenUrl": "https://api.flipdish.co/identity/connect/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Webhooks",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Flipdish Get Webhook Event Names",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.flipdish.co/api/v1.0/:appId/webhooks/events",
            "params": [
              {
                "name": "appId",
                "value": "500123",
                "type": "path",
                "description": "The app id path parameter."
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://api.flipdish.co/identity/connect/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Get Webhook Event Names via the Flipdish Open API v1.0 (GET /api/v1.0/{appId}/webhooks/events)."
        },
        {
          "info": {
            "name": "Flipdish Get Webhook Subscriptions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.flipdish.co/api/v1.0/:appId/webhooks/:oauthAppId/subscriptions",
            "params": [
              {
                "name": "oauthAppId",
                "value": "500123",
                "type": "path",
                "description": "The oauth app id path parameter."
              },
              {
                "name": "page",
                "value": "1",
                "type": "query",
                "description": "The page query parameter."
              },
              {
                "name": "limit",
                "value": "1",
                "type": "query",
                "description": "The limit query parameter."
              },
              {
                "name": "appId",
                "value": "500123",
                "type": "path",
                "description": "The app id path parameter."
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://api.flipdish.co/identity/connect/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Get Webhook Subscriptions via the Flipdish Open API v1.0 (GET /api/v1.0/{appId}/webhooks/{oauthAppId}/subscriptions)."
        },
        {
          "info": {
            "name": "Flipdish Create Webhook Subscription",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.flipdish.co/api/v1.0/:appId/webhooks/:oauthAppId/subscriptions",
            "params": [
              {
                "name": "oauthAppId",
                "value": "500123",
                "type": "path",
                "description": "The oauth app id path parameter."
              },
              {
                "name": "appId",
                "value": "500123",
                "type": "path",
                "description": "The app id path parameter."
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://api.flipdish.co/identity/connect/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Create Webhook Subscription via the Flipdish Open API v1.0 (POST /api/v1.0/{appId}/webhooks/{oauthAppId}/subscriptions)."
        },
        {
          "info": {
            "name": "Flipdish Get Webhook Event Names by Subscription Id",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.flipdish.co/api/v1.0/:appId/webhooks/:oauthAppId/subscriptions/:webhookSubscriptionId/events",
            "params": [
              {
                "name": "oauthAppId",
                "value": "500123",
                "type": "path",
                "description": "The oauth app id path parameter."
              },
              {
                "name": "webhookSubscriptionId",
                "value": "500123",
                "type": "path",
                "description": "The webhook subscription id path parameter."
              },
              {
                "name": "appId",
                "value": "500123",
                "type": "path",
                "description": "The app id path parameter."
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://api.flipdish.co/identity/connect/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Get Webhook Event Names by Subscription Id via the Flipdish Open API v1.0 (GET /api/v1.0/{appId}/webhooks/{oauthAppId}/subscriptions/{webhookSubscriptionId}/events)."
        },
        {
          "info": {
            "name": "Flipdish Get Webhook Event Sample",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.flipdish.co/api/v1.0/:appId/webhooks/:oauthAppId/subscriptions/:webhookSubscriptionId/events/:eventName/test",
            "params": [
              {
                "name": "eventName",
                "value": "Example Name",
                "type": "path",
                "description": "The event name path parameter."
              },
              {
                "name": "version",
                "value": "string",
                "type": "query",
                "description": "The version query parameter."
              },
              {
                "name": "appId",
                "value": "500123",
                "type": "path",
                "description": "The app id path parameter."
              },
              {
                "name": "oauthAppId",
                "value": "500123",
                "type": "path",
                "description": "The oauth app id path parameter."
              },
              {
                "name": "webhookSubscriptionId",
                "value": "500123",
                "type": "path",
                "description": "The webhook subscription id path parameter."
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://api.flipdish.co/identity/connect/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Get Webhook Event Sample via the Flipdish Open API v1.0 (GET /api/v1.0/{appId}/webhooks/{oauthAppId}/subscriptions/{webhookSubscriptionId}/events/{eventName}/test)."
        },
        {
          "info": {
            "name": "Flipdish Get Webhook Logs",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.flipdish.co/api/v1.0/:appId/webhooks/:oauthAppId/subscriptions/:webhookSubscriptionId/logs",
            "params": [
              {
                "name": "oauthAppId",
                "value": "500123",
                "type": "path",
                "description": "The oauth app id path parameter."
              },
              {
                "name": "webhookSubscriptionId",
                "value": "500123",
                "type": "path",
                "description": "The webhook subscription id path parameter."
              },
              {
                "name": "start",
                "value": "2026-06-02T12:00:00Z",
                "type": "query",
                "description": "The start query parameter."
              },
              {
                "name": "end",
                "value": "2026-06-02T12:00:00Z",
                "type": "query",
                "description": "The end query parameter."
              },
              {
                "name": "page",
                "value": "1",
                "type": "query",
                "description": "The page query parameter."
              },
              {
                "name": "limit",
                "value": "1",
                "type": "query",
                "description": "The limit query parameter."
              },
              {
                "name": "appId",
                "value": "500123",
                "type": "path",
                "description": "The app id path parameter."
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://api.flipdish.co/identity/connect/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Get Webhook Logs via the Flipdish Open API v1.0 (GET /api/v1.0/{appId}/webhooks/{oauthAppId}/subscriptions/{webhookSubscriptionId}/logs)."
        },
        {
          "info": {
            "name": "Flipdish Update Webhook Subscription",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.flipdish.co/api/v1.0/:appId/webhooks/:oauthAppId/subscriptions/:webhookSubscriptionId",
            "params": [
              {
                "name": "oauthAppId",
                "value": "500123",
                "type": "path",
                "description": "The oauth app id path parameter."
              },
              {
                "name": "webhookSubscriptionId",
                "value": "500123",
                "type": "path",
                "description": "The webhook subscription id path parameter."
              },
              {
                "name": "appId",
                "value": "500123",
                "type": "path",
                "description": "The app id path parameter."
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://api.flipdish.co/identity/connect/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Update Webhook Subscription via the Flipdish Open API v1.0 (PUT /api/v1.0/{appId}/webhooks/{oauthAppId}/subscriptions/{webhookSubscriptionId})."
        },
        {
          "info": {
            "name": "Flipdish Delete Webhook Subscription",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.flipdish.co/api/v1.0/:appId/webhooks/:oauthAppId/subscriptions/:webhookSubscriptionId",
            "params": [
              {
                "name": "oauthAppId",
                "value": "500123",
                "type": "path",
                "description": "The oauth app id path parameter."
              },
              {
                "name": "webhookSubscriptionId",
                "value": "500123",
                "type": "path",
                "description": "The webhook subscription id path parameter."
              },
              {
                "name": "appId",
                "value": "500123",
                "type": "path",
                "description": "The app id path parameter."
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://api.flipdish.co/identity/connect/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Delete Webhook Subscription via the Flipdish Open API v1.0 (DELETE /api/v1.0/{appId}/webhooks/{oauthAppId}/subscriptions/{webhookSubscriptionId})."
        },
        {
          "info": {
            "name": "Flipdish Create Webhook Subscription Event Names",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.flipdish.co/api/v1.0/:appId/webhooks/:oauthAppId/subscriptions/:webhookSubscriptionId/events/:eventName",
            "params": [
              {
                "name": "oauthAppId",
                "value": "500123",
                "type": "path",
                "description": "The oauth app id path parameter."
              },
              {
                "name": "webhookSubscriptionId",
                "value": "500123",
                "type": "path",
                "description": "The webhook subscription id path parameter."
              },
              {
                "name": "eventName",
                "value": "Example Name",
                "type": "path",
                "description": "The event name path parameter."
              },
              {
                "name": "appId",
                "value": "500123",
                "type": "path",
                "description": "The app id path parameter."
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://api.flipdish.co/identity/connect/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Create Webhook Subscription Event Names via the Flipdish Open API v1.0 (POST /api/v1.0/{appId}/webhooks/{oauthAppId}/subscriptions/{webhookSubscriptionId}/events/{eventName})."
        },
        {
          "info": {
            "name": "Flipdish Delete Webhook Subscription Event Name",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.flipdish.co/api/v1.0/:appId/webhooks/:oauthAppId/subscriptions/:webhookSubscriptionId/events/:eventName",
            "params": [
              {
                "name": "oauthAppId",
                "value": "500123",
                "type": "path",
                "description": "The oauth app id path parameter."
              },
              {
                "name": "webhookSubscriptionId",
                "value": "500123",
                "type": "path",
                "description": "The webhook subscription id path parameter."
              },
              {
                "name": "eventName",
                "value": "Example Name",
                "type": "path",
                "description": "The event name path parameter."
              },
              {
                "name": "appId",
                "value": "500123",
                "type": "path",
                "description": "The app id path parameter."
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://api.flipdish.co/identity/connect/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Delete Webhook Subscription Event Name via the Flipdish Open API v1.0 (DELETE /api/v1.0/{appId}/webhooks/{oauthAppId}/subscriptions/{webhookSubscriptionId}/events/{eventName})."
        }
      ]
    }
  ],
  "bundled": true
}