跳转到主要内容
GET
Chat List
返回会话列表(ChatList),支持 cursor 分页。刚连接账号时上游增量同步可能未完成,最近会话可能要等几分钟才出现。 当前价格请查看费用说明;支持报价的接口可按实际请求获取报价。

请求规范

  • 方法与路径: GET /apis/v1/unipile/linkedin/chats
  • 可用状态: enabled
  • 请求 URL 模板: https://api.aisa.one/apis/v1/unipile/linkedin/chats
  • account_id: query; 可选
  • account_type: query; 可选
  • after: query; 可选
  • before: query; 可选
  • cursor: query; 可选
  • limit: query; 可选
  • unread: query; 可选
完整 OpenAPI 定义 有效请求声明(包括认证和引用的 schema):

费用与请求规则

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

授权

Authorization
string
header
必填

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

查询参数

account_id
string

A filter to target items related to a certain account. Can be a comma-separated list of ids. An Unipile account id or a list of Unipile account ids separated by commas.

Minimum string length: 1
account_type
enum<string>

A filter to target items related to a certain provider.

可用选项:
WHATSAPP,
LINKEDIN,
SLACK,
TWITTER,
MESSENGER,
INSTAGRAM,
TELEGRAM
after
string

A filter to target items created after the datetime (exclusive). Must be an ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).

Pattern: ^[1-2]\d{3}-[0-1]\d-[0-3]\dT\d{2}:\d{2}:\d{2}.\d{3}Z$
示例:

"2025-12-31T23:59:59.999Z"

before
string

A filter to target items created before the datetime (exclusive). Must be an ISO 8601 UTC datetime (YYYY-MM-DDTHH:MM:SS.sssZ).

Pattern: ^[1-2]\d{3}-[0-1]\d-[0-3]\dT\d{2}:\d{2}:\d{2}.\d{3}Z$
示例:

"2025-12-31T23:59:59.999Z"

cursor
string

A cursor for pagination purposes. To get the next page of entries, you need to make a new request and fulfill this field with the cursor received in the preceding request. This process should be repeated until all entries have been retrieved.

Minimum string length: 1
limit
integer

A limit for the number of items returned in the response. The value can be set between 1 and 250.

必填范围: 1 <= x <= 250
示例:

100

unread
boolean

Whether you want to get either unread chats only, or read chats only.

响应

OK. Request succeeded.

cursor
any
必填
items
object[]
必填
object
enum<string>
必填
可用选项:
ChatList