{
  "opencollection": "1.0.0",
  "info": {
    "name": "Squillo Platform Connectors Workflows API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Workflows",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Workflows",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.squillo.io/v1/workflows",
            "params": [
              {
                "name": "status",
                "value": "",
                "type": "query",
                "description": "Filter by workflow status"
              },
              {
                "name": "page",
                "value": "",
                "type": "query"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Returns a list of all workflow definitions in the account, including their status, creation date, and trigger configuration."
        },
        {
          "info": {
            "name": "Create Workflow",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.squillo.io/v1/workflows",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new workflow definition with specified steps, connectors, and trigger configuration."
        },
        {
          "info": {
            "name": "Get Workflow",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.squillo.io/v1/workflows/:workflowId",
            "params": [
              {
                "name": "workflowId",
                "value": "",
                "type": "path",
                "description": "Unique workflow identifier"
              }
            ]
          },
          "docs": "Returns the full definition for a specific workflow including all steps and configuration."
        },
        {
          "info": {
            "name": "Update Workflow",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.squillo.io/v1/workflows/:workflowId",
            "params": [
              {
                "name": "workflowId",
                "value": "",
                "type": "path",
                "description": "Unique workflow identifier"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates a workflow definition including steps, triggers, and configuration."
        },
        {
          "info": {
            "name": "Delete Workflow",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.squillo.io/v1/workflows/:workflowId",
            "params": [
              {
                "name": "workflowId",
                "value": "",
                "type": "path",
                "description": "Unique workflow identifier"
              }
            ]
          },
          "docs": "Permanently deletes a workflow definition and all associated execution history."
        },
        {
          "info": {
            "name": "Activate Workflow",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.squillo.io/v1/workflows/:workflowId/activate",
            "params": [
              {
                "name": "workflowId",
                "value": "",
                "type": "path",
                "description": "Unique workflow identifier"
              }
            ]
          },
          "docs": "Activates a workflow, enabling its triggers to fire and accepting manual runs."
        },
        {
          "info": {
            "name": "Deactivate Workflow",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.squillo.io/v1/workflows/:workflowId/deactivate",
            "params": [
              {
                "name": "workflowId",
                "value": "",
                "type": "path",
                "description": "Unique workflow identifier"
              }
            ]
          },
          "docs": "Deactivates a workflow, preventing triggers from firing."
        },
        {
          "info": {
            "name": "Execute Workflow",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.squillo.io/v1/workflows/:workflowId/execute",
            "params": [
              {
                "name": "workflowId",
                "value": "",
                "type": "path",
                "description": "Unique workflow identifier"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Manually triggers a workflow execution with optional input data. Returns the execution ID for monitoring."
        }
      ]
    }
  ],
  "bundled": true
}