{
  "opencollection": "1.0.0",
  "info": {
    "name": "Aloft API V1 Accounts Workflows API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Workflows",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Gets workflows",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.aloft.ai/v1/account/:account_id/workflows",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "order_by",
                "value": "",
                "type": "query",
                "description": "The field to order the data by"
              },
              {
                "name": "order",
                "value": "",
                "type": "query"
              },
              {
                "name": "search",
                "value": "",
                "type": "query",
                "description": "A text field for search the title"
              },
              {
                "name": "exclude_retired",
                "value": "",
                "type": "query",
                "description": "If true will exclude retired workflows"
              },
              {
                "name": "tags_required",
                "value": "",
                "type": "query",
                "description": "When true, all tags must be connected to the object"
              },
              {
                "name": "tags[]",
                "value": "",
                "type": "query",
                "description": "array of tag ids"
              },
              {
                "name": "page",
                "value": "",
                "type": "query"
              },
              {
                "name": "page_length",
                "value": "",
                "type": "query"
              },
              {
                "name": "appends[]",
                "value": "",
                "type": "query",
                "description": "Array of appendable resource names"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Gets workflows"
        },
        {
          "info": {
            "name": "Create a workflow",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.aloft.ai/v1/account/:account_id/workflows",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "appends[]",
                "value": "",
                "type": "query",
                "description": "Array of appendable resource names"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Create a workflow"
        },
        {
          "info": {
            "name": "Get a workflow",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.aloft.ai/v1/account/:account_id/workflows/:workflow_id",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "workflow_id",
                "value": "",
                "type": "path",
                "description": "workflow id"
              },
              {
                "name": "appends[]",
                "value": "",
                "type": "query",
                "description": "Array of appendable resource names"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get a workflow"
        },
        {
          "info": {
            "name": "Update a workflow.",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.aloft.ai/v1/account/:account_id/workflows/:workflow_id",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "workflow_id",
                "value": "",
                "type": "path",
                "description": "Workflow ID"
              },
              {
                "name": "appends[]",
                "value": "",
                "type": "query",
                "description": "Array of appendable resource names"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Update a workflow."
        },
        {
          "info": {
            "name": "Delete workflow",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.aloft.ai/v1/account/:account_id/workflows/:workflow_id",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "workflow_id",
                "value": "",
                "type": "path",
                "description": "workflow id"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Delete workflow"
        }
      ]
    }
  ],
  "bundled": true
}