account

What the acct on an Agent link says about whoever opened it; answers signed-out visitors too.

get/account/acct-hint

Request

  • Base URL
    https://api.beatra.ai (the document declares no server; this is the origin it was published from)
  • Auth
    none declared

Query parameters

ref, string nullable

Headers

authorization, string nullable

Response

Successful Response

AcctHintResponse required

What an Agent link's acct says about whoever opened it (spec §6.4).

same: the signed-in account is the one the Agent spends from; other: a different one; signed_out: nobody is signed in; invalid: the ref names no live account (damaged, lapsed or closed), and nothing is named.

relation, 'same' | 'other' | 'signed_out' | 'invalid' required
account_label, AccountLabelResponse nullable

How this account is named to a person (account_links.labels; spec §6.1).

Clients put it into words: the nickname, masked phone or masked email as text, or 「微信账号 · {registered_on}注册」 / 「Beatra 账号 · …」 for the wechat and account kinds.

sign_in_method, 'wechat' | 'phone' | 'email' | 'google' | 'apple' nullable

Changes