Merge multiple identities

Merges multiple secondary identities into a single primary identity. Each secondary is merged sequentially — sessions re-pointed, tags combined, secondary marked as merged.

Authentication

X-API-Keystring

Organization API key. Keys are prefixed with vk_live_ (production) or vk_sandbox_ (sandbox).

Headers

Verifa-VersiondateOptional

API version date string (e.g. 2026-02-01). If omitted, the version pinned to your API key is used.

Key-InflectionenumOptionalDefaults to snake

Response key casing. Defaults to snake.

Allowed values:
Idempotency-KeystringOptional<=255 characters

Unique key for idempotent requests. Cached for 24 hours. Sending the same key with different parameters returns 422.

Request

This endpoint expects an object.
primary_identity_idstringRequired
The identity to keep.
secondary_identity_idslist of stringsRequired
Identities to merge into the primary.

Response

Merge result.
primaryobject
merged_countinteger
Number of identities merged.
merged_idslist of strings
IDs of the identities that were merged.

Errors

401
Unauthorized Error
422
Unprocessable Entity Error