---
updatedAt: 2025-06-09T22:28:49.000Z
agentTools:
  projectIndex: https://docs.enerflo.io/llms.txt
---

# Get a list of Tasks for my Company (GET)

Due to the complexity of structuring the `filter` object as a URL parameter array, you may prefer passing `filter` as part of a json body to a POST. To learn more about this see: <https://docs.enerflo.io/docs/filtering-v3-tasks-all>

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "enerflo-10-api",
    "version": "1.0.2"
  },
  "servers": [
    {
      "url": "https://enerflo.io/api/"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "api-key"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/v3/tasks/all": {
      "get": {
        "summary": "Get a list of Tasks for my Company (GET)",
        "description": "",
        "operationId": "get-v3-tasks-all",
        "parameters": [
          {
            "name": "orderBy",
            "in": "query",
            "description": "If provided, your results will be sorted by this field.",
            "schema": {
              "type": "string",
              "enum": [
                "created_at",
                "customer_id",
                "user_id",
                "due_date",
                "completed"
              ],
              "default": "created_at"
            }
          },
          {
            "name": "orderDir",
            "in": "query",
            "description": "Returns results ascending or descending based on the `orderBy` field.",
            "schema": {
              "type": "string",
              "enum": [
                "asc",
                "desc"
              ],
              "default": "asc"
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "description": "Controls the number of records returned in a single request. If no value is provided we'll attempt to return all results in a single response. (Note that if the response exceeds 512mb, the request will fail. Try reducing the `pageSize` value and if necessary, paginate through responses).",
            "schema": {
              "type": "string",
              "enum": [
                "1",
                "2",
                "3",
                "4",
                "5",
                "6",
                "7",
                "8",
                "9",
                "10",
                "11",
                "12",
                "13",
                "14",
                "15",
                "16",
                "17",
                "18",
                "19",
                "20",
                "21",
                "22",
                "23",
                "24",
                "25",
                "26",
                "27",
                "28",
                "29",
                "30",
                "31",
                "32",
                "33",
                "34",
                "35",
                "36",
                "37",
                "38",
                "39",
                "40",
                "41",
                "42",
                "43",
                "44",
                "45",
                "46",
                "47",
                "48",
                "49",
                "50",
                "51",
                "52",
                "53",
                "54",
                "55",
                "56",
                "57",
                "58",
                "59",
                "60",
                "61",
                "62",
                "63",
                "64",
                "65",
                "66",
                "67",
                "68",
                "69",
                "70",
                "71",
                "72",
                "73",
                "74",
                "75",
                "76",
                "77",
                "78",
                "79",
                "80",
                "81",
                "82",
                "83",
                "84",
                "85",
                "86",
                "87",
                "88",
                "89",
                "90",
                "91",
                "92",
                "93",
                "94",
                "95",
                "96",
                "97",
                "98",
                "99",
                "100"
              ],
              "default": "25"
            }
          },
          {
            "name": "page",
            "in": "query",
            "description": "Any positive integer value. If a request contains more records than the `pageSize` allows to be returned, then the `page` parameter may be used to paginate through a large reponse.  For example, if a request contains 100 records and your `pageSize` is `25`, then by providing a `page` value of `4`, you can access records # 76 - 100.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "filter[logic]",
            "in": "query",
            "description": "Instructs the api how to apply logic if multiple filters are provided (ie `filter[filters][0]`, `filter[filters][1]`, etc).",
            "schema": {
              "type": "string",
              "enum": [
                "and",
                "or"
              ],
              "default": "and"
            }
          },
          {
            "name": "filter[filters][0][field]",
            "in": "query",
            "description": "`completed` - Boolean: represented as true or false<br> <br> `completed_at` - Datetime.  This is the full timestamp of the date & time the task was completed, represented in UTC time.<br> <br> When filtering on completed_at you can choose to pass just the date, or the full datetime value.  If you pass just the date value, then the API assumes the timestamp of T00:00:00+00:00 (midnight UTC).<br> `created_at` - Datetime.  This is the full timestamp of the date & time the task was created, represented in UTC time.<br> <br> When filtering on created_at you can choose to pass just the date, or the full datetime value.  If you pass just the date value, then the API assumes the timestamp of T00:00:00+00:00 (midnight UTC).<br> <br> `customer_id` - Positive integer. This the ID of the customer/lead record that the task is associated with.<br> <br> `customer.first` - String.  This is the first name of the customer/lead.<br> <br> `customer.last` - String.  This is the last name of the customer/lead.<br> <br> `customer.name` - String.  This is the full name of the customer/lead. It is a custom or derived field which concatenantes customer.first & customer.last values.  Some filtering operators may not work with calculated fields (namely the <b>in</b> operator.<br> <br> `due_date` - Date (YYYY-MM-DD). This is the datestamp assigned by the user when the task is created. Because it bears no timezone association, most users think of dates in the context of the local timezone of the user.<br> <br> `user_id` - Positive integer. This the ID of the user who owns the task and to whom the task is assigned.",
            "schema": {
              "type": "string",
              "enum": [
                "completed",
                "completed_at",
                "customer.first",
                "customer.id",
                "customer.last",
                "customer.name",
                "created_at",
                "due_date",
                "user_id"
              ]
            }
          },
          {
            "name": "filter[filters][0][operator]",
            "in": "query",
            "description": "`contains` - The target field matches any part of the value you provide (case insensitive).<br><br> `doesnotcontain` - The target field does NOT match any part of the value you provide (case insensitive).<br><br> `endswith` - The last characters of the target field match the value you provide (case insensitive).<br><br> `eq` - Equal to.  <br><br> `gt` - Greater than. <br><br> `gte` - Greater than or equal to.<br><br> `in` - In (accepts an array of inputs).<br><br> `isempty` - Is empty (ie, \"\").<br><br> `isnotempty` - Is not empty (ie, \"\").<br><br> `isnotnull` - Is not NULL.<br><br> `isnotnullorempty` - Is NOT either NULL or empty (ie, there is a non-null, non-empty value).<br><br> `isnull` - Is NULL.<br><br> `isnullorempty` - Is NULL or is empty.<br><br> `lt` - Less than.  Note that while nulls are included in sorted list before any non-null values, if a comparison operation in performed, nulls are not included. <br><br> `lte` - Less than or equal to.  *Same note regarding nulls.<br><br> `neq` - Not equal to.<br><br> `startswith` - The first characters of the target field match the value you provide (case insensitive).",
            "schema": {
              "type": "string",
              "enum": [
                "contains",
                "doesnotcontain",
                "endswith",
                "eq",
                "gt",
                "gte",
                "in",
                "isempty",
                "isnotempty",
                "isnullorempty",
                "isnotnullorempty",
                "isnull",
                "isnotnull",
                "lt",
                "lte",
                "neq",
                "startswith"
              ]
            }
          },
          {
            "name": "filter[filters][0][value]",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```