{
  "opencollection": "1.0.0",
  "info": {
    "name": "B3OS Workflow Action Organizations API",
    "version": "1.0"
  },
  "items": [
    {
      "info": {
        "name": "Organizations",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "GET /v1/organizations",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v1/organizations",
            "params": [
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Number of items (default 20, max 100)"
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "Offset for pagination (default 0)"
              }
            ]
          },
          "docs": "List all organizations for the current user"
        },
        {
          "info": {
            "name": "GET /organizations/{orgId}/webhook-secret",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/organizations/:orgId/webhook-secret",
            "params": [
              {
                "name": "orgId",
                "value": "",
                "type": "path",
                "description": "Organization ID"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Get the organization's webhook secret for triggering workflows via integration webhooks"
        },
        {
          "info": {
            "name": "Get public organization metadata",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v1/organizations/:orgId/public",
            "params": [
              {
                "name": "orgId",
                "value": "",
                "type": "path",
                "description": "Organization ID"
              }
            ]
          },
          "docs": "Retrieve public metadata for an organization (no authentication required)\nThis endpoint is used for organization detail pages"
        }
      ]
    }
  ],
  "bundled": true
}