返回顶部
i

instantly瞬间

|

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
1,380
下载量
免费
免费
4
收藏
概述
安装方式
版本历史

instantly

Instantly

通过托管身份验证访问 Instantly API v2。管理冷邮件营销活动、潜在客户、发送账户并查看分析数据。

快速开始

bash

列出营销活动


python < import urllib.request, os, json
req = urllib.request.Request(https://gateway.maton.ai/instantly/api/v2/campaigns?limit=10)
req.addheader(Authorization, fBearer {os.environ[MATONAPI_KEY]})
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF

基础 URL

https://gateway.maton.ai/instantly/{native-api-path}

将 {native-api-path} 替换为实际的 Instantly API 端点路径。网关将请求代理到 api.instantly.ai 并自动注入您的 API 密钥。

身份验证

所有请求都需要在 Authorization 标头中包含 Maton API 密钥:

Authorization: Bearer $MATONAPIKEY

环境变量: 将您的 API 密钥设置为 MATONAPIKEY:

bash
export MATONAPIKEY=YOURAPIKEY

获取您的 API 密钥

  1. 1. 在 maton.ai 登录或创建账户
  2. 前往 maton.ai/settings
  3. 复制您的 API 密钥

连接管理

在 https://ctrl.maton.ai 管理您的 Instantly 连接。

列出连接

bash
python < import urllib.request, os, json
req = urllib.request.Request(https://ctrl.maton.ai/connections?app=instantly&status=ACTIVE)
req.addheader(Authorization, fBearer {os.environ[MATONAPI_KEY]})
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF

创建连接

bash
python < import urllib.request, os, json
data = json.dumps({app: instantly}).encode()
req = urllib.request.Request(https://ctrl.maton.ai/connections, data=data, method=POST)
req.addheader(Authorization, fBearer {os.environ[MATONAPI_KEY]})
req.add_header(Content-Type, application/json)
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF

获取连接

bash
python < import urllib.request, os, json
req = urllib.request.Request(https://ctrl.maton.ai/connections/{connection_id})
req.addheader(Authorization, fBearer {os.environ[MATONAPI_KEY]})
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF

响应:
json
{
connection: {
connection_id: e4dca622-b9cf-4ed6-b52e-fa681345f5ac,
status: ACTIVE,
creation_time: 2026-02-11T22:19:35.798712Z,
lastupdatedtime: 2026-02-11T22:20:15.702846Z,
url: https://connect.maton.ai/?session_token=...,
app: instantly,
metadata: {}
}
}

在浏览器中打开返回的 url 以完成授权。

删除连接

bash
python < import urllib.request, os, json
req = urllib.request.Request(https://ctrl.maton.ai/connections/{connection_id}, method=DELETE)
req.addheader(Authorization, fBearer {os.environ[MATONAPI_KEY]})
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF

指定连接

如果您有多个 Instantly 连接,请使用 Maton-Connection 标头指定要使用的连接:

bash
python < import urllib.request, os, json
req = urllib.request.Request(https://gateway.maton.ai/instantly/api/v2/campaigns)
req.addheader(Authorization, fBearer {os.environ[MATONAPI_KEY]})
req.add_header(Maton-Connection, e4dca622-b9cf-4ed6-b52e-fa681345f5ac)
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF

如果省略,网关将使用默认(最旧)的活动连接。

API 参考

营销活动

列出营销活动

bash
GET /instantly/api/v2/campaigns?limit=10&status=1&search=keyword

查询参数:

  • - limit - 结果数量(默认:10)
  • status - 营销活动状态筛选(0=草稿,1=活跃,2=暂停,3=已完成)
  • search - 按营销活动名称搜索
  • starting_after - 分页游标

获取营销活动

bash
GET /instantly/api/v2/campaigns/{campaign_id}

创建营销活动

bash
POST /instantly/api/v2/campaigns
Content-Type: application/json

{
name: 我的营销活动,
campaign_schedule: {
schedules: [
{
name: 我的日程,
timing: {
from: 09:00,
to: 17:00
},
days: {
0: true,
1: true,
2: true,
3: true,
4: true
},
timezone: Etc/GMT+5
}
]
}
}

注意:时区必须使用 Etc/GMT 格式(例如,Etc/GMT+5、Etc/GMT-8、Etc/GMT+12)。

激活营销活动

bash
POST /instantly/api/v2/campaigns/{campaign_id}/activate

暂停营销活动

bash
POST /instantly/api/v2/campaigns/{campaign_id}/pause

删除营销活动

bash
DELETE /instantly/api/v2/campaigns/{campaign_id}

按潜在客户邮箱搜索营销活动

bash
GET /instantly/api/v2/campaigns/search-by-contact?search=lead@example.com

潜在客户

创建潜在客户

bash
POST /instantly/api/v2/leads
Content-Type: application/json

{
campaign_id: 019bb3bd-9963-789e-b776-6c6927ef3f79,
email: lead@example.com,
first_name: John,
last_name: Doe,
company_name: Acme Inc,
variables: {
customfield: customvalue
}
}

批量添加潜在客户

bash
POST /instantly/api/v2/leads
Content-Type: application/json

{
campaign_id: 019bb3bd-9963-789e-b776-6c6927ef3f79,
leads: [
{
email: lead1@example.com,
first_name: John
},
{
email: lead2@example.com,
first_name: Jane
}
]
}

列出潜在客户

注意:由于复杂的筛选需求,这是一个 POST 端点。

bash
POST /instantly/api/v2/leads/list
Content-Type: application/json

{
campaign_id: 019bb3bd-9963-789e-b776-6c6927ef3f79,
limit: 100
}

获取潜在客户

bash
GET /instantly/api/v2/leads/{lead_id}

删除潜在客户

bash
DELETE /instantly/api/v2/leads/{lead_id}

移动潜在客户

bash
POST /instantly/api/v2/leads/move
Content-Type: application/json

{
leadids: [leadid1, leadid_2],
tocampaignid: targetcampaignid
}

潜在客户列表

列出潜在客户列表

bash
GET /instantly/api/v2/lead-lists?limit=10

创建潜在客户列表

bash
POST /instantly/api/v2/lead-lists
Content-Type: application/json

{
name: 我的潜在客户列表
}

获取潜在客户列表

bash
GET /instantly/api/v2/lead-lists/{list_id}

更新潜在客户列表

bash
PATCH /instantly/api/v2/lead-lists/{list_id}
Content-Type: application/json

{
name: 更新后的列表名称

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 instantly-1776420058 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 instantly-1776420058 技能

通过命令行安装

skillhub install instantly-1776420058

下载

⬇ 下载 instantly v1.0.0(免费)

文件大小: 5.38 KB | 发布时间: 2026-4-17 19:31

v1.0.0 最新 2026-4-17 19:31
Initial release – Instantly API integration with managed OAuth.

- Allows management of cold email campaigns, leads, lead lists, sending accounts, and analytics via Instantly API v2.
- Supports secure API access through the Maton gateway with managed OAuth and environment-based API key authentication.
- Includes instructions and example code for listing, creating, updating, and deleting campaigns, leads, lead lists, and accounts.
- Provides connection management endpoints for handling multiple Instantly integrations and specifying active connections.
- Designed for users looking to automate and manage their cold outreach workflows programmatically.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部