> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cognigy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# mergeProfile

## Syntax

`mergeProfile(contactId)`

## Description

Merges the current Contact Profile with another one.
This function is useful for combining duplicate Contact Profiles or moving data between users.

**Parameters:**

* `contactId`: `string` — the ID of the Contact Profile to merge into.

**Returns:** `Promise<unknown>`

## Example

```js theme={null}
await mergeProfile("c-89374201a7bd5a9e4");
```
