跳转到主要内容
POST
合并重复联系人

授权

Authorization
string
header
必填

会话 JWT(来自注册/登录)或 API key(pk_...)。 也接受 X-API-Key: <token> 作为替代请求头。

请求体

application/json
contact_ids
string<uuid>[]
必填

要融合的你的通讯录中的不同联系人。

Required array length: 2 - 20 elements
surviving_contact_id
string<uuid>

幸存的联系人(必须是 contact_ids 之一;默认为第一个)。

display_name
string

幸存者显示名称的可选覆盖。

alias
string

幸存者别名的可选覆盖。

响应

带有全部目的地的融合后联系人。

contact_id
string<uuid>
display_name
string
alias
string
phone
string

E.164。

email
string
has_cbpay
boolean

当手机号匹配你运营方的活跃账户时为 true。

cbpay_account_id
string<uuid>

已关联的账户(has_cbpay 为 true 时出现)。

source
enum<string>
可用选项:
manual,
import,
transfer,
payout,
crypto
favorite
boolean
destinations
object[]

详情端点中出现;列表使用 expand=destinations 时也会出现。可选筛选条件 dest_type 和 dest_country 仅适用于此展开字段。

created_at
string<date-time>
updated_at
string<date-time>
merged_contact_ids
string<uuid>[]

被合并删除的来源联系人。