v33

latestOpenAPI 3.0.2raw.githubusercontent.com2026-03-142353151.8 KB
Manage User Profiles

Merge user profiles

This API enables you to merge the attributes of a user profile to another user profile. The profile with source distinct ID is merged with the target profile, after which the source profile is automatically deleted. If the target distinct ID does not exist, the source distinct ID is updated to target distinct ID.

patch/{WSID}/{version}/profiles/{source_distinct_id}/merge/{target_distinct_id}

Path parameters

WSIDstring required

Enter your workspace ID. You can obtain this value from the API Keys page within your Fyno account.

version'live' | 'test' required

Specify the version for which you would like to manage the user profile.

source_distinct_idstring required

Enter the source distinct ID that you wish to merge from.

target_distinct_idstring required

Enter the target distinct ID to which the profile should merge into.

Response

Profiles merged successfully and the source profile is deleted

_messagestring required
statusstring required

Example response

{
  "_message": "1 Record(s) updated and 1 Records(s) deleted",
  "status": "ok"
}