跳转到主要内容
POST
Connection Request
向指定成员发送 LinkedIn 建联邀请——这是触达「尚未建立连接」的人的正确端点,不受 Start Chat 对非人脉的订阅限制。邀请被接受后对方进入一度人脉列表,即可正常发起会话。收件人用 provider id(ACoAA…)标识,可先用「用户资料」端点把 satyanadella 这类公共标识解析出来。所有参数(含 account_id)都放 JSON body。返回的 invitation_id 可用「撤回邀请」端点撤回。写操作:LinkedIn 按账号限制每天约 80–100 个邀请;连接历史较少的新账号可能被禁止发送邀请。 当前价格请查看费用说明;支持报价的接口可按实际请求获取报价。

请求规范

  • 方法与路径: POST /apis/v1/unipile/linkedin/connection-requests/send
  • 可用状态: enabled
  • 请求 URL 模板: https://api.aisa.one/apis/v1/unipile/linkedin/connection-requests/send
完整 OpenAPI 定义 有效请求声明(包括认证和引用的 schema):

费用与请求规则

公开参考价格:每次成功请求 $0.02 USD。 账户适用价格可能不同;支持报价的接口可按实际请求获取报价。

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

请求体

application/json
account_id
string
必填

The id of the account where the user will be added.

provider_id
string
必填

The id of the user to add. It has to be the provider’s id. LinkedIn Classic: inviting the connected account's own profile returns HTTP 422 (errors/cannot_invite_attendee).
Instagram: You can use the provider_id or the username of the user. The provider_messaging_id dont work on this route !

message
string

An optional message to go with the invitation (max 300 chars).

Maximum string length: 300
user_email
string<emailLike>

The email address of the user when it's required (Linkedin specific).

响应

OK. Request succeeded.

invitation_id
string
必填
object
enum<string>
必填
可用选项:
UserInvitationSent
usage
number

A percentage of query usage based on the limit set by the provider. Triggers only on passing a new landing (50, 75, 90, 95).