查询 Connect 账号
GET/api/v2/connect/accounts
返回当前用户已连接的 Email、LinkedIn 和 WhatsApp 账号。创建触达任务前,先通过本接口取得可用的 account_id。
Query 参数
请求示例
cURLcurl "https://revor.ai/api/v2/connect/accounts?channel=linkedin&can_send=true" \ -H "Authorization: Bearer sk-revor-REPLACE_ME"
响应示例
JSON{ "ok": true, "request_id": "req_xxx", "items": [ { "account_id": "connect_account_xxx", "channel": "linkedin", "name": "LinkedIn Account", "account_identifier": "https://www.linkedin.com/in/example/", "status": "ok", "lifecycle_status": "active", "can_send": true, "can_receive": true } ] }
status=credentials 表示账号需要更新凭证或重新连接;status=error 表示账号暂不可用。发起触达时应选择 can_send=true 的账号。