{
  "opencollection": "1.0.0",
  "info": {
    "name": "Clio API Documentation Activities Tasks API",
    "version": "v4"
  },
  "items": [
    {
      "info": {
        "name": "Tasks",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Return the data for all Tasks",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.clio.com/api/v4/tasks.json",
            "headers": [
              {
                "name": "X-API-VERSION",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "assignee_id",
                "value": "",
                "type": "query",
                "description": "The unique identifier for a single User or Contact. Use the keyword `null` to match those without a Task. The list will be filtered to include only the Task records with the matching property."
              },
              {
                "name": "assignee_type",
                "value": "",
                "type": "query",
                "description": "Filter Task records to those with a specific assignee. Must be passed if filtering by assignee."
              },
              {
                "name": "assigner_id",
                "value": "",
                "type": "query",
                "description": "The unique identifier for a single User. Use the keyword `null` to match those without a Task. The list will be filtered to include only the Task records with the matching property."
              },
              {
                "name": "cascading_source_id",
                "value": "",
                "type": "query",
                "description": "Filter Task records to those with a parent task that has the specified ID."
              },
              {
                "name": "client_id",
                "value": "",
                "type": "query",
                "description": "The unique identifier for a single Contact. Use the keyword `null` to match those without a Task. The list will be filtered to include only the Task records with the matching property."
              },
              {
                "name": "complete",
                "value": "",
                "type": "query",
                "description": "Filter Task records to those which are complete or not."
              },
              {
                "name": "created_since",
                "value": "",
                "type": "query",
                "description": "Filter Task records to those having the `created_at` field after a specific time. (Expects an ISO-8601 timestamp)."
              },
              {
                "name": "due_at_from",
                "value": "",
                "type": "query",
                "description": "Start of date range when querying by due_at in a range. (Expects an ISO-8601 date)."
              },
              {
                "name": "due_at_present",
                "value": "",
                "type": "query",
                "description": "Filter Task records to those that have a due date specified, or not."
              },
              {
                "name": "due_at_to",
                "value": "",
                "type": "query",
                "description": "End of date range when querying by due_at in a range. (Expects an ISO-8601 date)."
              },
              {
                "name": "fields",
                "value": "",
                "type": "query",
                "description": "The fields to be returned. See response samples for what fields are available. For more information see the [fields section](#section/Fields)."
              },
              {
                "name": "ids[]",
                "value": "",
                "type": "query",
                "description": "Filter Task records to those having the specified unique identifiers."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "A limit on the number of Task records to be returned. Limit can range between 1 and 200. Default: `200`."
              },
              {
                "name": "matter_id",
                "value": "",
                "type": "query",
                "description": "The unique identifier for a single Matter. Use the keyword `null` to match those without a Task. The list will be filtered to include only the Task records with the matching property."
              },
              {
                "name": "order",
                "value": "",
                "type": "query",
                "description": "Orders the Task records by the given field. Default: `id(asc)`."
              },
              {
                "name": "page_token",
                "value": "",
                "type": "query",
                "description": "A token specifying which page to return."
              },
              {
                "name": "permission",
                "value": "",
                "type": "query",
                "description": "Filter Task records to those with the given permission. Returns all tasks by default."
              },
              {
                "name": "priority",
                "value": "",
                "type": "query",
                "description": "Filter Task records to those with the given priority."
              },
              {
                "name": "query",
                "value": "",
                "type": "query",
                "description": "Wildcard search for `name` or `description` matching a given string."
              },
              {
                "name": "responsible_attorney_id",
                "value": "",
                "type": "query",
                "description": "Filter Task records to those that have an associated matter with a responsible attorney ID."
              },
              {
                "name": "status",
                "value": "",
                "type": "query",
                "description": "Filter Task records to those with the given status. Users without advanced tasks enabled may only specify 'complete' or 'pending'."
              },
              {
                "name": "statuses[]",
                "value": "",
                "type": "query",
                "description": "Filter Task records to those with the given statuses. Users without advanced tasks enabled may only specify 'complete' or 'pending'."
              },
              {
                "name": "statute_of_limitations",
                "value": "",
                "type": "query",
                "description": "Filter Task records to those which are a statute of limitations or not."
              },
              {
                "name": "task_type_id",
                "value": "",
                "type": "query",
                "description": "The unique identifier for a single TaskType. Use the keyword `null` to match those without a Task. The list will be filtered to include only the Task records with the matching property."
              },
              {
                "name": "time_entries_present",
                "value": "",
                "type": "query",
                "description": "Filter Task records to those that have associated time entries, or not."
              },
              {
                "name": "updated_since",
                "value": "",
                "type": "query",
                "description": "Filter Task records to those having the `updated_at` field after a specific time. (Expects an ISO-8601 timestamp)."
              }
            ]
          },
          "docs": "Outlines the parameters, optional and required, used when requesting the data for all Tasks"
        },
        {
          "info": {
            "name": "Create a new Task",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://app.clio.com/api/v4/tasks.json",
            "headers": [
              {
                "name": "X-API-VERSION",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "fields",
                "value": "",
                "type": "query",
                "description": "The fields to be returned. See response samples for what fields are available. For more information see the [fields section](#section/Fields)."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Outlines the parameters and data fields used when creating a new Task"
        },
        {
          "info": {
            "name": "Return the data for a single Task",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.clio.com/api/v4/tasks/:id.json",
            "headers": [
              {
                "name": "IF-MODIFIED-SINCE",
                "value": ""
              },
              {
                "name": "IF-NONE-MATCH",
                "value": ""
              },
              {
                "name": "X-API-VERSION",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "fields",
                "value": "",
                "type": "query",
                "description": "The fields to be returned. See response samples for what fields are available. For more information see the [fields section](#section/Fields)."
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The unique identifier for the Task."
              }
            ]
          },
          "docs": "Outlines the parameters, optional and required, used when requesting the data for a single Task"
        },
        {
          "info": {
            "name": "Update a single Task",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://app.clio.com/api/v4/tasks/:id.json",
            "headers": [
              {
                "name": "IF-MATCH",
                "value": ""
              },
              {
                "name": "X-API-VERSION",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "fields",
                "value": "",
                "type": "query",
                "description": "The fields to be returned. See response samples for what fields are available. For more information see the [fields section](#section/Fields)."
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The unique identifier for the Task."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Outlines the parameters and data fields used when updating a single Task"
        },
        {
          "info": {
            "name": "Delete a single Task",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://app.clio.com/api/v4/tasks/:id.json",
            "headers": [
              {
                "name": "X-API-VERSION",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The unique identifier for the Task."
              }
            ]
          },
          "docs": "Outlines the parameters, optional and required, used when deleting the record for a single Task"
        }
      ]
    }
  ],
  "bundled": true
}