{
  "schemaVersion": "1.0",
  "item": {
    "slug": "lemlist",
    "name": "Lemlist",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/byungkyu/lemlist",
    "canonicalUrl": "https://clawhub.ai/byungkyu/lemlist",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/lemlist",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=lemlist",
    "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/lemlist"
    },
    "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/lemlist",
    "agentPageUrl": "https://openagent3.xyz/skills/lemlist/agent",
    "manifestUrl": "https://openagent3.xyz/skills/lemlist/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/lemlist/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": "Lemlist",
        "body": "Access the Lemlist API with managed OAuth authentication. Manage campaigns, leads, activities, schedules, sequences, and unsubscribes for sales automation and cold outreach."
      },
      {
        "title": "Quick Start",
        "body": "# List campaigns\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://gateway.maton.ai/lemlist/api/campaigns')\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/lemlist/api/{resource}\n\nReplace {resource} with the actual Lemlist API endpoint path. The gateway proxies requests to api.lemlist.com/api 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 Lemlist 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=lemlist&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': 'lemlist'}).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\": \"3ecf268f-42ad-40cc-b77a-25e020fbf591\",\n    \"status\": \"ACTIVE\",\n    \"creation_time\": \"2026-02-12T02:00:53.023887Z\",\n    \"last_updated_time\": \"2026-02-12T02:01:45.284131Z\",\n    \"url\": \"https://connect.maton.ai/?session_token=...\",\n    \"app\": \"lemlist\",\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 Lemlist 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/lemlist/api/campaigns')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nreq.add_header('Maton-Connection', '3ecf268f-42ad-40cc-b77a-25e020fbf591')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\nIf omitted, the gateway uses the default (oldest) active connection."
      },
      {
        "title": "Team",
        "body": "Get Team\n\nGET /lemlist/api/team\n\nReturns team information including user IDs and settings.\n\nGet Team Credits\n\nGET /lemlist/api/team/credits\n\nReturns remaining credits balance.\n\nGet Team Senders\n\nGET /lemlist/api/team/senders\n\nReturns all team members and their associated campaigns."
      },
      {
        "title": "Campaigns",
        "body": "List Campaigns\n\nGET /lemlist/api/campaigns\n\nCreate Campaign\n\nPOST /lemlist/api/campaigns\nContent-Type: application/json\n\n{\n  \"name\": \"My Campaign\"\n}\n\nCreates a new campaign with an empty sequence and default schedule automatically added.\n\nGet Campaign\n\nGET /lemlist/api/campaigns/{campaignId}\n\nUpdate Campaign\n\nPATCH /lemlist/api/campaigns/{campaignId}\nContent-Type: application/json\n\n{\n  \"name\": \"Updated Campaign Name\"\n}\n\nPause Campaign\n\nPOST /lemlist/api/campaigns/{campaignId}/pause\n\nPauses a running campaign."
      },
      {
        "title": "Campaign Sequences",
        "body": "Get Campaign Sequences\n\nGET /lemlist/api/campaigns/{campaignId}/sequences\n\nReturns all sequences and steps for a campaign."
      },
      {
        "title": "Campaign Schedules",
        "body": "Get Campaign Schedules\n\nGET /lemlist/api/campaigns/{campaignId}/schedules\n\nReturns all schedules associated with a campaign."
      },
      {
        "title": "Leads",
        "body": "Add Lead to Campaign\n\nPOST /lemlist/api/campaigns/{campaignId}/leads\nContent-Type: application/json\n\n{\n  \"email\": \"lead@example.com\",\n  \"firstName\": \"John\",\n  \"lastName\": \"Doe\",\n  \"companyName\": \"Acme Inc\"\n}\n\nCreates a new lead and adds it to the campaign. If the lead already exists, it will be inserted into the campaign.\n\nGet Lead by Email\n\nGET /lemlist/api/leads/{email}\n\nUpdate Lead in Campaign\n\nPATCH /lemlist/api/campaigns/{campaignId}/leads/{email}\nContent-Type: application/json\n\n{\n  \"firstName\": \"Jane\",\n  \"lastName\": \"Smith\"\n}\n\nDelete Lead from Campaign\n\nDELETE /lemlist/api/campaigns/{campaignId}/leads/{email}"
      },
      {
        "title": "Activities",
        "body": "List Activities\n\nGET /lemlist/api/activities\n\nReturns the history of campaign activities (last 100 activities).\n\nQuery parameters:\n\ncampaignId - Filter by campaign\ntype - Filter by activity type (emailsSent, emailsOpened, emailsClicked, etc.)"
      },
      {
        "title": "Schedules",
        "body": "List Schedules\n\nGET /lemlist/api/schedules\n\nReturns all schedules with pagination.\n\nResponse:\n\n{\n  \"schedules\": [...],\n  \"pagination\": {\n    \"totalRecords\": 10,\n    \"currentPage\": 1,\n    \"nextPage\": 2,\n    \"totalPage\": 2\n  }\n}\n\nCreate Schedule\n\nPOST /lemlist/api/schedules\nContent-Type: application/json\n\n{\n  \"name\": \"Business Hours\",\n  \"timezone\": \"America/New_York\",\n  \"start\": \"09:00\",\n  \"end\": \"17:00\",\n  \"weekdays\": [1, 2, 3, 4, 5]\n}\n\nWeekdays: 0 = Sunday, 1 = Monday, ..., 6 = Saturday\n\nGet Schedule\n\nGET /lemlist/api/schedules/{scheduleId}\n\nUpdate Schedule\n\nPATCH /lemlist/api/schedules/{scheduleId}\nContent-Type: application/json\n\n{\n  \"name\": \"Updated Schedule\",\n  \"start\": \"08:00\",\n  \"end\": \"18:00\"\n}\n\nDelete Schedule\n\nDELETE /lemlist/api/schedules/{scheduleId}"
      },
      {
        "title": "Companies",
        "body": "List Companies\n\nGET /lemlist/api/companies\n\nReturns companies with pagination.\n\nResponse:\n\n{\n  \"data\": [...],\n  \"total\": 100\n}"
      },
      {
        "title": "Unsubscribes",
        "body": "List Unsubscribes\n\nGET /lemlist/api/unsubscribes\n\nReturns all unsubscribed emails and domains.\n\nAdd Unsubscribe\n\nPOST /lemlist/api/unsubscribes\nContent-Type: application/json\n\n{\n  \"email\": \"unsubscribe@example.com\"\n}\n\nCan also add domains by using a domain value."
      },
      {
        "title": "Inbox Labels",
        "body": "List Labels\n\nGET /lemlist/api/inbox/labels\n\nReturns all labels available to the team."
      },
      {
        "title": "Pagination",
        "body": "Lemlist uses page-based pagination with different formats depending on the endpoint:\n\nSchedules format:\n\n{\n  \"schedules\": [...],\n  \"pagination\": {\n    \"totalRecords\": 100,\n    \"currentPage\": 1,\n    \"nextPage\": 2,\n    \"totalPage\": 10\n  }\n}\n\nCompanies format:\n\n{\n  \"data\": [...],\n  \"total\": 100\n}"
      },
      {
        "title": "JavaScript - List Campaigns",
        "body": "const response = await fetch(\n  'https://gateway.maton.ai/lemlist/api/campaigns',\n  {\n    headers: {\n      'Authorization': `Bearer ${process.env.MATON_API_KEY}`\n    }\n  }\n);\nconst campaigns = await response.json();\nconsole.log(campaigns);"
      },
      {
        "title": "Python - List Campaigns",
        "body": "import os\nimport requests\n\nresponse = requests.get(\n    'https://gateway.maton.ai/lemlist/api/campaigns',\n    headers={'Authorization': f'Bearer {os.environ[\"MATON_API_KEY\"]}'}\n)\ncampaigns = response.json()\nfor campaign in campaigns:\n    print(f\"{campaign['name']}: {campaign['_id']}\")"
      },
      {
        "title": "Python - Create Campaign and Add Lead",
        "body": "import os\nimport requests\n\nheaders = {'Authorization': f'Bearer {os.environ[\"MATON_API_KEY\"]}'}\nbase_url = 'https://gateway.maton.ai/lemlist/api'\n\n# Create campaign\ncampaign_response = requests.post(\n    f'{base_url}/campaigns',\n    headers=headers,\n    json={'name': 'Q1 Outreach'}\n)\ncampaign = campaign_response.json()\nprint(f\"Created campaign: {campaign['_id']}\")\n\n# Add lead to campaign\nlead_response = requests.post(\n    f'{base_url}/campaigns/{campaign[\"_id\"]}/leads',\n    headers=headers,\n    json={\n        'email': 'prospect@example.com',\n        'firstName': 'John',\n        'lastName': 'Doe',\n        'companyName': 'Acme Corp'\n    }\n)\nlead = lead_response.json()\nprint(f\"Added lead: {lead['_id']}\")"
      },
      {
        "title": "Notes",
        "body": "Campaign IDs start with cam_\nLead IDs start with lea_\nSchedule IDs start with skd_\nSequence IDs start with seq_\nTeam IDs start with tea_\nUser IDs start with usr_\nCampaigns cannot be deleted via API (only paused)\nWhen creating a campaign, an empty sequence and default schedule are automatically added\nLead emails are used as identifiers for lead operations\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": "OperationLimitAPI calls20 per 2 seconds per API key\n\nWhen rate limited, implement exponential backoff for retries."
      },
      {
        "title": "Error Handling",
        "body": "StatusMeaning400Bad request or missing Lemlist connection401Invalid or missing Maton API key404Resource not found405Method not allowed422Validation error429Rate limited4xx/5xxPassthrough error from Lemlist 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 lemlist. For example:\n\nCorrect: https://gateway.maton.ai/lemlist/api/campaigns\nIncorrect: https://gateway.maton.ai/api/campaigns"
      },
      {
        "title": "Resources",
        "body": "Lemlist API Documentation\nLemlist API Reference\nLemlist Help Center - API\nMaton Community\nMaton Support"
      }
    ],
    "body": "Lemlist\n\nAccess the Lemlist API with managed OAuth authentication. Manage campaigns, leads, activities, schedules, sequences, and unsubscribes for sales automation and cold outreach.\n\nQuick Start\n# List campaigns\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://gateway.maton.ai/lemlist/api/campaigns')\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/lemlist/api/{resource}\n\n\nReplace {resource} with the actual Lemlist API endpoint path. The gateway proxies requests to api.lemlist.com/api 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 Lemlist 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=lemlist&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': 'lemlist'}).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\": \"3ecf268f-42ad-40cc-b77a-25e020fbf591\",\n    \"status\": \"ACTIVE\",\n    \"creation_time\": \"2026-02-12T02:00:53.023887Z\",\n    \"last_updated_time\": \"2026-02-12T02:01:45.284131Z\",\n    \"url\": \"https://connect.maton.ai/?session_token=...\",\n    \"app\": \"lemlist\",\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 Lemlist 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/lemlist/api/campaigns')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nreq.add_header('Maton-Connection', '3ecf268f-42ad-40cc-b77a-25e020fbf591')\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\nTeam\nGet Team\nGET /lemlist/api/team\n\n\nReturns team information including user IDs and settings.\n\nGet Team Credits\nGET /lemlist/api/team/credits\n\n\nReturns remaining credits balance.\n\nGet Team Senders\nGET /lemlist/api/team/senders\n\n\nReturns all team members and their associated campaigns.\n\nCampaigns\nList Campaigns\nGET /lemlist/api/campaigns\n\nCreate Campaign\nPOST /lemlist/api/campaigns\nContent-Type: application/json\n\n{\n  \"name\": \"My Campaign\"\n}\n\n\nCreates a new campaign with an empty sequence and default schedule automatically added.\n\nGet Campaign\nGET /lemlist/api/campaigns/{campaignId}\n\nUpdate Campaign\nPATCH /lemlist/api/campaigns/{campaignId}\nContent-Type: application/json\n\n{\n  \"name\": \"Updated Campaign Name\"\n}\n\nPause Campaign\nPOST /lemlist/api/campaigns/{campaignId}/pause\n\n\nPauses a running campaign.\n\nCampaign Sequences\nGet Campaign Sequences\nGET /lemlist/api/campaigns/{campaignId}/sequences\n\n\nReturns all sequences and steps for a campaign.\n\nCampaign Schedules\nGet Campaign Schedules\nGET /lemlist/api/campaigns/{campaignId}/schedules\n\n\nReturns all schedules associated with a campaign.\n\nLeads\nAdd Lead to Campaign\nPOST /lemlist/api/campaigns/{campaignId}/leads\nContent-Type: application/json\n\n{\n  \"email\": \"lead@example.com\",\n  \"firstName\": \"John\",\n  \"lastName\": \"Doe\",\n  \"companyName\": \"Acme Inc\"\n}\n\n\nCreates a new lead and adds it to the campaign. If the lead already exists, it will be inserted into the campaign.\n\nGet Lead by Email\nGET /lemlist/api/leads/{email}\n\nUpdate Lead in Campaign\nPATCH /lemlist/api/campaigns/{campaignId}/leads/{email}\nContent-Type: application/json\n\n{\n  \"firstName\": \"Jane\",\n  \"lastName\": \"Smith\"\n}\n\nDelete Lead from Campaign\nDELETE /lemlist/api/campaigns/{campaignId}/leads/{email}\n\nActivities\nList Activities\nGET /lemlist/api/activities\n\n\nReturns the history of campaign activities (last 100 activities).\n\nQuery parameters:\n\ncampaignId - Filter by campaign\ntype - Filter by activity type (emailsSent, emailsOpened, emailsClicked, etc.)\nSchedules\nList Schedules\nGET /lemlist/api/schedules\n\n\nReturns all schedules with pagination.\n\nResponse:\n\n{\n  \"schedules\": [...],\n  \"pagination\": {\n    \"totalRecords\": 10,\n    \"currentPage\": 1,\n    \"nextPage\": 2,\n    \"totalPage\": 2\n  }\n}\n\nCreate Schedule\nPOST /lemlist/api/schedules\nContent-Type: application/json\n\n{\n  \"name\": \"Business Hours\",\n  \"timezone\": \"America/New_York\",\n  \"start\": \"09:00\",\n  \"end\": \"17:00\",\n  \"weekdays\": [1, 2, 3, 4, 5]\n}\n\n\nWeekdays: 0 = Sunday, 1 = Monday, ..., 6 = Saturday\n\nGet Schedule\nGET /lemlist/api/schedules/{scheduleId}\n\nUpdate Schedule\nPATCH /lemlist/api/schedules/{scheduleId}\nContent-Type: application/json\n\n{\n  \"name\": \"Updated Schedule\",\n  \"start\": \"08:00\",\n  \"end\": \"18:00\"\n}\n\nDelete Schedule\nDELETE /lemlist/api/schedules/{scheduleId}\n\nCompanies\nList Companies\nGET /lemlist/api/companies\n\n\nReturns companies with pagination.\n\nResponse:\n\n{\n  \"data\": [...],\n  \"total\": 100\n}\n\nUnsubscribes\nList Unsubscribes\nGET /lemlist/api/unsubscribes\n\n\nReturns all unsubscribed emails and domains.\n\nAdd Unsubscribe\nPOST /lemlist/api/unsubscribes\nContent-Type: application/json\n\n{\n  \"email\": \"unsubscribe@example.com\"\n}\n\n\nCan also add domains by using a domain value.\n\nInbox Labels\nList Labels\nGET /lemlist/api/inbox/labels\n\n\nReturns all labels available to the team.\n\nPagination\n\nLemlist uses page-based pagination with different formats depending on the endpoint:\n\nSchedules format:\n\n{\n  \"schedules\": [...],\n  \"pagination\": {\n    \"totalRecords\": 100,\n    \"currentPage\": 1,\n    \"nextPage\": 2,\n    \"totalPage\": 10\n  }\n}\n\n\nCompanies format:\n\n{\n  \"data\": [...],\n  \"total\": 100\n}\n\nCode Examples\nJavaScript - List Campaigns\nconst response = await fetch(\n  'https://gateway.maton.ai/lemlist/api/campaigns',\n  {\n    headers: {\n      'Authorization': `Bearer ${process.env.MATON_API_KEY}`\n    }\n  }\n);\nconst campaigns = await response.json();\nconsole.log(campaigns);\n\nPython - List Campaigns\nimport os\nimport requests\n\nresponse = requests.get(\n    'https://gateway.maton.ai/lemlist/api/campaigns',\n    headers={'Authorization': f'Bearer {os.environ[\"MATON_API_KEY\"]}'}\n)\ncampaigns = response.json()\nfor campaign in campaigns:\n    print(f\"{campaign['name']}: {campaign['_id']}\")\n\nPython - Create Campaign and Add Lead\nimport os\nimport requests\n\nheaders = {'Authorization': f'Bearer {os.environ[\"MATON_API_KEY\"]}'}\nbase_url = 'https://gateway.maton.ai/lemlist/api'\n\n# Create campaign\ncampaign_response = requests.post(\n    f'{base_url}/campaigns',\n    headers=headers,\n    json={'name': 'Q1 Outreach'}\n)\ncampaign = campaign_response.json()\nprint(f\"Created campaign: {campaign['_id']}\")\n\n# Add lead to campaign\nlead_response = requests.post(\n    f'{base_url}/campaigns/{campaign[\"_id\"]}/leads',\n    headers=headers,\n    json={\n        'email': 'prospect@example.com',\n        'firstName': 'John',\n        'lastName': 'Doe',\n        'companyName': 'Acme Corp'\n    }\n)\nlead = lead_response.json()\nprint(f\"Added lead: {lead['_id']}\")\n\nNotes\nCampaign IDs start with cam_\nLead IDs start with lea_\nSchedule IDs start with skd_\nSequence IDs start with seq_\nTeam IDs start with tea_\nUser IDs start with usr_\nCampaigns cannot be deleted via API (only paused)\nWhen creating a campaign, an empty sequence and default schedule are automatically added\nLead emails are used as identifiers for lead operations\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\nAPI calls\t20 per 2 seconds per API key\n\nWhen rate limited, implement exponential backoff for retries.\n\nError Handling\nStatus\tMeaning\n400\tBad request or missing Lemlist connection\n401\tInvalid or missing Maton API key\n404\tResource not found\n405\tMethod not allowed\n422\tValidation error\n429\tRate limited\n4xx/5xx\tPassthrough error from Lemlist 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 lemlist. For example:\nCorrect: https://gateway.maton.ai/lemlist/api/campaigns\nIncorrect: https://gateway.maton.ai/api/campaigns\nResources\nLemlist API Documentation\nLemlist API Reference\nLemlist Help Center - API\nMaton Community\nMaton Support"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/byungkyu/lemlist",
    "publisherUrl": "https://clawhub.ai/byungkyu/lemlist",
    "owner": "byungkyu",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/lemlist",
    "downloadUrl": "https://openagent3.xyz/downloads/lemlist",
    "agentUrl": "https://openagent3.xyz/skills/lemlist/agent",
    "manifestUrl": "https://openagent3.xyz/skills/lemlist/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/lemlist/agent.md"
  }
}