Merge identities
Merges two identities into one. The secondary identity is folded
into the primary:
- Sessions linked to the secondary are re-pointed to the primary
- Session counts are combined
- Tags are merged and deduplicated
- The secondary identity is marked as `merged`
Both identities must belong to the same organization and environment.
Redacted or already-merged identities cannot be used as the secondary.
Authentication
X-API-Keystring
Organization API key. Keys are prefixed with vk_live_ (production) or
vk_sandbox_ (sandbox).
Headers
Verifa-Version
API version date string (e.g. 2026-02-01). If omitted, the version
pinned to your API key is used.
Key-Inflection
Response key casing. Defaults to snake.
Allowed values:
Idempotency-Key
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_id
The identity to keep.
secondary_identity_id
The identity to merge into the primary.
Response
Merge result.
primary
secondary
Errors
401
Unauthorized Error
404
Not Found Error
422
Unprocessable Entity Error