{
  "schemaVersion": "1.0",
  "item": {
    "slug": "instantly",
    "name": "Instantly",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/byungkyu/instantly",
    "canonicalUrl": "https://clawhub.ai/byungkyu/instantly",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/instantly",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=instantly",
    "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/instantly"
    },
    "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/instantly",
    "agentPageUrl": "https://openagent3.xyz/skills/instantly/agent",
    "manifestUrl": "https://openagent3.xyz/skills/instantly/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/instantly/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": "Instantly",
        "body": "Access the Instantly API v2 with managed authentication. Manage cold email campaigns, leads, sending accounts, and view analytics."
      },
      {
        "title": "Quick Start",
        "body": "# List campaigns\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://gateway.maton.ai/instantly/api/v2/campaigns?limit=10')\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/instantly/{native-api-path}\n\nReplace {native-api-path} with the actual Instantly API endpoint path. The gateway proxies requests to api.instantly.ai and automatically injects your API key."
      },
      {
        "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 Instantly 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=instantly&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': 'instantly'}).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\": \"e4dca622-b9cf-4ed6-b52e-fa681345f5ac\",\n    \"status\": \"ACTIVE\",\n    \"creation_time\": \"2026-02-11T22:19:35.798712Z\",\n    \"last_updated_time\": \"2026-02-11T22:20:15.702846Z\",\n    \"url\": \"https://connect.maton.ai/?session_token=...\",\n    \"app\": \"instantly\",\n    \"metadata\": {}\n  }\n}\n\nOpen the returned url in a browser to complete 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 Instantly 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/instantly/api/v2/campaigns')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nreq.add_header('Maton-Connection', 'e4dca622-b9cf-4ed6-b52e-fa681345f5ac')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\nIf omitted, the gateway uses the default (oldest) active connection."
      },
      {
        "title": "Campaigns",
        "body": "List Campaigns\n\nGET /instantly/api/v2/campaigns?limit=10&status=1&search=keyword\n\nQuery parameters:\n\nlimit - Number of results (default: 10)\nstatus - Campaign status filter (0=draft, 1=active, 2=paused, 3=completed)\nsearch - Search by campaign name\nstarting_after - Cursor for pagination\n\nGet Campaign\n\nGET /instantly/api/v2/campaigns/{campaign_id}\n\nCreate Campaign\n\nPOST /instantly/api/v2/campaigns\nContent-Type: application/json\n\n{\n  \"name\": \"My Campaign\",\n  \"campaign_schedule\": {\n    \"schedules\": [\n      {\n        \"name\": \"My Schedule\",\n        \"timing\": {\n          \"from\": \"09:00\",\n          \"to\": \"17:00\"\n        },\n        \"days\": {\n          \"0\": true,\n          \"1\": true,\n          \"2\": true,\n          \"3\": true,\n          \"4\": true\n        },\n        \"timezone\": \"Etc/GMT+5\"\n      }\n    ]\n  }\n}\n\nNote: Timezone must use Etc/GMT format (e.g., \"Etc/GMT+5\", \"Etc/GMT-8\", \"Etc/GMT+12\").\n\n#### Activate Campaign\n\n```bash\nPOST /instantly/api/v2/campaigns/{campaign_id}/activate\n\nPause Campaign\n\nPOST /instantly/api/v2/campaigns/{campaign_id}/pause\n\nDelete Campaign\n\nDELETE /instantly/api/v2/campaigns/{campaign_id}\n\nSearch Campaigns by Lead Email\n\nGET /instantly/api/v2/campaigns/search-by-contact?search=lead@example.com"
      },
      {
        "title": "Leads",
        "body": "Create Lead\n\nPOST /instantly/api/v2/leads\nContent-Type: application/json\n\n{\n  \"campaign_id\": \"019bb3bd-9963-789e-b776-6c6927ef3f79\",\n  \"email\": \"lead@example.com\",\n  \"first_name\": \"John\",\n  \"last_name\": \"Doe\",\n  \"company_name\": \"Acme Inc\",\n  \"variables\": {\n    \"custom_field\": \"custom_value\"\n  }\n}\n\nBulk Add Leads\n\nPOST /instantly/api/v2/leads\nContent-Type: application/json\n\n{\n  \"campaign_id\": \"019bb3bd-9963-789e-b776-6c6927ef3f79\",\n  \"leads\": [\n    {\n      \"email\": \"lead1@example.com\",\n      \"first_name\": \"John\"\n    },\n    {\n      \"email\": \"lead2@example.com\",\n      \"first_name\": \"Jane\"\n    }\n  ]\n}\n\nList Leads\n\nNote: This is a POST endpoint due to complex filtering requirements.\n\nPOST /instantly/api/v2/leads/list\nContent-Type: application/json\n\n{\n  \"campaign_id\": \"019bb3bd-9963-789e-b776-6c6927ef3f79\",\n  \"limit\": 100\n}\n\nGet Lead\n\nGET /instantly/api/v2/leads/{lead_id}\n\nDelete Lead\n\nDELETE /instantly/api/v2/leads/{lead_id}\n\nMove Leads\n\nPOST /instantly/api/v2/leads/move\nContent-Type: application/json\n\n{\n  \"lead_ids\": [\"lead_id_1\", \"lead_id_2\"],\n  \"to_campaign_id\": \"target_campaign_id\"\n}"
      },
      {
        "title": "Lead Lists",
        "body": "List Lead Lists\n\nGET /instantly/api/v2/lead-lists?limit=10\n\nCreate Lead List\n\nPOST /instantly/api/v2/lead-lists\nContent-Type: application/json\n\n{\n  \"name\": \"My Lead List\"\n}\n\nGet Lead List\n\nGET /instantly/api/v2/lead-lists/{list_id}\n\nUpdate Lead List\n\nPATCH /instantly/api/v2/lead-lists/{list_id}\nContent-Type: application/json\n\n{\n  \"name\": \"Updated List Name\"\n}\n\nDelete Lead List\n\nDELETE /instantly/api/v2/lead-lists/{list_id}"
      },
      {
        "title": "Accounts (Sending Email Accounts)",
        "body": "List Accounts\n\nGET /instantly/api/v2/accounts?limit=10\n\nGet Account\n\nGET /instantly/api/v2/accounts/{email}\n\nCreate Account\n\nPOST /instantly/api/v2/accounts\nContent-Type: application/json\n\n{\n  \"email\": \"sender@example.com\",\n  \"first_name\": \"John\",\n  \"last_name\": \"Doe\",\n  \"provider_code\": \"google\",\n  \"smtp_host\": \"smtp.gmail.com\",\n  \"smtp_port\": 587,\n  \"smtp_username\": \"sender@example.com\",\n  \"smtp_password\": \"app_password\",\n  \"imap_host\": \"imap.gmail.com\",\n  \"imap_port\": 993,\n  \"imap_username\": \"sender@example.com\",\n  \"imap_password\": \"app_password\"\n}\n\nUpdate Account\n\nPATCH /instantly/api/v2/accounts/{email}\nContent-Type: application/json\n\n{\n  \"first_name\": \"Jane\"\n}\n\nDelete Account\n\nDELETE /instantly/api/v2/accounts/{email}\n\nEnable Warmup\n\nPOST /instantly/api/v2/accounts/warmup/enable\nContent-Type: application/json\n\n{\n  \"emails\": [\"account1@example.com\", \"account2@example.com\"]\n}\n\nDisable Warmup\n\nPOST /instantly/api/v2/accounts/warmup/disable\nContent-Type: application/json\n\n{\n  \"emails\": [\"account1@example.com\"]\n}"
      },
      {
        "title": "Emails (Unibox)",
        "body": "List Emails\n\nGET /instantly/api/v2/emails?limit=20\n\nGet Email\n\nGET /instantly/api/v2/emails/{email_id}\n\nReply to Email\n\nPOST /instantly/api/v2/emails/reply\nContent-Type: application/json\n\n{\n  \"reply_to_uuid\": \"email_uuid\",\n  \"body\": \"Thank you for your response!\"\n}\n\nForward Email\n\nPOST /instantly/api/v2/emails/forward\nContent-Type: application/json\n\n{\n  \"email_uuid\": \"email_uuid\",\n  \"to\": \"forward@example.com\"\n}\n\nMark Thread as Read\n\nPOST /instantly/api/v2/emails/threads/{thread_id}/mark-as-read\n\nGet Unread Count\n\nGET /instantly/api/v2/emails/unread/count\n\nUpdate Email\n\nPATCH /instantly/api/v2/emails/{email_id}\nContent-Type: application/json\n\n{\n  \"is_read\": true\n}\n\nDelete Email\n\nDELETE /instantly/api/v2/emails/{email_id}"
      },
      {
        "title": "Analytics",
        "body": "Get Campaign Analytics\n\nGET /instantly/api/v2/campaigns/analytics?id={campaign_id}\n\nQuery parameters:\n\nid - Campaign ID (leave empty for all campaigns)\nstart_date - Filter start date (YYYY-MM-DD)\nend_date - Filter end date (YYYY-MM-DD)\nexclude_total_leads_count - Set to true for faster response\n\nGet Campaign Analytics Overview\n\nGET /instantly/api/v2/campaigns/analytics/overview?id={campaign_id}\n\nGet Daily Campaign Analytics\n\nGET /instantly/api/v2/campaigns/analytics/daily?id={campaign_id}\n\nGet Campaign Step Analytics\n\nGET /instantly/api/v2/campaigns/analytics/steps?id={campaign_id}\n\nGet Warmup Analytics\n\nPOST /instantly/api/v2/accounts/warmup/analytics\nContent-Type: application/json\n\n{\n  \"emails\": [\"account@example.com\"]\n}"
      },
      {
        "title": "Block List",
        "body": "List Block List Entries\n\nGET /instantly/api/v2/block-lists-entries?limit=100\n\nQuery parameters:\n\ndomains_only - Filter to domain entries only\nsearch - Search entries\n\nCreate Block List Entry\n\nPOST /instantly/api/v2/block-lists-entries\nContent-Type: application/json\n\n{\n  \"bl_value\": \"blocked@example.com\"\n}\n\nOr block a domain:\n\nPOST /instantly/api/v2/block-lists-entries\nContent-Type: application/json\n\n{\n  \"bl_value\": \"blockeddomain.com\"\n}\n\nDelete Block List Entry\n\nDELETE /instantly/api/v2/block-lists-entries/{entry_id}"
      },
      {
        "title": "Email Verification",
        "body": "Verify Email\n\nGET /instantly/api/v2/email-verification/{email}\n\nIf verification takes longer than 10 seconds, status will be pending. Poll this endpoint to check status.\n\nResponse fields:\n\nverification_status - Use this field (not status) to determine verification result"
      },
      {
        "title": "Background Jobs",
        "body": "Get Background Job Status\n\nGET /instantly/api/v2/background-jobs/{job_id}\n\nQuery parameters:\n\ndata_fields - Comma-separated fields (e.g., success_count,failed_count,total_to_process)"
      },
      {
        "title": "Workspace",
        "body": "Get Current Workspace\n\nGET /instantly/api/v2/workspaces/current"
      },
      {
        "title": "Custom Tags",
        "body": "Toggle Tag on Resource\n\nPOST /instantly/api/v2/custom-tags/toggle-resource\nContent-Type: application/json\n\n{\n  \"tag_id\": \"tag_uuid\",\n  \"resource_id\": \"campaign_or_account_id\",\n  \"resource_type\": \"campaign\"\n}"
      },
      {
        "title": "Pagination",
        "body": "Instantly uses cursor-based pagination with limit and starting_after:\n\nGET /instantly/api/v2/campaigns?limit=10&starting_after=cursor_value\n\nResponse includes pagination info:\n\n{\n  \"items\": [...],\n  \"next_starting_after\": \"cursor_for_next_page\"\n}\n\nUse next_starting_after value in the next request's starting_after parameter."
      },
      {
        "title": "JavaScript",
        "body": "const response = await fetch(\n  'https://gateway.maton.ai/instantly/api/v2/campaigns?limit=10',\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/instantly/api/v2/campaigns',\n    headers={'Authorization': f'Bearer {os.environ[\"MATON_API_KEY\"]}'},\n    params={'limit': 10}\n)\ndata = response.json()"
      },
      {
        "title": "Notes",
        "body": "Instantly API v2 uses snake_case for all field names\nLead custom variables must be string, number, boolean, or null (no objects/arrays)\nThe List Leads endpoint is POST (not GET) due to complex filtering requirements\nCampaign status values: 0=draft, 1=active, 2=paused, 3=completed\nEmail verification may return pending status if it takes longer than 10 seconds\nWarmup operations return background job IDs - poll the background jobs endpoint for status\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": "Error Handling",
        "body": "StatusMeaning400Missing Instantly connection or invalid request401Invalid or missing Maton API key403Insufficient API key scopes429Rate limited4xx/5xxPassthrough error from Instantly 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 instantly. For example:\n\nCorrect: https://gateway.maton.ai/instantly/api/v2/campaigns\nIncorrect: https://gateway.maton.ai/api/v2/campaigns"
      },
      {
        "title": "Resources",
        "body": "Instantly API V2 Documentation\nInstantly API Introduction\nInstantly Help Center\nMaton Community\nMaton Support"
      }
    ],
    "body": "Instantly\n\nAccess the Instantly API v2 with managed authentication. Manage cold email campaigns, leads, sending accounts, and view analytics.\n\nQuick Start\n# List campaigns\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://gateway.maton.ai/instantly/api/v2/campaigns?limit=10')\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/instantly/{native-api-path}\n\n\nReplace {native-api-path} with the actual Instantly API endpoint path. The gateway proxies requests to api.instantly.ai and automatically injects your API key.\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 Instantly 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=instantly&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': 'instantly'}).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\": \"e4dca622-b9cf-4ed6-b52e-fa681345f5ac\",\n    \"status\": \"ACTIVE\",\n    \"creation_time\": \"2026-02-11T22:19:35.798712Z\",\n    \"last_updated_time\": \"2026-02-11T22:20:15.702846Z\",\n    \"url\": \"https://connect.maton.ai/?session_token=...\",\n    \"app\": \"instantly\",\n    \"metadata\": {}\n  }\n}\n\n\nOpen the returned url in a browser to complete 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 Instantly 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/instantly/api/v2/campaigns')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nreq.add_header('Maton-Connection', 'e4dca622-b9cf-4ed6-b52e-fa681345f5ac')\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\nCampaigns\nList Campaigns\nGET /instantly/api/v2/campaigns?limit=10&status=1&search=keyword\n\n\nQuery parameters:\n\nlimit - Number of results (default: 10)\nstatus - Campaign status filter (0=draft, 1=active, 2=paused, 3=completed)\nsearch - Search by campaign name\nstarting_after - Cursor for pagination\nGet Campaign\nGET /instantly/api/v2/campaigns/{campaign_id}\n\nCreate Campaign\nPOST /instantly/api/v2/campaigns\nContent-Type: application/json\n\n{\n  \"name\": \"My Campaign\",\n  \"campaign_schedule\": {\n    \"schedules\": [\n      {\n        \"name\": \"My Schedule\",\n        \"timing\": {\n          \"from\": \"09:00\",\n          \"to\": \"17:00\"\n        },\n        \"days\": {\n          \"0\": true,\n          \"1\": true,\n          \"2\": true,\n          \"3\": true,\n          \"4\": true\n        },\n        \"timezone\": \"Etc/GMT+5\"\n      }\n    ]\n  }\n}\n\n\nNote: Timezone must use Etc/GMT format (e.g., \"Etc/GMT+5\", \"Etc/GMT-8\", \"Etc/GMT+12\").\n\n\n#### Activate Campaign\n\n```bash\nPOST /instantly/api/v2/campaigns/{campaign_id}/activate\n\nPause Campaign\nPOST /instantly/api/v2/campaigns/{campaign_id}/pause\n\nDelete Campaign\nDELETE /instantly/api/v2/campaigns/{campaign_id}\n\nSearch Campaigns by Lead Email\nGET /instantly/api/v2/campaigns/search-by-contact?search=lead@example.com\n\nLeads\nCreate Lead\nPOST /instantly/api/v2/leads\nContent-Type: application/json\n\n{\n  \"campaign_id\": \"019bb3bd-9963-789e-b776-6c6927ef3f79\",\n  \"email\": \"lead@example.com\",\n  \"first_name\": \"John\",\n  \"last_name\": \"Doe\",\n  \"company_name\": \"Acme Inc\",\n  \"variables\": {\n    \"custom_field\": \"custom_value\"\n  }\n}\n\nBulk Add Leads\nPOST /instantly/api/v2/leads\nContent-Type: application/json\n\n{\n  \"campaign_id\": \"019bb3bd-9963-789e-b776-6c6927ef3f79\",\n  \"leads\": [\n    {\n      \"email\": \"lead1@example.com\",\n      \"first_name\": \"John\"\n    },\n    {\n      \"email\": \"lead2@example.com\",\n      \"first_name\": \"Jane\"\n    }\n  ]\n}\n\nList Leads\n\nNote: This is a POST endpoint due to complex filtering requirements.\n\nPOST /instantly/api/v2/leads/list\nContent-Type: application/json\n\n{\n  \"campaign_id\": \"019bb3bd-9963-789e-b776-6c6927ef3f79\",\n  \"limit\": 100\n}\n\nGet Lead\nGET /instantly/api/v2/leads/{lead_id}\n\nDelete Lead\nDELETE /instantly/api/v2/leads/{lead_id}\n\nMove Leads\nPOST /instantly/api/v2/leads/move\nContent-Type: application/json\n\n{\n  \"lead_ids\": [\"lead_id_1\", \"lead_id_2\"],\n  \"to_campaign_id\": \"target_campaign_id\"\n}\n\nLead Lists\nList Lead Lists\nGET /instantly/api/v2/lead-lists?limit=10\n\nCreate Lead List\nPOST /instantly/api/v2/lead-lists\nContent-Type: application/json\n\n{\n  \"name\": \"My Lead List\"\n}\n\nGet Lead List\nGET /instantly/api/v2/lead-lists/{list_id}\n\nUpdate Lead List\nPATCH /instantly/api/v2/lead-lists/{list_id}\nContent-Type: application/json\n\n{\n  \"name\": \"Updated List Name\"\n}\n\nDelete Lead List\nDELETE /instantly/api/v2/lead-lists/{list_id}\n\nAccounts (Sending Email Accounts)\nList Accounts\nGET /instantly/api/v2/accounts?limit=10\n\nGet Account\nGET /instantly/api/v2/accounts/{email}\n\nCreate Account\nPOST /instantly/api/v2/accounts\nContent-Type: application/json\n\n{\n  \"email\": \"sender@example.com\",\n  \"first_name\": \"John\",\n  \"last_name\": \"Doe\",\n  \"provider_code\": \"google\",\n  \"smtp_host\": \"smtp.gmail.com\",\n  \"smtp_port\": 587,\n  \"smtp_username\": \"sender@example.com\",\n  \"smtp_password\": \"app_password\",\n  \"imap_host\": \"imap.gmail.com\",\n  \"imap_port\": 993,\n  \"imap_username\": \"sender@example.com\",\n  \"imap_password\": \"app_password\"\n}\n\nUpdate Account\nPATCH /instantly/api/v2/accounts/{email}\nContent-Type: application/json\n\n{\n  \"first_name\": \"Jane\"\n}\n\nDelete Account\nDELETE /instantly/api/v2/accounts/{email}\n\nEnable Warmup\nPOST /instantly/api/v2/accounts/warmup/enable\nContent-Type: application/json\n\n{\n  \"emails\": [\"account1@example.com\", \"account2@example.com\"]\n}\n\nDisable Warmup\nPOST /instantly/api/v2/accounts/warmup/disable\nContent-Type: application/json\n\n{\n  \"emails\": [\"account1@example.com\"]\n}\n\nEmails (Unibox)\nList Emails\nGET /instantly/api/v2/emails?limit=20\n\nGet Email\nGET /instantly/api/v2/emails/{email_id}\n\nReply to Email\nPOST /instantly/api/v2/emails/reply\nContent-Type: application/json\n\n{\n  \"reply_to_uuid\": \"email_uuid\",\n  \"body\": \"Thank you for your response!\"\n}\n\nForward Email\nPOST /instantly/api/v2/emails/forward\nContent-Type: application/json\n\n{\n  \"email_uuid\": \"email_uuid\",\n  \"to\": \"forward@example.com\"\n}\n\nMark Thread as Read\nPOST /instantly/api/v2/emails/threads/{thread_id}/mark-as-read\n\nGet Unread Count\nGET /instantly/api/v2/emails/unread/count\n\nUpdate Email\nPATCH /instantly/api/v2/emails/{email_id}\nContent-Type: application/json\n\n{\n  \"is_read\": true\n}\n\nDelete Email\nDELETE /instantly/api/v2/emails/{email_id}\n\nAnalytics\nGet Campaign Analytics\nGET /instantly/api/v2/campaigns/analytics?id={campaign_id}\n\n\nQuery parameters:\n\nid - Campaign ID (leave empty for all campaigns)\nstart_date - Filter start date (YYYY-MM-DD)\nend_date - Filter end date (YYYY-MM-DD)\nexclude_total_leads_count - Set to true for faster response\nGet Campaign Analytics Overview\nGET /instantly/api/v2/campaigns/analytics/overview?id={campaign_id}\n\nGet Daily Campaign Analytics\nGET /instantly/api/v2/campaigns/analytics/daily?id={campaign_id}\n\nGet Campaign Step Analytics\nGET /instantly/api/v2/campaigns/analytics/steps?id={campaign_id}\n\nGet Warmup Analytics\nPOST /instantly/api/v2/accounts/warmup/analytics\nContent-Type: application/json\n\n{\n  \"emails\": [\"account@example.com\"]\n}\n\nBlock List\nList Block List Entries\nGET /instantly/api/v2/block-lists-entries?limit=100\n\n\nQuery parameters:\n\ndomains_only - Filter to domain entries only\nsearch - Search entries\nCreate Block List Entry\nPOST /instantly/api/v2/block-lists-entries\nContent-Type: application/json\n\n{\n  \"bl_value\": \"blocked@example.com\"\n}\n\n\nOr block a domain:\n\nPOST /instantly/api/v2/block-lists-entries\nContent-Type: application/json\n\n{\n  \"bl_value\": \"blockeddomain.com\"\n}\n\nDelete Block List Entry\nDELETE /instantly/api/v2/block-lists-entries/{entry_id}\n\nEmail Verification\nVerify Email\nGET /instantly/api/v2/email-verification/{email}\n\n\nIf verification takes longer than 10 seconds, status will be pending. Poll this endpoint to check status.\n\nResponse fields:\n\nverification_status - Use this field (not status) to determine verification result\nBackground Jobs\nGet Background Job Status\nGET /instantly/api/v2/background-jobs/{job_id}\n\n\nQuery parameters:\n\ndata_fields - Comma-separated fields (e.g., success_count,failed_count,total_to_process)\nWorkspace\nGet Current Workspace\nGET /instantly/api/v2/workspaces/current\n\nCustom Tags\nToggle Tag on Resource\nPOST /instantly/api/v2/custom-tags/toggle-resource\nContent-Type: application/json\n\n{\n  \"tag_id\": \"tag_uuid\",\n  \"resource_id\": \"campaign_or_account_id\",\n  \"resource_type\": \"campaign\"\n}\n\nPagination\n\nInstantly uses cursor-based pagination with limit and starting_after:\n\nGET /instantly/api/v2/campaigns?limit=10&starting_after=cursor_value\n\n\nResponse includes pagination info:\n\n{\n  \"items\": [...],\n  \"next_starting_after\": \"cursor_for_next_page\"\n}\n\n\nUse next_starting_after value in the next request's starting_after parameter.\n\nCode Examples\nJavaScript\nconst response = await fetch(\n  'https://gateway.maton.ai/instantly/api/v2/campaigns?limit=10',\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/instantly/api/v2/campaigns',\n    headers={'Authorization': f'Bearer {os.environ[\"MATON_API_KEY\"]}'},\n    params={'limit': 10}\n)\ndata = response.json()\n\nNotes\nInstantly API v2 uses snake_case for all field names\nLead custom variables must be string, number, boolean, or null (no objects/arrays)\nThe List Leads endpoint is POST (not GET) due to complex filtering requirements\nCampaign status values: 0=draft, 1=active, 2=paused, 3=completed\nEmail verification may return pending status if it takes longer than 10 seconds\nWarmup operations return background job IDs - poll the background jobs endpoint for status\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.\nError Handling\nStatus\tMeaning\n400\tMissing Instantly connection or invalid request\n401\tInvalid or missing Maton API key\n403\tInsufficient API key scopes\n429\tRate limited\n4xx/5xx\tPassthrough error from Instantly 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 instantly. For example:\nCorrect: https://gateway.maton.ai/instantly/api/v2/campaigns\nIncorrect: https://gateway.maton.ai/api/v2/campaigns\nResources\nInstantly API V2 Documentation\nInstantly API Introduction\nInstantly Help Center\nMaton Community\nMaton Support"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/byungkyu/instantly",
    "publisherUrl": "https://clawhub.ai/byungkyu/instantly",
    "owner": "byungkyu",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/instantly",
    "downloadUrl": "https://openagent3.xyz/downloads/instantly",
    "agentUrl": "https://openagent3.xyz/skills/instantly/agent",
    "manifestUrl": "https://openagent3.xyz/skills/instantly/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/instantly/agent.md"
  }
}