跳转到主要内容
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; 可选
完整 OpenAPI 定义 有效请求声明(包括认证和引用的 schema):

费用与请求规则

此操作不另收费。

授权

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