跳转到主要内容
GET
Get agent setup status

请求规范

  • 方法与路径: GET /apis/v1/social/messaging/business-agent
  • 可用状态: enabled
  • 请求 URL 模板: https://api.aisa.one/apis/v1/social/messaging/business-agent
  • connectionId: query; 必填
完整 OpenAPI 定义 有效请求声明(包括认证和引用的 schema):

费用与请求规则

此操作不另收费。

授权

Authorization
string
header
必填

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

查询参数

connectionId
string
必填

Your messaging connection (msc_...), from GET /apis/v1/social/messaging/connections.

Pattern: ^msc_[0-9A-Za-z]+$

响应

Success

Where the merchant is in the Meta Business Agent setup for this number.

agentId
string | null
必填
eligible
boolean | null
必填

Whether the number can run the agent; null when the terms are not accepted yet (Meta refuses the check).

enabled
boolean
必填

The agent answers live conversations.

manualSteps
object[]
必填
onboarded
boolean
必填

An agent exists on the number (onboard was called).

settings
object | null
必填

Meta Business Agent settings for one WhatsApp number, as Meta returns them.

termsAccepted
boolean
必填

False when Meta rejects calls because the merchant has not accepted the terms in WhatsApp Manager.

unverifiedSteps
object[]
必填

Steps Meta keeps outside the API and exposes no state for, listed once an agent exists.