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

# Contact Profiles

The *Contact Profile* functions are used to manage a user's [Contact Profile](https://docs-classic.cognigy.com/ai/agents/analyze/contact-profiles.md). They allow you to activate or deactivate a Contact Profile, update specific fields, and merge one Contact Profile with another. When a Contact Profile is deactivated, no data can be read from or written to it.

## [`activateProfile`](https://docs-classic.cognigy.com/ai/for-developers/function-reference/contact-profiles/activateProfile)

**Syntax:** `activateProfile()`

Activates the user's Contact Profile.
Call this function to re-enable read and write operations on a previously deactivated Contact Profile.

## [`deactivateProfile`](https://docs-classic.cognigy.com/ai/for-developers/function-reference/contact-profiles/deactivateProfile)

**Syntax:** `deactivateProfile(deleteData)`

Deactivates the user's Contact Profile. When the Contact Profile is deactivated, no data can be read from or written to the Contact Profile.

## [`updateProfile`](https://docs-classic.cognigy.com/ai/for-developers/function-reference/contact-profiles/updateProfile)

**Syntax**

`updateProfile(key, value)`

Updates a value in the current user's Contact Profile.

## [`mergeProfile`](https://docs-classic.cognigy.com/ai/for-developers/function-reference/contact-profiles/mergeProfile)

**Syntax**

`mergeProfile(contactId)`

Merges the current Contact Profile with another one.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.