{
  "schemaVersion": "1.0",
  "item": {
    "slug": "pipedrive-api",
    "name": "Pipedrive",
    "source": "tencent",
    "type": "skill",
    "category": "效率提升",
    "sourceUrl": "https://clawhub.ai/byungkyu/pipedrive-api",
    "canonicalUrl": "https://clawhub.ai/byungkyu/pipedrive-api",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/pipedrive-api",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=pipedrive-api",
    "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/pipedrive-api"
    },
    "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/pipedrive-api",
    "agentPageUrl": "https://openagent3.xyz/skills/pipedrive-api/agent",
    "manifestUrl": "https://openagent3.xyz/skills/pipedrive-api/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/pipedrive-api/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": "Pipedrive",
        "body": "Access the Pipedrive API with managed OAuth authentication. Manage deals, persons, organizations, activities, pipelines, and more for sales CRM workflows."
      },
      {
        "title": "Quick Start",
        "body": "# List deals\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://gateway.maton.ai/pipedrive/api/v1/deals')\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/pipedrive/{native-api-path}\n\nReplace {native-api-path} with the actual Pipedrive API endpoint path. The gateway proxies requests to api.pipedrive.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 Pipedrive 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=pipedrive&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': 'pipedrive'}).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\": \"pipedrive\",\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 Pipedrive 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/pipedrive/api/v1/deals')\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": "Deals",
        "body": "List Deals\n\nGET /pipedrive/api/v1/deals\n\nQuery parameters:\n\nstatus - Filter by status: open, won, lost, deleted, all_not_deleted\nfilter_id - Filter ID to use\nstage_id - Filter by stage\nuser_id - Filter by user\nstart - Pagination start (default 0)\nlimit - Items per page (default 100)\nsort - Sort field and order (e.g., add_time DESC)\n\nExample:\n\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://gateway.maton.ai/pipedrive/api/v1/deals?status=open&limit=50')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\nGet Deal\n\nGET /pipedrive/api/v1/deals/{id}\n\nCreate Deal\n\nPOST /pipedrive/api/v1/deals\nContent-Type: application/json\n\n{\n  \"title\": \"New Enterprise Deal\",\n  \"value\": 50000,\n  \"currency\": \"USD\",\n  \"person_id\": 123,\n  \"org_id\": 456,\n  \"stage_id\": 1,\n  \"expected_close_date\": \"2025-06-30\"\n}\n\nUpdate Deal\n\nPUT /pipedrive/api/v1/deals/{id}\nContent-Type: application/json\n\n{\n  \"title\": \"Updated Deal Title\",\n  \"value\": 75000,\n  \"status\": \"won\"\n}\n\nDelete Deal\n\nDELETE /pipedrive/api/v1/deals/{id}\n\nSearch Deals\n\nGET /pipedrive/api/v1/deals/search?term=enterprise"
      },
      {
        "title": "Persons (Contacts)",
        "body": "List Persons\n\nGET /pipedrive/api/v1/persons\n\nQuery parameters:\n\nfilter_id - Filter ID\nstart - Pagination start\nlimit - Items per page\nsort - Sort field and order\n\nGet Person\n\nGET /pipedrive/api/v1/persons/{id}\n\nCreate Person\n\nPOST /pipedrive/api/v1/persons\nContent-Type: application/json\n\n{\n  \"name\": \"John Doe\",\n  \"email\": [\"john@example.com\"],\n  \"phone\": [\"+1234567890\"],\n  \"org_id\": 456,\n  \"visible_to\": 3\n}\n\nUpdate Person\n\nPUT /pipedrive/api/v1/persons/{id}\nContent-Type: application/json\n\n{\n  \"name\": \"John Smith\",\n  \"email\": [\"john.smith@example.com\"]\n}\n\nDelete Person\n\nDELETE /pipedrive/api/v1/persons/{id}\n\nSearch Persons\n\nGET /pipedrive/api/v1/persons/search?term=john"
      },
      {
        "title": "Organizations",
        "body": "List Organizations\n\nGET /pipedrive/api/v1/organizations\n\nGet Organization\n\nGET /pipedrive/api/v1/organizations/{id}\n\nCreate Organization\n\nPOST /pipedrive/api/v1/organizations\nContent-Type: application/json\n\n{\n  \"name\": \"Acme Corporation\",\n  \"address\": \"123 Main St, City, Country\",\n  \"visible_to\": 3\n}\n\nUpdate Organization\n\nPUT /pipedrive/api/v1/organizations/{id}\nContent-Type: application/json\n\n{\n  \"name\": \"Acme Corp International\"\n}\n\nDelete Organization\n\nDELETE /pipedrive/api/v1/organizations/{id}"
      },
      {
        "title": "Activities",
        "body": "List Activities\n\nGET /pipedrive/api/v1/activities\n\nQuery parameters:\n\ntype - Activity type (e.g., call, meeting, task, email)\ndone - Filter by completion (0 or 1)\nuser_id - Filter by user\nstart_date - Filter by start date\nend_date - Filter by end date\n\nGet Activity\n\nGET /pipedrive/api/v1/activities/{id}\n\nCreate Activity\n\nPOST /pipedrive/api/v1/activities\nContent-Type: application/json\n\n{\n  \"subject\": \"Follow-up call\",\n  \"type\": \"call\",\n  \"due_date\": \"2025-03-15\",\n  \"due_time\": \"14:00\",\n  \"duration\": \"00:30\",\n  \"deal_id\": 789,\n  \"person_id\": 123,\n  \"note\": \"Discuss contract terms\"\n}\n\nUpdate Activity\n\nPUT /pipedrive/api/v1/activities/{id}\nContent-Type: application/json\n\n{\n  \"done\": 1,\n  \"note\": \"Completed - customer agreed to terms\"\n}\n\nDelete Activity\n\nDELETE /pipedrive/api/v1/activities/{id}"
      },
      {
        "title": "Pipelines",
        "body": "List Pipelines\n\nGET /pipedrive/api/v1/pipelines\n\nGet Pipeline\n\nGET /pipedrive/api/v1/pipelines/{id}"
      },
      {
        "title": "Stages",
        "body": "List Stages\n\nGET /pipedrive/api/v1/stages\n\nQuery parameters:\n\npipeline_id - Filter by pipeline\n\nGet Stage\n\nGET /pipedrive/api/v1/stages/{id}"
      },
      {
        "title": "Notes",
        "body": "List Notes\n\nGET /pipedrive/api/v1/notes\n\nQuery parameters:\n\ndeal_id - Filter by deal\nperson_id - Filter by person\norg_id - Filter by organization\n\nCreate Note\n\nPOST /pipedrive/api/v1/notes\nContent-Type: application/json\n\n{\n  \"content\": \"Meeting notes: Discussed pricing and timeline\",\n  \"deal_id\": 789,\n  \"pinned_to_deal_flag\": 1\n}"
      },
      {
        "title": "Users",
        "body": "List Users\n\nGET /pipedrive/api/v1/users\n\nGet Current User\n\nGET /pipedrive/api/v1/users/me"
      },
      {
        "title": "JavaScript",
        "body": "const headers = {\n  'Authorization': `Bearer ${process.env.MATON_API_KEY}`\n};\n\n// List open deals\nconst deals = await fetch(\n  'https://gateway.maton.ai/pipedrive/api/v1/deals?status=open',\n  { headers }\n).then(r => r.json());\n\n// Create a deal\nawait fetch(\n  'https://gateway.maton.ai/pipedrive/api/v1/deals',\n  {\n    method: 'POST',\n    headers: { ...headers, 'Content-Type': 'application/json' },\n    body: JSON.stringify({\n      title: 'New Deal',\n      value: 10000,\n      currency: 'USD'\n    })\n  }\n);"
      },
      {
        "title": "Python",
        "body": "import os\nimport requests\n\nheaders = {'Authorization': f'Bearer {os.environ[\"MATON_API_KEY\"]}'}\n\n# List open deals\ndeals = requests.get(\n    'https://gateway.maton.ai/pipedrive/api/v1/deals',\n    headers=headers,\n    params={'status': 'open'}\n).json()\n\n# Create a deal\nresponse = requests.post(\n    'https://gateway.maton.ai/pipedrive/api/v1/deals',\n    headers=headers,\n    json={\n        'title': 'New Deal',\n        'value': 10000,\n        'currency': 'USD'\n    }\n)"
      },
      {
        "title": "Notes",
        "body": "IDs are integers\nEmail and phone fields accept arrays for multiple values\nvisible_to values: 1 (owner only), 3 (entire company), 5 (owner's visibility group), 7 (entire company and visibility group)\nDeal status: open, won, lost, deleted\nUse start and limit for pagination\nCustom fields are supported via their API key (e.g., abc123_custom_field)\nIMPORTANT: When using curl commands, use curl -g when URLs contain brackets (fields[], sort[], records[]) 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. You may get \"Invalid API key\" errors when piping."
      },
      {
        "title": "Error Handling",
        "body": "StatusMeaning400Missing Pipedrive connection401Invalid or missing Maton API key404Resource not found429Rate limited (10 req/sec per account)4xx/5xxPassthrough error from Pipedrive 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 pipedrive. For example:\n\nCorrect: https://gateway.maton.ai/pipedrive/api/v1/deals\nIncorrect: https://gateway.maton.ai/api/v1/deals"
      },
      {
        "title": "Resources",
        "body": "Pipedrive API Overview\nDeals\nPersons\nOrganizations\nActivities\nPipelines\nStages\nNotes\nMaton Community\nMaton Support"
      }
    ],
    "body": "Pipedrive\n\nAccess the Pipedrive API with managed OAuth authentication. Manage deals, persons, organizations, activities, pipelines, and more for sales CRM workflows.\n\nQuick Start\n# List deals\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://gateway.maton.ai/pipedrive/api/v1/deals')\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/pipedrive/{native-api-path}\n\n\nReplace {native-api-path} with the actual Pipedrive API endpoint path. The gateway proxies requests to api.pipedrive.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 Pipedrive 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=pipedrive&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': 'pipedrive'}).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\": \"pipedrive\",\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 Pipedrive 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/pipedrive/api/v1/deals')\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\nDeals\nList Deals\nGET /pipedrive/api/v1/deals\n\n\nQuery parameters:\n\nstatus - Filter by status: open, won, lost, deleted, all_not_deleted\nfilter_id - Filter ID to use\nstage_id - Filter by stage\nuser_id - Filter by user\nstart - Pagination start (default 0)\nlimit - Items per page (default 100)\nsort - Sort field and order (e.g., add_time DESC)\n\nExample:\n\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://gateway.maton.ai/pipedrive/api/v1/deals?status=open&limit=50')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\nGet Deal\nGET /pipedrive/api/v1/deals/{id}\n\nCreate Deal\nPOST /pipedrive/api/v1/deals\nContent-Type: application/json\n\n{\n  \"title\": \"New Enterprise Deal\",\n  \"value\": 50000,\n  \"currency\": \"USD\",\n  \"person_id\": 123,\n  \"org_id\": 456,\n  \"stage_id\": 1,\n  \"expected_close_date\": \"2025-06-30\"\n}\n\nUpdate Deal\nPUT /pipedrive/api/v1/deals/{id}\nContent-Type: application/json\n\n{\n  \"title\": \"Updated Deal Title\",\n  \"value\": 75000,\n  \"status\": \"won\"\n}\n\nDelete Deal\nDELETE /pipedrive/api/v1/deals/{id}\n\nSearch Deals\nGET /pipedrive/api/v1/deals/search?term=enterprise\n\nPersons (Contacts)\nList Persons\nGET /pipedrive/api/v1/persons\n\n\nQuery parameters:\n\nfilter_id - Filter ID\nstart - Pagination start\nlimit - Items per page\nsort - Sort field and order\nGet Person\nGET /pipedrive/api/v1/persons/{id}\n\nCreate Person\nPOST /pipedrive/api/v1/persons\nContent-Type: application/json\n\n{\n  \"name\": \"John Doe\",\n  \"email\": [\"john@example.com\"],\n  \"phone\": [\"+1234567890\"],\n  \"org_id\": 456,\n  \"visible_to\": 3\n}\n\nUpdate Person\nPUT /pipedrive/api/v1/persons/{id}\nContent-Type: application/json\n\n{\n  \"name\": \"John Smith\",\n  \"email\": [\"john.smith@example.com\"]\n}\n\nDelete Person\nDELETE /pipedrive/api/v1/persons/{id}\n\nSearch Persons\nGET /pipedrive/api/v1/persons/search?term=john\n\nOrganizations\nList Organizations\nGET /pipedrive/api/v1/organizations\n\nGet Organization\nGET /pipedrive/api/v1/organizations/{id}\n\nCreate Organization\nPOST /pipedrive/api/v1/organizations\nContent-Type: application/json\n\n{\n  \"name\": \"Acme Corporation\",\n  \"address\": \"123 Main St, City, Country\",\n  \"visible_to\": 3\n}\n\nUpdate Organization\nPUT /pipedrive/api/v1/organizations/{id}\nContent-Type: application/json\n\n{\n  \"name\": \"Acme Corp International\"\n}\n\nDelete Organization\nDELETE /pipedrive/api/v1/organizations/{id}\n\nActivities\nList Activities\nGET /pipedrive/api/v1/activities\n\n\nQuery parameters:\n\ntype - Activity type (e.g., call, meeting, task, email)\ndone - Filter by completion (0 or 1)\nuser_id - Filter by user\nstart_date - Filter by start date\nend_date - Filter by end date\nGet Activity\nGET /pipedrive/api/v1/activities/{id}\n\nCreate Activity\nPOST /pipedrive/api/v1/activities\nContent-Type: application/json\n\n{\n  \"subject\": \"Follow-up call\",\n  \"type\": \"call\",\n  \"due_date\": \"2025-03-15\",\n  \"due_time\": \"14:00\",\n  \"duration\": \"00:30\",\n  \"deal_id\": 789,\n  \"person_id\": 123,\n  \"note\": \"Discuss contract terms\"\n}\n\nUpdate Activity\nPUT /pipedrive/api/v1/activities/{id}\nContent-Type: application/json\n\n{\n  \"done\": 1,\n  \"note\": \"Completed - customer agreed to terms\"\n}\n\nDelete Activity\nDELETE /pipedrive/api/v1/activities/{id}\n\nPipelines\nList Pipelines\nGET /pipedrive/api/v1/pipelines\n\nGet Pipeline\nGET /pipedrive/api/v1/pipelines/{id}\n\nStages\nList Stages\nGET /pipedrive/api/v1/stages\n\n\nQuery parameters:\n\npipeline_id - Filter by pipeline\nGet Stage\nGET /pipedrive/api/v1/stages/{id}\n\nNotes\nList Notes\nGET /pipedrive/api/v1/notes\n\n\nQuery parameters:\n\ndeal_id - Filter by deal\nperson_id - Filter by person\norg_id - Filter by organization\nCreate Note\nPOST /pipedrive/api/v1/notes\nContent-Type: application/json\n\n{\n  \"content\": \"Meeting notes: Discussed pricing and timeline\",\n  \"deal_id\": 789,\n  \"pinned_to_deal_flag\": 1\n}\n\nUsers\nList Users\nGET /pipedrive/api/v1/users\n\nGet Current User\nGET /pipedrive/api/v1/users/me\n\nCode Examples\nJavaScript\nconst headers = {\n  'Authorization': `Bearer ${process.env.MATON_API_KEY}`\n};\n\n// List open deals\nconst deals = await fetch(\n  'https://gateway.maton.ai/pipedrive/api/v1/deals?status=open',\n  { headers }\n).then(r => r.json());\n\n// Create a deal\nawait fetch(\n  'https://gateway.maton.ai/pipedrive/api/v1/deals',\n  {\n    method: 'POST',\n    headers: { ...headers, 'Content-Type': 'application/json' },\n    body: JSON.stringify({\n      title: 'New Deal',\n      value: 10000,\n      currency: 'USD'\n    })\n  }\n);\n\nPython\nimport os\nimport requests\n\nheaders = {'Authorization': f'Bearer {os.environ[\"MATON_API_KEY\"]}'}\n\n# List open deals\ndeals = requests.get(\n    'https://gateway.maton.ai/pipedrive/api/v1/deals',\n    headers=headers,\n    params={'status': 'open'}\n).json()\n\n# Create a deal\nresponse = requests.post(\n    'https://gateway.maton.ai/pipedrive/api/v1/deals',\n    headers=headers,\n    json={\n        'title': 'New Deal',\n        'value': 10000,\n        'currency': 'USD'\n    }\n)\n\nNotes\nIDs are integers\nEmail and phone fields accept arrays for multiple values\nvisible_to values: 1 (owner only), 3 (entire company), 5 (owner's visibility group), 7 (entire company and visibility group)\nDeal status: open, won, lost, deleted\nUse start and limit for pagination\nCustom fields are supported via their API key (e.g., abc123_custom_field)\nIMPORTANT: When using curl commands, use curl -g when URLs contain brackets (fields[], sort[], records[]) 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. You may get \"Invalid API key\" errors when piping.\nError Handling\nStatus\tMeaning\n400\tMissing Pipedrive connection\n401\tInvalid or missing Maton API key\n404\tResource not found\n429\tRate limited (10 req/sec per account)\n4xx/5xx\tPassthrough error from Pipedrive 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 pipedrive. For example:\nCorrect: https://gateway.maton.ai/pipedrive/api/v1/deals\nIncorrect: https://gateway.maton.ai/api/v1/deals\nResources\nPipedrive API Overview\nDeals\nPersons\nOrganizations\nActivities\nPipelines\nStages\nNotes\nMaton Community\nMaton Support"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/byungkyu/pipedrive-api",
    "publisherUrl": "https://clawhub.ai/byungkyu/pipedrive-api",
    "owner": "byungkyu",
    "version": "1.0.3",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/pipedrive-api",
    "downloadUrl": "https://openagent3.xyz/downloads/pipedrive-api",
    "agentUrl": "https://openagent3.xyz/skills/pipedrive-api/agent",
    "manifestUrl": "https://openagent3.xyz/skills/pipedrive-api/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/pipedrive-api/agent.md"
  }
}