API to merge two user profiles to resolve duplicate user records.
In SuprSend, you can merge duplicate user identities into a single distinct_id
to consolidate user profiles, especially when users interact across different products or transition from anonymous to identified states. You can use it in following scenarios:
When you merge two users, there’s a primary user passed in your API path param and merge a secondary / old user passed as from_user_id
in your payload. The primary distinct_id
is retained after the merge and the from_user_id
is deleted. The deletion process is permanent and from_user_id
can’t be recovered once deleted.
Pass as Bearer <API_KEY>
. Get API Key from SuprSend dashboard Developers -> API Keys section.
Unique identifier of primary user
201 - Created
user object of the primary user after the merge.