{
  "schemaVersion": "1.0",
  "item": {
    "slug": "clio",
    "name": "Clio",
    "source": "tencent",
    "type": "skill",
    "category": "效率提升",
    "sourceUrl": "https://clawhub.ai/byungkyu/clio",
    "canonicalUrl": "https://clawhub.ai/byungkyu/clio",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/clio",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=clio",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "LICENSE.txt"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-23T16:43:11.935Z",
      "expiresAt": "2026-04-30T16:43:11.935Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
        "contentDisposition": "attachment; filename=\"4claw-imageboard-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/clio"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/clio",
    "agentPageUrl": "https://openagent3.xyz/skills/clio/agent",
    "manifestUrl": "https://openagent3.xyz/skills/clio/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/clio/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Clio",
        "body": "Access the Clio Manage API with managed OAuth authentication. Manage matters, contacts, activities, tasks, documents, calendar entries, time entries, and billing for legal practice management."
      },
      {
        "title": "Quick Start",
        "body": "# List matters\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://gateway.maton.ai/clio/api/v4/matters?fields=id,display_number,description,status')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF"
      },
      {
        "title": "Base URL",
        "body": "https://gateway.maton.ai/clio/{native-api-path}\n\nReplace {native-api-path} with the actual Clio API endpoint path. The gateway proxies requests to app.clio.com and automatically injects your OAuth token."
      },
      {
        "title": "Authentication",
        "body": "All requests require the Maton API key in the Authorization header:\n\nAuthorization: Bearer $MATON_API_KEY\n\nEnvironment Variable: Set your API key as MATON_API_KEY:\n\nexport MATON_API_KEY=\"YOUR_API_KEY\""
      },
      {
        "title": "Getting Your API Key",
        "body": "Sign in or create an account at maton.ai\nGo to maton.ai/settings\nCopy your API key"
      },
      {
        "title": "Connection Management",
        "body": "Manage your Clio OAuth connections at https://ctrl.maton.ai."
      },
      {
        "title": "List Connections",
        "body": "python <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://ctrl.maton.ai/connections?app=clio&status=ACTIVE')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF"
      },
      {
        "title": "Create Connection",
        "body": "python <<'EOF'\nimport urllib.request, os, json\ndata = json.dumps({'app': 'clio'}).encode()\nreq = urllib.request.Request('https://ctrl.maton.ai/connections', data=data, method='POST')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nreq.add_header('Content-Type', 'application/json')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF"
      },
      {
        "title": "Get Connection",
        "body": "python <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://ctrl.maton.ai/connections/{connection_id}')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\nResponse:\n\n{\n  \"connection\": {\n    \"connection_id\": \"21fd90f9-5935-43cd-b6c8-bde9d915ca80\",\n    \"status\": \"ACTIVE\",\n    \"creation_time\": \"2025-12-08T07:20:53.488460Z\",\n    \"last_updated_time\": \"2026-01-31T20:03:32.593153Z\",\n    \"url\": \"https://connect.maton.ai/?session_token=...\",\n    \"app\": \"clio\",\n    \"metadata\": {}\n  }\n}\n\nOpen the returned url in a browser to complete OAuth authorization."
      },
      {
        "title": "Delete Connection",
        "body": "python <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://ctrl.maton.ai/connections/{connection_id}', method='DELETE')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF"
      },
      {
        "title": "Specifying Connection",
        "body": "If you have multiple Clio connections, specify which one to use with the Maton-Connection header:\n\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://gateway.maton.ai/clio/api/v4/matters')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nreq.add_header('Maton-Connection', '21fd90f9-5935-43cd-b6c8-bde9d915ca80')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\nIf omitted, the gateway uses the default (oldest) active connection."
      },
      {
        "title": "Field Selection",
        "body": "By default, Clio returns minimal fields (id, etag). Use the fields parameter to request specific fields:\n\nGET /clio/api/v4/matters?fields=id,display_number,description,status\n\nFor nested resources, use curly bracket syntax:\n\nGET /clio/api/v4/activities?fields=id,type,matter{id,description}"
      },
      {
        "title": "Matters",
        "body": "List Matters\n\nGET /clio/api/v4/matters?fields=id,display_number,description,status,client_reference\n\nGet Matter\n\nGET /clio/api/v4/matters/{id}?fields=id,display_number,description,status,open_date,close_date\n\nCreate Matter\n\nPOST /clio/api/v4/matters\nContent-Type: application/json\n\n{\n  \"data\": {\n    \"description\": \"New Legal Matter\",\n    \"status\": \"open\",\n    \"client\": {\"id\": 12345}\n  }\n}\n\nUpdate Matter\n\nPATCH /clio/api/v4/matters/{id}\nContent-Type: application/json\n\n{\n  \"data\": {\n    \"description\": \"Updated Matter Description\",\n    \"status\": \"closed\"\n  }\n}\n\nDelete Matter\n\nDELETE /clio/api/v4/matters/{id}"
      },
      {
        "title": "Contacts",
        "body": "List Contacts\n\nGET /clio/api/v4/contacts?fields=id,name,type,primary_email_address,primary_phone_number\n\nGet Contact\n\nGET /clio/api/v4/contacts/{id}?fields=id,name,type,first_name,last_name,company\n\nCreate Contact (Person)\n\nPOST /clio/api/v4/contacts\nContent-Type: application/json\n\n{\n  \"data\": {\n    \"type\": \"Person\",\n    \"first_name\": \"John\",\n    \"last_name\": \"Doe\",\n    \"email_addresses\": [\n      {\"name\": \"Work\", \"address\": \"john@example.com\", \"default_email\": true}\n    ]\n  }\n}\n\nCreate Contact (Company)\n\nPOST /clio/api/v4/contacts\nContent-Type: application/json\n\n{\n  \"data\": {\n    \"type\": \"Company\",\n    \"name\": \"Acme Corporation\"\n  }\n}\n\nUpdate Contact\n\nPATCH /clio/api/v4/contacts/{id}\nContent-Type: application/json\n\n{\n  \"data\": {\n    \"first_name\": \"Jane\"\n  }\n}\n\nDelete Contact\n\nDELETE /clio/api/v4/contacts/{id}"
      },
      {
        "title": "Activities",
        "body": "List Activities\n\nGET /clio/api/v4/activities?fields=id,type,date,quantity,matter{id,description}\n\nGet Activity\n\nGET /clio/api/v4/activities/{id}?fields=id,type,date,quantity,note\n\nCreate Activity\n\nPOST /clio/api/v4/activities\nContent-Type: application/json\n\n{\n  \"data\": {\n    \"type\": \"TimeEntry\",\n    \"date\": \"2026-02-11\",\n    \"quantity\": 3600,\n    \"matter\": {\"id\": 12345},\n    \"note\": \"Legal research\"\n  }\n}\n\nUpdate Activity\n\nPATCH /clio/api/v4/activities/{id}\nContent-Type: application/json\n\n{\n  \"data\": {\n    \"note\": \"Updated note\"\n  }\n}\n\nDelete Activity\n\nDELETE /clio/api/v4/activities/{id}"
      },
      {
        "title": "Tasks",
        "body": "List Tasks\n\nGET /clio/api/v4/tasks?fields=id,name,status,due_at,priority,matter{id,description}\n\nGet Task\n\nGET /clio/api/v4/tasks/{id}?fields=id,name,description,status,due_at,priority\n\nCreate Task\n\nRequires assignee with both id and type (\"User\" or \"Contact\"):\n\nPOST /clio/api/v4/tasks\nContent-Type: application/json\n\n{\n  \"data\": {\n    \"name\": \"Review contract\",\n    \"due_at\": \"2026-02-15T17:00:00Z\",\n    \"priority\": \"Normal\",\n    \"assignee\": {\"id\": 12345, \"type\": \"User\"},\n    \"matter\": {\"id\": 67890}\n  }\n}\n\nUpdate Task\n\nPATCH /clio/api/v4/tasks/{id}\nContent-Type: application/json\n\n{\n  \"data\": {\n    \"status\": \"complete\"\n  }\n}\n\nDelete Task\n\nDELETE /clio/api/v4/tasks/{id}"
      },
      {
        "title": "Calendar Entries",
        "body": "List Calendar Entries\n\nGET /clio/api/v4/calendar_entries?fields=id,summary,start_at,end_at,matter{id,description}\n\nGet Calendar Entry\n\nGET /clio/api/v4/calendar_entries/{id}?fields=id,summary,description,start_at,end_at,location\n\nCreate Calendar Entry\n\nRequires calendar_owner with id and type:\n\nPOST /clio/api/v4/calendar_entries\nContent-Type: application/json\n\n{\n  \"data\": {\n    \"summary\": \"Client Meeting\",\n    \"start_at\": \"2026-02-15T10:00:00Z\",\n    \"end_at\": \"2026-02-15T11:00:00Z\",\n    \"calendar_owner\": {\"id\": 12345, \"type\": \"User\"}\n  }\n}\n\nNote: Associating a matter with a calendar entry during creation may return a 404 error. To link a matter, update the calendar entry after creation using PATCH.\n\nUpdate Calendar Entry\n\nPATCH /clio/api/v4/calendar_entries/{id}\nContent-Type: application/json\n\n{\n  \"data\": {\n    \"summary\": \"Updated Meeting Title\"\n  }\n}\n\nDelete Calendar Entry\n\nDELETE /clio/api/v4/calendar_entries/{id}"
      },
      {
        "title": "Documents",
        "body": "List Documents\n\nGET /clio/api/v4/documents?fields=id,name,content_type,size,matter{id,description}\n\nGet Document\n\nGET /clio/api/v4/documents/{id}?fields=id,name,content_type,size,created_at\n\nDownload Document\n\nGET /clio/api/v4/documents/{id}/download"
      },
      {
        "title": "Users",
        "body": "Get Current User\n\nGET /clio/api/v4/users/who_am_i?fields=id,name,email,enabled\n\nList Users\n\nGET /clio/api/v4/users?fields=id,name,email,enabled,rate"
      },
      {
        "title": "Bills",
        "body": "List Bills\n\nGET /clio/api/v4/bills?fields=id,number,issued_at,due_at,total,balance,state\n\nGet Bill\n\nGET /clio/api/v4/bills/{id}?fields=id,number,issued_at,due_at,total,balance,state"
      },
      {
        "title": "Pagination",
        "body": "Clio uses cursor-based pagination. Response includes pagination metadata:\n\nGET /clio/api/v4/matters?fields=id,description&limit=50\n\nResponse includes pagination info in the meta object:\n\n{\n  \"data\": [...],\n  \"meta\": {\n    \"paging\": {\n      \"next\": \"https://app.clio.com/api/v4/matters?page_token=xyz123\"\n    },\n    \"records\": 50\n  }\n}\n\nUse the page_token parameter to fetch the next page:\n\nGET /clio/api/v4/matters?fields=id,description&page_token=xyz123"
      },
      {
        "title": "JavaScript",
        "body": "const response = await fetch(\n  'https://gateway.maton.ai/clio/api/v4/matters?fields=id,display_number,description',\n  {\n    headers: {\n      'Authorization': `Bearer ${process.env.MATON_API_KEY}`\n    }\n  }\n);\nconst data = await response.json();"
      },
      {
        "title": "Python",
        "body": "import os\nimport requests\n\nresponse = requests.get(\n    'https://gateway.maton.ai/clio/api/v4/matters',\n    headers={'Authorization': f'Bearer {os.environ[\"MATON_API_KEY\"]}'},\n    params={'fields': 'id,display_number,description'}\n)\ndata = response.json()"
      },
      {
        "title": "Notes",
        "body": "Field selection is important - default responses only include id and etag\nNested resources use curly bracket syntax: matter{id,description}\nOnly one level of nesting is supported\nContact types: Person or Company\nTask assignees require both id and type (\"User\" or \"Contact\")\nCalendar entries require calendar_owner with id and type; associating a matter during creation may fail - use PATCH to link matters after creation\nActivity quantity is in seconds (3600 = 1 hour)\nContact records limited to 20 email addresses, phone numbers, and addresses each\nActivities, Documents, and Bills endpoints require additional OAuth scopes beyond the basic integration\nIMPORTANT: When using curl commands, use curl -g when URLs contain brackets to disable glob parsing\nIMPORTANT: When piping curl output to jq or other commands, environment variables like $MATON_API_KEY may not expand correctly in some shell environments"
      },
      {
        "title": "Error Handling",
        "body": "StatusMeaning400Missing Clio connection or bad request401Invalid or missing Maton API key404Resource not found429Rate limited (50 req/min during peak hours)4xx/5xxPassthrough error from Clio API"
      },
      {
        "title": "Rate Limit Headers",
        "body": "Clio includes rate limit headers in responses:\n\nX-RateLimit-Limit - Maximum requests in 60-second window\nX-RateLimit-Remaining - Requests remaining in current window\nX-RateLimit-Reset - Unix timestamp for window reset\nRetry-After - Seconds to wait (when throttled)"
      },
      {
        "title": "Resources",
        "body": "Clio API Documentation\nClio Fields Guide\nClio Rate Limits\nClio Permissions\nMaton Community\nMaton Support"
      }
    ],
    "body": "Clio\n\nAccess the Clio Manage API with managed OAuth authentication. Manage matters, contacts, activities, tasks, documents, calendar entries, time entries, and billing for legal practice management.\n\nQuick Start\n# List matters\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://gateway.maton.ai/clio/api/v4/matters?fields=id,display_number,description,status')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\nBase URL\nhttps://gateway.maton.ai/clio/{native-api-path}\n\n\nReplace {native-api-path} with the actual Clio API endpoint path. The gateway proxies requests to app.clio.com and automatically injects your OAuth token.\n\nAuthentication\n\nAll requests require the Maton API key in the Authorization header:\n\nAuthorization: Bearer $MATON_API_KEY\n\n\nEnvironment Variable: Set your API key as MATON_API_KEY:\n\nexport MATON_API_KEY=\"YOUR_API_KEY\"\n\nGetting Your API Key\nSign in or create an account at maton.ai\nGo to maton.ai/settings\nCopy your API key\nConnection Management\n\nManage your Clio OAuth connections at https://ctrl.maton.ai.\n\nList Connections\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://ctrl.maton.ai/connections?app=clio&status=ACTIVE')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\nCreate Connection\npython <<'EOF'\nimport urllib.request, os, json\ndata = json.dumps({'app': 'clio'}).encode()\nreq = urllib.request.Request('https://ctrl.maton.ai/connections', data=data, method='POST')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nreq.add_header('Content-Type', 'application/json')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\nGet Connection\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://ctrl.maton.ai/connections/{connection_id}')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\n\nResponse:\n\n{\n  \"connection\": {\n    \"connection_id\": \"21fd90f9-5935-43cd-b6c8-bde9d915ca80\",\n    \"status\": \"ACTIVE\",\n    \"creation_time\": \"2025-12-08T07:20:53.488460Z\",\n    \"last_updated_time\": \"2026-01-31T20:03:32.593153Z\",\n    \"url\": \"https://connect.maton.ai/?session_token=...\",\n    \"app\": \"clio\",\n    \"metadata\": {}\n  }\n}\n\n\nOpen the returned url in a browser to complete OAuth authorization.\n\nDelete Connection\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://ctrl.maton.ai/connections/{connection_id}', method='DELETE')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\nSpecifying Connection\n\nIf you have multiple Clio connections, specify which one to use with the Maton-Connection header:\n\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://gateway.maton.ai/clio/api/v4/matters')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nreq.add_header('Maton-Connection', '21fd90f9-5935-43cd-b6c8-bde9d915ca80')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\n\nIf omitted, the gateway uses the default (oldest) active connection.\n\nAPI Reference\nField Selection\n\nBy default, Clio returns minimal fields (id, etag). Use the fields parameter to request specific fields:\n\nGET /clio/api/v4/matters?fields=id,display_number,description,status\n\n\nFor nested resources, use curly bracket syntax:\n\nGET /clio/api/v4/activities?fields=id,type,matter{id,description}\n\nMatters\nList Matters\nGET /clio/api/v4/matters?fields=id,display_number,description,status,client_reference\n\nGet Matter\nGET /clio/api/v4/matters/{id}?fields=id,display_number,description,status,open_date,close_date\n\nCreate Matter\nPOST /clio/api/v4/matters\nContent-Type: application/json\n\n{\n  \"data\": {\n    \"description\": \"New Legal Matter\",\n    \"status\": \"open\",\n    \"client\": {\"id\": 12345}\n  }\n}\n\nUpdate Matter\nPATCH /clio/api/v4/matters/{id}\nContent-Type: application/json\n\n{\n  \"data\": {\n    \"description\": \"Updated Matter Description\",\n    \"status\": \"closed\"\n  }\n}\n\nDelete Matter\nDELETE /clio/api/v4/matters/{id}\n\nContacts\nList Contacts\nGET /clio/api/v4/contacts?fields=id,name,type,primary_email_address,primary_phone_number\n\nGet Contact\nGET /clio/api/v4/contacts/{id}?fields=id,name,type,first_name,last_name,company\n\nCreate Contact (Person)\nPOST /clio/api/v4/contacts\nContent-Type: application/json\n\n{\n  \"data\": {\n    \"type\": \"Person\",\n    \"first_name\": \"John\",\n    \"last_name\": \"Doe\",\n    \"email_addresses\": [\n      {\"name\": \"Work\", \"address\": \"john@example.com\", \"default_email\": true}\n    ]\n  }\n}\n\nCreate Contact (Company)\nPOST /clio/api/v4/contacts\nContent-Type: application/json\n\n{\n  \"data\": {\n    \"type\": \"Company\",\n    \"name\": \"Acme Corporation\"\n  }\n}\n\nUpdate Contact\nPATCH /clio/api/v4/contacts/{id}\nContent-Type: application/json\n\n{\n  \"data\": {\n    \"first_name\": \"Jane\"\n  }\n}\n\nDelete Contact\nDELETE /clio/api/v4/contacts/{id}\n\nActivities\nList Activities\nGET /clio/api/v4/activities?fields=id,type,date,quantity,matter{id,description}\n\nGet Activity\nGET /clio/api/v4/activities/{id}?fields=id,type,date,quantity,note\n\nCreate Activity\nPOST /clio/api/v4/activities\nContent-Type: application/json\n\n{\n  \"data\": {\n    \"type\": \"TimeEntry\",\n    \"date\": \"2026-02-11\",\n    \"quantity\": 3600,\n    \"matter\": {\"id\": 12345},\n    \"note\": \"Legal research\"\n  }\n}\n\nUpdate Activity\nPATCH /clio/api/v4/activities/{id}\nContent-Type: application/json\n\n{\n  \"data\": {\n    \"note\": \"Updated note\"\n  }\n}\n\nDelete Activity\nDELETE /clio/api/v4/activities/{id}\n\nTasks\nList Tasks\nGET /clio/api/v4/tasks?fields=id,name,status,due_at,priority,matter{id,description}\n\nGet Task\nGET /clio/api/v4/tasks/{id}?fields=id,name,description,status,due_at,priority\n\nCreate Task\n\nRequires assignee with both id and type (\"User\" or \"Contact\"):\n\nPOST /clio/api/v4/tasks\nContent-Type: application/json\n\n{\n  \"data\": {\n    \"name\": \"Review contract\",\n    \"due_at\": \"2026-02-15T17:00:00Z\",\n    \"priority\": \"Normal\",\n    \"assignee\": {\"id\": 12345, \"type\": \"User\"},\n    \"matter\": {\"id\": 67890}\n  }\n}\n\nUpdate Task\nPATCH /clio/api/v4/tasks/{id}\nContent-Type: application/json\n\n{\n  \"data\": {\n    \"status\": \"complete\"\n  }\n}\n\nDelete Task\nDELETE /clio/api/v4/tasks/{id}\n\nCalendar Entries\nList Calendar Entries\nGET /clio/api/v4/calendar_entries?fields=id,summary,start_at,end_at,matter{id,description}\n\nGet Calendar Entry\nGET /clio/api/v4/calendar_entries/{id}?fields=id,summary,description,start_at,end_at,location\n\nCreate Calendar Entry\n\nRequires calendar_owner with id and type:\n\nPOST /clio/api/v4/calendar_entries\nContent-Type: application/json\n\n{\n  \"data\": {\n    \"summary\": \"Client Meeting\",\n    \"start_at\": \"2026-02-15T10:00:00Z\",\n    \"end_at\": \"2026-02-15T11:00:00Z\",\n    \"calendar_owner\": {\"id\": 12345, \"type\": \"User\"}\n  }\n}\n\n\nNote: Associating a matter with a calendar entry during creation may return a 404 error. To link a matter, update the calendar entry after creation using PATCH.\n\nUpdate Calendar Entry\nPATCH /clio/api/v4/calendar_entries/{id}\nContent-Type: application/json\n\n{\n  \"data\": {\n    \"summary\": \"Updated Meeting Title\"\n  }\n}\n\nDelete Calendar Entry\nDELETE /clio/api/v4/calendar_entries/{id}\n\nDocuments\nList Documents\nGET /clio/api/v4/documents?fields=id,name,content_type,size,matter{id,description}\n\nGet Document\nGET /clio/api/v4/documents/{id}?fields=id,name,content_type,size,created_at\n\nDownload Document\nGET /clio/api/v4/documents/{id}/download\n\nUsers\nGet Current User\nGET /clio/api/v4/users/who_am_i?fields=id,name,email,enabled\n\nList Users\nGET /clio/api/v4/users?fields=id,name,email,enabled,rate\n\nBills\nList Bills\nGET /clio/api/v4/bills?fields=id,number,issued_at,due_at,total,balance,state\n\nGet Bill\nGET /clio/api/v4/bills/{id}?fields=id,number,issued_at,due_at,total,balance,state\n\nPagination\n\nClio uses cursor-based pagination. Response includes pagination metadata:\n\nGET /clio/api/v4/matters?fields=id,description&limit=50\n\n\nResponse includes pagination info in the meta object:\n\n{\n  \"data\": [...],\n  \"meta\": {\n    \"paging\": {\n      \"next\": \"https://app.clio.com/api/v4/matters?page_token=xyz123\"\n    },\n    \"records\": 50\n  }\n}\n\n\nUse the page_token parameter to fetch the next page:\n\nGET /clio/api/v4/matters?fields=id,description&page_token=xyz123\n\nCode Examples\nJavaScript\nconst response = await fetch(\n  'https://gateway.maton.ai/clio/api/v4/matters?fields=id,display_number,description',\n  {\n    headers: {\n      'Authorization': `Bearer ${process.env.MATON_API_KEY}`\n    }\n  }\n);\nconst data = await response.json();\n\nPython\nimport os\nimport requests\n\nresponse = requests.get(\n    'https://gateway.maton.ai/clio/api/v4/matters',\n    headers={'Authorization': f'Bearer {os.environ[\"MATON_API_KEY\"]}'},\n    params={'fields': 'id,display_number,description'}\n)\ndata = response.json()\n\nNotes\nField selection is important - default responses only include id and etag\nNested resources use curly bracket syntax: matter{id,description}\nOnly one level of nesting is supported\nContact types: Person or Company\nTask assignees require both id and type (\"User\" or \"Contact\")\nCalendar entries require calendar_owner with id and type; associating a matter during creation may fail - use PATCH to link matters after creation\nActivity quantity is in seconds (3600 = 1 hour)\nContact records limited to 20 email addresses, phone numbers, and addresses each\nActivities, Documents, and Bills endpoints require additional OAuth scopes beyond the basic integration\nIMPORTANT: When using curl commands, use curl -g when URLs contain brackets to disable glob parsing\nIMPORTANT: When piping curl output to jq or other commands, environment variables like $MATON_API_KEY may not expand correctly in some shell environments\nError Handling\nStatus\tMeaning\n400\tMissing Clio connection or bad request\n401\tInvalid or missing Maton API key\n404\tResource not found\n429\tRate limited (50 req/min during peak hours)\n4xx/5xx\tPassthrough error from Clio API\nRate Limit Headers\n\nClio includes rate limit headers in responses:\n\nX-RateLimit-Limit - Maximum requests in 60-second window\nX-RateLimit-Remaining - Requests remaining in current window\nX-RateLimit-Reset - Unix timestamp for window reset\nRetry-After - Seconds to wait (when throttled)\nResources\nClio API Documentation\nClio Fields Guide\nClio Rate Limits\nClio Permissions\nMaton Community\nMaton Support"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/byungkyu/clio",
    "publisherUrl": "https://clawhub.ai/byungkyu/clio",
    "owner": "byungkyu",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/clio",
    "downloadUrl": "https://openagent3.xyz/downloads/clio",
    "agentUrl": "https://openagent3.xyz/skills/clio/agent",
    "manifestUrl": "https://openagent3.xyz/skills/clio/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/clio/agent.md"
  }
}