跳转到主要内容
GET
Start connecting an account
Reddit:暂不可用,敬请期待。 请勿以 platform=reddit 调用本接口,包括携带 reconnectAccountId 的重新连接。Reddit 账号连接暂不可用;收到 channel_unavailable 后请暂停 Reddit 连接尝试,等待服务恢复,即使响应中含有 retryable: true 或 retryHint: after_delay。下方通用接口的 enabled 状态不代表每个平台均可连接。详见平台可用性说明。其它平台及独立的 Reddit 数据接口不受此提示影响。

请求规范

  • 方法与路径: GET /apis/v1/social/connect/{platform}
  • 可用状态: enabled
  • 请求 URL 模板: https://api.aisa.one/apis/v1/social/connect/{platform}
  • profileId: query; 可选
  • redirectUrl: query; 可选
  • reconnectAccountId: query; 可选
  • platform: path; 必填
完整 OpenAPI 定义 有效请求声明(包括认证和引用的 schema):

费用与请求规则

此操作不另收费。

授权

Authorization
string
header
必填

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

路径参数

platform
string
必填

查询参数

profileId
string

A prf_ id.

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

https URL on the caller's allowlist; the browser returns here with connectSessionId and accountId or error. Defaults to the AIsa result page.

reconnectAccountId
string

A acc_ id.

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

响应

Success

authUrl
string | null
connectSessionId
string | null
Pattern: ^cs_[0-9A-Za-z]{22}$
expiresAt
string<date-time> | null