Merge accounts
merge_consumer_accountsStaff only. Combines one or more Widely accounts of the same person into one: SIMs, numbers, ported number history, extensions, conversations, contacts, payments, wallet balance and credit, verified emails and numbers as logins and caller IDs, and live sessions so signed-in devices keep working without a re-login. The surviving default caller ID stays the default. Pass source_consumer_user_id, or source_consumer_user_ids for several sources, plus target_consumer_user_id. Several sources move in one transaction. Without confirm it returns what would move, conflicts, wallets before and after, and anything that blocks it. With confirm it moves everything and is safe to repeat. Removing the emptied user, consumer and member account is a separate call with hard_delete and confirm, and only after the move was confirmed.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"target_consumer_user_id": "<target_consumer_user_id>"
},
"name": "merge_consumer_accounts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Runs it. | |
| hard_delete | No | Remove the emptied records. Needs a confirmed move first. | |
| idempotency_key | No | A repeat with the same key changes nothing. | |
| source_consumer_user_id | No | A seat to empty. You can pass several with source_consumer_user_ids. | |
| target_consumer_user_id | Yes | The seat that survives. | |
| source_consumer_user_ids | No | Seats to empty into the target, in one transaction. |