Skip to main content
Links another email or phone number to the user’s account. If that identifier belongs to a different Agentcard account, the two accounts merge into one (the identity-verified account survives, and both identifiers sign in to it afterwards); if nothing uses it, the identifier is simply added. The main use is the duplicate identity rejection from get_kyc_status: the person already verified on an account with a different email or phone, so the fix is linking that account, never re-submitting documents. It runs in two steps: call with type + identifier to send a one-time code to that email or phone, then call again with the returned ticket and the code the user reads back.

Parameters

Returns

Step 1 confirms the code was sent and returns the ticket to pass back. Step 2 reports the outcome: the accounts were merged (cards, wallet, identity verification, and history now live on one account) or the identifier was added to the current account. If both accounts have completed identity verification the merge is refused (both_kyc_approved); that case goes to support@agentcard.sh.

Example

Then, with the code the user received: