{
  "schemaVersion": "1.0",
  "item": {
    "slug": "companycam",
    "name": "CompanyCam",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/byungkyu/companycam",
    "canonicalUrl": "https://clawhub.ai/byungkyu/companycam",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/companycam",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=companycam",
    "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-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.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/companycam"
    },
    "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/companycam",
    "agentPageUrl": "https://openagent3.xyz/skills/companycam/agent",
    "manifestUrl": "https://openagent3.xyz/skills/companycam/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/companycam/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": "CompanyCam",
        "body": "Access the CompanyCam API with managed OAuth authentication. Manage projects, photos, users, tags, groups, documents, and webhooks for contractor photo documentation."
      },
      {
        "title": "Quick Start",
        "body": "# List projects\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://gateway.maton.ai/companycam/v2/projects')\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/companycam/v2/{resource}\n\nReplace {resource} with the actual CompanyCam API endpoint path. The gateway proxies requests to api.companycam.com/v2 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 CompanyCam 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=companycam&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': 'companycam'}).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\": \"d274cf68-9e76-464c-92e3-ff274c44526e\",\n    \"status\": \"ACTIVE\",\n    \"creation_time\": \"2026-02-12T01:56:32.259046Z\",\n    \"last_updated_time\": \"2026-02-12T01:57:38.944271Z\",\n    \"url\": \"https://connect.maton.ai/?session_token=...\",\n    \"app\": \"companycam\",\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 CompanyCam 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/companycam/v2/projects')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nreq.add_header('Maton-Connection', 'd274cf68-9e76-464c-92e3-ff274c44526e')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\nIf omitted, the gateway uses the default (oldest) active connection."
      },
      {
        "title": "Company",
        "body": "Get Company\n\nGET /companycam/v2/company\n\nReturns the current company information."
      },
      {
        "title": "Users",
        "body": "Get Current User\n\nGET /companycam/v2/users/current\n\nList Users\n\nGET /companycam/v2/users\n\nQuery parameters:\n\npage - Page number\nper_page - Results per page (default: 25)\nstatus - Filter by status (active, inactive)\n\nCreate User\n\nPOST /companycam/v2/users\nContent-Type: application/json\n\n{\n  \"first_name\": \"John\",\n  \"last_name\": \"Doe\",\n  \"email_address\": \"john@example.com\",\n  \"user_role\": \"standard\"\n}\n\nUser roles: admin, standard, limited\n\nGet User\n\nGET /companycam/v2/users/{id}\n\nUpdate User\n\nPUT /companycam/v2/users/{id}\nContent-Type: application/json\n\n{\n  \"first_name\": \"John\",\n  \"last_name\": \"Smith\"\n}\n\nDelete User\n\nDELETE /companycam/v2/users/{id}"
      },
      {
        "title": "Projects",
        "body": "List Projects\n\nGET /companycam/v2/projects\n\nQuery parameters:\n\npage - Page number\nper_page - Results per page (default: 25)\nquery - Search query\nstatus - Filter by status\nmodified_since - Unix timestamp for filtering\n\nCreate Project\n\nPOST /companycam/v2/projects\nContent-Type: application/json\n\n{\n  \"name\": \"New Construction Project\",\n  \"address\": {\n    \"street_address_1\": \"123 Main St\",\n    \"city\": \"Los Angeles\",\n    \"state\": \"CA\",\n    \"postal_code\": \"90210\",\n    \"country\": \"US\"\n  }\n}\n\nGet Project\n\nGET /companycam/v2/projects/{id}\n\nUpdate Project\n\nPUT /companycam/v2/projects/{id}\nContent-Type: application/json\n\n{\n  \"name\": \"Updated Project Name\"\n}\n\nDelete Project\n\nDELETE /companycam/v2/projects/{id}\n\nArchive Project\n\nPATCH /companycam/v2/projects/{id}/archive\n\nRestore Project\n\nPUT /companycam/v2/projects/{id}/restore"
      },
      {
        "title": "Project Photos",
        "body": "List Project Photos\n\nGET /companycam/v2/projects/{project_id}/photos\n\nQuery parameters:\n\npage - Page number\nper_page - Results per page\nstart_date - Filter by start date (Unix timestamp)\nend_date - Filter by end date (Unix timestamp)\nuser_ids - Filter by user IDs\ngroup_ids - Filter by group IDs\ntag_ids - Filter by tag IDs\n\nAdd Photo to Project\n\nPOST /companycam/v2/projects/{project_id}/photos\nContent-Type: application/json\n\n{\n  \"uri\": \"https://example.com/photo.jpg\",\n  \"captured_at\": 1609459200,\n  \"coordinates\": {\n    \"lat\": 34.0522,\n    \"lon\": -118.2437\n  },\n  \"tags\": [\"exterior\", \"front\"]\n}"
      },
      {
        "title": "Project Comments",
        "body": "List Project Comments\n\nGET /companycam/v2/projects/{project_id}/comments\n\nAdd Project Comment\n\nPOST /companycam/v2/projects/{project_id}/comments\nContent-Type: application/json\n\n{\n  \"comment\": {\n    \"content\": \"Work completed successfully\"\n  }\n}"
      },
      {
        "title": "Project Labels",
        "body": "List Project Labels\n\nGET /companycam/v2/projects/{project_id}/labels\n\nAdd Labels to Project\n\nPOST /companycam/v2/projects/{project_id}/labels\nContent-Type: application/json\n\n{\n  \"labels\": [\"priority\", \"urgent\"]\n}\n\nDelete Project Label\n\nDELETE /companycam/v2/projects/{project_id}/labels/{label_id}"
      },
      {
        "title": "Project Documents",
        "body": "List Project Documents\n\nGET /companycam/v2/projects/{project_id}/documents\n\nUpload Document\n\nPOST /companycam/v2/projects/{project_id}/documents\nContent-Type: application/json\n\n{\n  \"uri\": \"https://example.com/document.pdf\",\n  \"name\": \"Contract.pdf\"\n}"
      },
      {
        "title": "Project Checklists",
        "body": "List Project Checklists\n\nGET /companycam/v2/projects/{project_id}/checklists\n\nCreate Checklist from Template\n\nPOST /companycam/v2/projects/{project_id}/checklists\nContent-Type: application/json\n\n{\n  \"checklist_template_id\": \"template_id\"\n}\n\nGet Project Checklist\n\nGET /companycam/v2/projects/{project_id}/checklists/{checklist_id}"
      },
      {
        "title": "Project Users",
        "body": "List Assigned Users\n\nGET /companycam/v2/projects/{project_id}/assigned_users\n\nAssign User to Project\n\nPUT /companycam/v2/projects/{project_id}/assigned_users/{user_id}"
      },
      {
        "title": "Project Collaborators",
        "body": "List Collaborators\n\nGET /companycam/v2/projects/{project_id}/collaborators"
      },
      {
        "title": "Photos",
        "body": "List All Photos\n\nGET /companycam/v2/photos\n\nQuery parameters:\n\npage - Page number\nper_page - Results per page\n\nGet Photo\n\nGET /companycam/v2/photos/{id}\n\nUpdate Photo\n\nPUT /companycam/v2/photos/{id}\nContent-Type: application/json\n\n{\n  \"photo\": {\n    \"captured_at\": 1609459200\n  }\n}\n\nDelete Photo\n\nDELETE /companycam/v2/photos/{id}\n\nList Photo Tags\n\nGET /companycam/v2/photos/{id}/tags\n\nAdd Tags to Photo\n\nPOST /companycam/v2/photos/{id}/tags\nContent-Type: application/json\n\n{\n  \"tags\": [\"exterior\", \"completed\"]\n}\n\nList Photo Comments\n\nGET /companycam/v2/photos/{id}/comments\n\nAdd Photo Comment\n\nPOST /companycam/v2/photos/{id}/comments\nContent-Type: application/json\n\n{\n  \"comment\": {\n    \"content\": \"Great progress!\"\n  }\n}"
      },
      {
        "title": "Tags",
        "body": "List Tags\n\nGET /companycam/v2/tags\n\nCreate Tag\n\nPOST /companycam/v2/tags\nContent-Type: application/json\n\n{\n  \"display_value\": \"Exterior\",\n  \"color\": \"#FF5733\"\n}\n\nGet Tag\n\nGET /companycam/v2/tags/{id}\n\nUpdate Tag\n\nPUT /companycam/v2/tags/{id}\nContent-Type: application/json\n\n{\n  \"display_value\": \"Interior\",\n  \"color\": \"#3498DB\"\n}\n\nDelete Tag\n\nDELETE /companycam/v2/tags/{id}"
      },
      {
        "title": "Groups",
        "body": "List Groups\n\nGET /companycam/v2/groups\n\nCreate Group\n\nPOST /companycam/v2/groups\nContent-Type: application/json\n\n{\n  \"name\": \"Roofing Team\"\n}\n\nGet Group\n\nGET /companycam/v2/groups/{id}\n\nUpdate Group\n\nPUT /companycam/v2/groups/{id}\nContent-Type: application/json\n\n{\n  \"name\": \"Updated Team Name\"\n}\n\nDelete Group\n\nDELETE /companycam/v2/groups/{id}"
      },
      {
        "title": "Checklists",
        "body": "List All Checklists\n\nGET /companycam/v2/checklists\n\nQuery parameters:\n\npage - Page number\nper_page - Results per page\ncompleted - Filter by completion status (true/false)"
      },
      {
        "title": "Webhooks",
        "body": "List Webhooks\n\nGET /companycam/v2/webhooks\n\nCreate Webhook\n\nPOST /companycam/v2/webhooks\nContent-Type: application/json\n\n{\n  \"url\": \"https://example.com/webhook\",\n  \"scopes\": [\"project.created\", \"photo.created\"]\n}\n\nAvailable scopes:\n\nproject.created\nproject.updated\nproject.deleted\nphoto.created\nphoto.updated\nphoto.deleted\ndocument.created\nlabel.created\nlabel.deleted\n\nGet Webhook\n\nGET /companycam/v2/webhooks/{id}\n\nUpdate Webhook\n\nPUT /companycam/v2/webhooks/{id}\nContent-Type: application/json\n\n{\n  \"url\": \"https://example.com/new-webhook\",\n  \"enabled\": true\n}\n\nDelete Webhook\n\nDELETE /companycam/v2/webhooks/{id}"
      },
      {
        "title": "Pagination",
        "body": "CompanyCam uses page-based pagination:\n\nGET /companycam/v2/projects?page=2&per_page=25\n\nQuery parameters:\n\npage - Page number (default: 1)\nper_page - Results per page (default: 25)"
      },
      {
        "title": "JavaScript - List Projects",
        "body": "const response = await fetch(\n  'https://gateway.maton.ai/companycam/v2/projects?per_page=10',\n  {\n    headers: {\n      'Authorization': `Bearer ${process.env.MATON_API_KEY}`\n    }\n  }\n);\nconst projects = await response.json();\nconsole.log(projects);"
      },
      {
        "title": "Python - List Projects",
        "body": "import os\nimport requests\n\nresponse = requests.get(\n    'https://gateway.maton.ai/companycam/v2/projects',\n    headers={'Authorization': f'Bearer {os.environ[\"MATON_API_KEY\"]}'},\n    params={'per_page': 10}\n)\nprojects = response.json()\nfor project in projects:\n    print(f\"{project['name']}: {project['id']}\")"
      },
      {
        "title": "Python - Create Project with Photo",
        "body": "import os\nimport requests\n\nheaders = {'Authorization': f'Bearer {os.environ[\"MATON_API_KEY\"]}'}\nbase_url = 'https://gateway.maton.ai/companycam/v2'\n\n# Create project\nproject_response = requests.post(\n    f'{base_url}/projects',\n    headers=headers,\n    json={\n        'name': 'Kitchen Renovation',\n        'address': {\n            'street_address_1': '456 Oak Ave',\n            'city': 'Denver',\n            'state': 'CO',\n            'postal_code': '80202',\n            'country': 'US'\n        }\n    }\n)\nproject = project_response.json()\nprint(f\"Created project: {project['id']}\")\n\n# Add photo to project\nphoto_response = requests.post(\n    f'{base_url}/projects/{project[\"id\"]}/photos',\n    headers=headers,\n    json={\n        'uri': 'https://example.com/kitchen-before.jpg',\n        'tags': ['before', 'kitchen']\n    }\n)\nphoto = photo_response.json()\nprint(f\"Added photo: {photo['id']}\")"
      },
      {
        "title": "Notes",
        "body": "Project IDs and other IDs are returned as strings\nTimestamps are Unix timestamps (seconds since epoch)\nPhotos can be added via URL (uri parameter)\nComments must be wrapped in a comment object\nWebhooks use scopes parameter (not events)\nUser roles: admin, standard, limited\nIMPORTANT: When using curl commands, use curl -g when URLs contain brackets to disable glob parsing\nIMPORTANT: When piping curl output to jq, environment variables may not expand correctly. Use Python examples instead."
      },
      {
        "title": "Rate Limits",
        "body": "OperationLimitGET requests240 per minutePOST/PUT/DELETE100 per minute\n\nWhen rate limited, the API returns a 429 status code. Implement exponential backoff for retries."
      },
      {
        "title": "Error Handling",
        "body": "StatusMeaning400Bad request or missing CompanyCam connection401Invalid or missing Maton API key404Resource not found422Validation error (check error messages)429Rate limited4xx/5xxPassthrough error from CompanyCam API"
      },
      {
        "title": "Troubleshooting: API Key Issues",
        "body": "Check that the MATON_API_KEY environment variable is set:\n\necho $MATON_API_KEY\n\nVerify the API key is valid by listing connections:\n\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://ctrl.maton.ai/connections')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF"
      },
      {
        "title": "Troubleshooting: Invalid App Name",
        "body": "Ensure your URL path starts with companycam. For example:\n\nCorrect: https://gateway.maton.ai/companycam/v2/projects\nIncorrect: https://gateway.maton.ai/v2/projects"
      },
      {
        "title": "Resources",
        "body": "CompanyCam API Documentation\nCompanyCam API Reference\nCompanyCam Getting Started\nMaton Community\nMaton Support"
      }
    ],
    "body": "CompanyCam\n\nAccess the CompanyCam API with managed OAuth authentication. Manage projects, photos, users, tags, groups, documents, and webhooks for contractor photo documentation.\n\nQuick Start\n# List projects\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://gateway.maton.ai/companycam/v2/projects')\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/companycam/v2/{resource}\n\n\nReplace {resource} with the actual CompanyCam API endpoint path. The gateway proxies requests to api.companycam.com/v2 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 CompanyCam 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=companycam&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': 'companycam'}).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\": \"d274cf68-9e76-464c-92e3-ff274c44526e\",\n    \"status\": \"ACTIVE\",\n    \"creation_time\": \"2026-02-12T01:56:32.259046Z\",\n    \"last_updated_time\": \"2026-02-12T01:57:38.944271Z\",\n    \"url\": \"https://connect.maton.ai/?session_token=...\",\n    \"app\": \"companycam\",\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 CompanyCam 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/companycam/v2/projects')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nreq.add_header('Maton-Connection', 'd274cf68-9e76-464c-92e3-ff274c44526e')\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\nCompany\nGet Company\nGET /companycam/v2/company\n\n\nReturns the current company information.\n\nUsers\nGet Current User\nGET /companycam/v2/users/current\n\nList Users\nGET /companycam/v2/users\n\n\nQuery parameters:\n\npage - Page number\nper_page - Results per page (default: 25)\nstatus - Filter by status (active, inactive)\nCreate User\nPOST /companycam/v2/users\nContent-Type: application/json\n\n{\n  \"first_name\": \"John\",\n  \"last_name\": \"Doe\",\n  \"email_address\": \"john@example.com\",\n  \"user_role\": \"standard\"\n}\n\n\nUser roles: admin, standard, limited\n\nGet User\nGET /companycam/v2/users/{id}\n\nUpdate User\nPUT /companycam/v2/users/{id}\nContent-Type: application/json\n\n{\n  \"first_name\": \"John\",\n  \"last_name\": \"Smith\"\n}\n\nDelete User\nDELETE /companycam/v2/users/{id}\n\nProjects\nList Projects\nGET /companycam/v2/projects\n\n\nQuery parameters:\n\npage - Page number\nper_page - Results per page (default: 25)\nquery - Search query\nstatus - Filter by status\nmodified_since - Unix timestamp for filtering\nCreate Project\nPOST /companycam/v2/projects\nContent-Type: application/json\n\n{\n  \"name\": \"New Construction Project\",\n  \"address\": {\n    \"street_address_1\": \"123 Main St\",\n    \"city\": \"Los Angeles\",\n    \"state\": \"CA\",\n    \"postal_code\": \"90210\",\n    \"country\": \"US\"\n  }\n}\n\nGet Project\nGET /companycam/v2/projects/{id}\n\nUpdate Project\nPUT /companycam/v2/projects/{id}\nContent-Type: application/json\n\n{\n  \"name\": \"Updated Project Name\"\n}\n\nDelete Project\nDELETE /companycam/v2/projects/{id}\n\nArchive Project\nPATCH /companycam/v2/projects/{id}/archive\n\nRestore Project\nPUT /companycam/v2/projects/{id}/restore\n\nProject Photos\nList Project Photos\nGET /companycam/v2/projects/{project_id}/photos\n\n\nQuery parameters:\n\npage - Page number\nper_page - Results per page\nstart_date - Filter by start date (Unix timestamp)\nend_date - Filter by end date (Unix timestamp)\nuser_ids - Filter by user IDs\ngroup_ids - Filter by group IDs\ntag_ids - Filter by tag IDs\nAdd Photo to Project\nPOST /companycam/v2/projects/{project_id}/photos\nContent-Type: application/json\n\n{\n  \"uri\": \"https://example.com/photo.jpg\",\n  \"captured_at\": 1609459200,\n  \"coordinates\": {\n    \"lat\": 34.0522,\n    \"lon\": -118.2437\n  },\n  \"tags\": [\"exterior\", \"front\"]\n}\n\nProject Comments\nList Project Comments\nGET /companycam/v2/projects/{project_id}/comments\n\nAdd Project Comment\nPOST /companycam/v2/projects/{project_id}/comments\nContent-Type: application/json\n\n{\n  \"comment\": {\n    \"content\": \"Work completed successfully\"\n  }\n}\n\nProject Labels\nList Project Labels\nGET /companycam/v2/projects/{project_id}/labels\n\nAdd Labels to Project\nPOST /companycam/v2/projects/{project_id}/labels\nContent-Type: application/json\n\n{\n  \"labels\": [\"priority\", \"urgent\"]\n}\n\nDelete Project Label\nDELETE /companycam/v2/projects/{project_id}/labels/{label_id}\n\nProject Documents\nList Project Documents\nGET /companycam/v2/projects/{project_id}/documents\n\nUpload Document\nPOST /companycam/v2/projects/{project_id}/documents\nContent-Type: application/json\n\n{\n  \"uri\": \"https://example.com/document.pdf\",\n  \"name\": \"Contract.pdf\"\n}\n\nProject Checklists\nList Project Checklists\nGET /companycam/v2/projects/{project_id}/checklists\n\nCreate Checklist from Template\nPOST /companycam/v2/projects/{project_id}/checklists\nContent-Type: application/json\n\n{\n  \"checklist_template_id\": \"template_id\"\n}\n\nGet Project Checklist\nGET /companycam/v2/projects/{project_id}/checklists/{checklist_id}\n\nProject Users\nList Assigned Users\nGET /companycam/v2/projects/{project_id}/assigned_users\n\nAssign User to Project\nPUT /companycam/v2/projects/{project_id}/assigned_users/{user_id}\n\nProject Collaborators\nList Collaborators\nGET /companycam/v2/projects/{project_id}/collaborators\n\nPhotos\nList All Photos\nGET /companycam/v2/photos\n\n\nQuery parameters:\n\npage - Page number\nper_page - Results per page\nGet Photo\nGET /companycam/v2/photos/{id}\n\nUpdate Photo\nPUT /companycam/v2/photos/{id}\nContent-Type: application/json\n\n{\n  \"photo\": {\n    \"captured_at\": 1609459200\n  }\n}\n\nDelete Photo\nDELETE /companycam/v2/photos/{id}\n\nList Photo Tags\nGET /companycam/v2/photos/{id}/tags\n\nAdd Tags to Photo\nPOST /companycam/v2/photos/{id}/tags\nContent-Type: application/json\n\n{\n  \"tags\": [\"exterior\", \"completed\"]\n}\n\nList Photo Comments\nGET /companycam/v2/photos/{id}/comments\n\nAdd Photo Comment\nPOST /companycam/v2/photos/{id}/comments\nContent-Type: application/json\n\n{\n  \"comment\": {\n    \"content\": \"Great progress!\"\n  }\n}\n\nTags\nList Tags\nGET /companycam/v2/tags\n\nCreate Tag\nPOST /companycam/v2/tags\nContent-Type: application/json\n\n{\n  \"display_value\": \"Exterior\",\n  \"color\": \"#FF5733\"\n}\n\nGet Tag\nGET /companycam/v2/tags/{id}\n\nUpdate Tag\nPUT /companycam/v2/tags/{id}\nContent-Type: application/json\n\n{\n  \"display_value\": \"Interior\",\n  \"color\": \"#3498DB\"\n}\n\nDelete Tag\nDELETE /companycam/v2/tags/{id}\n\nGroups\nList Groups\nGET /companycam/v2/groups\n\nCreate Group\nPOST /companycam/v2/groups\nContent-Type: application/json\n\n{\n  \"name\": \"Roofing Team\"\n}\n\nGet Group\nGET /companycam/v2/groups/{id}\n\nUpdate Group\nPUT /companycam/v2/groups/{id}\nContent-Type: application/json\n\n{\n  \"name\": \"Updated Team Name\"\n}\n\nDelete Group\nDELETE /companycam/v2/groups/{id}\n\nChecklists\nList All Checklists\nGET /companycam/v2/checklists\n\n\nQuery parameters:\n\npage - Page number\nper_page - Results per page\ncompleted - Filter by completion status (true/false)\nWebhooks\nList Webhooks\nGET /companycam/v2/webhooks\n\nCreate Webhook\nPOST /companycam/v2/webhooks\nContent-Type: application/json\n\n{\n  \"url\": \"https://example.com/webhook\",\n  \"scopes\": [\"project.created\", \"photo.created\"]\n}\n\n\nAvailable scopes:\n\nproject.created\nproject.updated\nproject.deleted\nphoto.created\nphoto.updated\nphoto.deleted\ndocument.created\nlabel.created\nlabel.deleted\nGet Webhook\nGET /companycam/v2/webhooks/{id}\n\nUpdate Webhook\nPUT /companycam/v2/webhooks/{id}\nContent-Type: application/json\n\n{\n  \"url\": \"https://example.com/new-webhook\",\n  \"enabled\": true\n}\n\nDelete Webhook\nDELETE /companycam/v2/webhooks/{id}\n\nPagination\n\nCompanyCam uses page-based pagination:\n\nGET /companycam/v2/projects?page=2&per_page=25\n\n\nQuery parameters:\n\npage - Page number (default: 1)\nper_page - Results per page (default: 25)\nCode Examples\nJavaScript - List Projects\nconst response = await fetch(\n  'https://gateway.maton.ai/companycam/v2/projects?per_page=10',\n  {\n    headers: {\n      'Authorization': `Bearer ${process.env.MATON_API_KEY}`\n    }\n  }\n);\nconst projects = await response.json();\nconsole.log(projects);\n\nPython - List Projects\nimport os\nimport requests\n\nresponse = requests.get(\n    'https://gateway.maton.ai/companycam/v2/projects',\n    headers={'Authorization': f'Bearer {os.environ[\"MATON_API_KEY\"]}'},\n    params={'per_page': 10}\n)\nprojects = response.json()\nfor project in projects:\n    print(f\"{project['name']}: {project['id']}\")\n\nPython - Create Project with Photo\nimport os\nimport requests\n\nheaders = {'Authorization': f'Bearer {os.environ[\"MATON_API_KEY\"]}'}\nbase_url = 'https://gateway.maton.ai/companycam/v2'\n\n# Create project\nproject_response = requests.post(\n    f'{base_url}/projects',\n    headers=headers,\n    json={\n        'name': 'Kitchen Renovation',\n        'address': {\n            'street_address_1': '456 Oak Ave',\n            'city': 'Denver',\n            'state': 'CO',\n            'postal_code': '80202',\n            'country': 'US'\n        }\n    }\n)\nproject = project_response.json()\nprint(f\"Created project: {project['id']}\")\n\n# Add photo to project\nphoto_response = requests.post(\n    f'{base_url}/projects/{project[\"id\"]}/photos',\n    headers=headers,\n    json={\n        'uri': 'https://example.com/kitchen-before.jpg',\n        'tags': ['before', 'kitchen']\n    }\n)\nphoto = photo_response.json()\nprint(f\"Added photo: {photo['id']}\")\n\nNotes\nProject IDs and other IDs are returned as strings\nTimestamps are Unix timestamps (seconds since epoch)\nPhotos can be added via URL (uri parameter)\nComments must be wrapped in a comment object\nWebhooks use scopes parameter (not events)\nUser roles: admin, standard, limited\nIMPORTANT: When using curl commands, use curl -g when URLs contain brackets to disable glob parsing\nIMPORTANT: When piping curl output to jq, environment variables may not expand correctly. Use Python examples instead.\nRate Limits\nOperation\tLimit\nGET requests\t240 per minute\nPOST/PUT/DELETE\t100 per minute\n\nWhen rate limited, the API returns a 429 status code. Implement exponential backoff for retries.\n\nError Handling\nStatus\tMeaning\n400\tBad request or missing CompanyCam connection\n401\tInvalid or missing Maton API key\n404\tResource not found\n422\tValidation error (check error messages)\n429\tRate limited\n4xx/5xx\tPassthrough error from CompanyCam API\nTroubleshooting: API Key Issues\nCheck that the MATON_API_KEY environment variable is set:\necho $MATON_API_KEY\n\nVerify the API key is valid by listing connections:\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://ctrl.maton.ai/connections')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\nTroubleshooting: Invalid App Name\nEnsure your URL path starts with companycam. For example:\nCorrect: https://gateway.maton.ai/companycam/v2/projects\nIncorrect: https://gateway.maton.ai/v2/projects\nResources\nCompanyCam API Documentation\nCompanyCam API Reference\nCompanyCam Getting Started\nMaton Community\nMaton Support"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/byungkyu/companycam",
    "publisherUrl": "https://clawhub.ai/byungkyu/companycam",
    "owner": "byungkyu",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/companycam",
    "downloadUrl": "https://openagent3.xyz/downloads/companycam",
    "agentUrl": "https://openagent3.xyz/skills/companycam/agent",
    "manifestUrl": "https://openagent3.xyz/skills/companycam/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/companycam/agent.md"
  }
}