跳转到主要内容
GET
List conversations

请求规范

  • 方法与路径: GET /apis/v1/social/inbox/conversations
  • 可用状态: enabled
  • 请求 URL 模板: https://api.aisa.one/apis/v1/social/inbox/conversations
  • profileId: query; 可选
  • platform: query; 可选
  • status: query; 可选
  • folder: query; 可选
  • sortOrder: query; 可选
  • limit: query; 可选
  • cursor: query; 可选
  • accountId: query; 可选
  • tags: query; 可选
  • Runtime 事实版本: 99acb5bddbedc8d3352e7c4fef86c3e6d8852c14772bcd18dbcf415237a642bd
完整 OpenAPI 定义 有效请求与价格声明(包括认证和引用的 schema):

费用与请求规则

当前未提供请求参考价格;请使用接口支持的报价功能确认费用。 最终费用以账户适用价格及实际结算为准。 公开参考值不是你的账户报价或最终扣费。对于支持 X-AISA-Cost-Mode: quote 的接口,执行前请针对完整请求获取免费报价;执行后通过响应费用元数据和 Usage Logs 核对结算费用。1 USD 等于 1,000,000 个整数 micro-USD。

授权

Authorization
string
header
必填

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

查询参数

profileId
string

One of your profiles (prf_...). Defaults to your default profile when neither profileId nor accountId is sent.

Pattern: ^prf_[0-9A-Za-z]{22}$
platform
enum<string>

Filter by platform

可用选项:
facebook,
instagram,
twitter,
bluesky,
reddit,
telegram,
whatsapp,
imessage,
sms
status
enum<string>

Filter by conversation status

可用选项:
active,
archived
folder
enum<string>
默认值:inbox

requests lists Facebook Page Message Requests (threads from people the account has not accepted) live from Meta, each item with folder: requests.

Meta has no accept call: replying moves a thread to the inbox, which is what POST /apis/v1/social/inbox/conversations/{conversationId}/accept does.

  • When Meta will not list the folder for the one account asked (accountId), the call answers 400 PLATFORM_LIMITATION. Across several accounts, the refusal is reported per account in meta.failedAccounts.
  • Instagram accounts (Instagram Login and Facebook Login) answer PLATFORM_LIMITATION, because Meta does not separate the folder on Instagram. Only Facebook Pages are served.

One page of up to limit threads. pagination.hasMore is true when threads past limit were cut (narrow with accountId). pagination.nextCursor is always null and a cursor answers 400.

可用选项:
inbox,
requests
sortOrder
enum<string>
默认值:desc

Sort order by updated time

可用选项:
asc,
desc
limit
integer
默认值:50

Maximum number of conversations to return; values above 100 are served as 100.

必填范围: 1 <= x <= 100
cursor
string

Pagination cursor for next page

accountId
string

One of your social accounts (acc_...).

Pattern: ^acc_[0-9A-Za-z]{22}$
tags
string

Comma-separated contact tags. Returns only conversations whose contact has any of them. Cannot be combined with folder=requests.

响应

Aggregated conversations

data
object[]
meta
object
pagination
object