---
title: "Link two identities (linkIdentities)"
method: POST
path: "/linkIdentities"
---

# Link two identities (linkIdentities)

`POST /linkIdentities`

Links two existing identities together without retiring either source. This is typically used when you determine that two separate source identities belong to the same real-world provider, and they should be represented as a single link ID. Note: only provider identities of the same type can be linked together (ie Practitioner to Practitioner, not Practitioner and Health Facility).

## Request body

- ServiceRequestLinkIdentities — Standard wrapper for all service requests.
  - `trackingId` string — Optional client-defined correlation ID.
  - `content` LinkIdentitiesWsRequest — Link two identities together.
    - `linkToSource` Source, required — Tracks an identity back to its source system.
      - `date` string, date
      - `name` string — Unique source system name across Verato.
      - `id` string — Native ID of the identity within the source.
    - `source` Source, required — Tracks an identity back to its source system.
      - `date` string, date
      - `name` string — Unique source system name across Verato.
      - `id` string — Native ID of the identity within the source.

## Response `200`

Link identities response

- ServiceResponseLinkIdentities — Standard wrapper for all service responses.
  - `auditId` string — Unique audit identifier for correlating requests and responses.
  - `success` boolean — Indicates whether the business operation succeeded.
  - `warnings` string[] — Non-fatal warnings generated by the operation.
  - `retryableError` boolean — Indicates whether an error is transient and the request may be retried.
  - `message` string — Human-readable status message.
  - `errors` string[] — Error messages if success is false.
  - `trackingId` string — Echo of the request trackingId, if provided.
  - `content` LinkIdentitiesWsResponse — Link identities response content.
    - `linkId` string
    - `linkToSource` Source — Tracks an identity back to its source system.
      - `date` string, date
      - `name` string — Unique source system name across Verato.
      - `id` string — Native ID of the identity within the source.

---

[API](https://skmtc.net/verato/apis/verato-provider-api.md) · [All operations](https://skmtc.net/verato/apis/verato-provider-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/verato/verato-provider-api/versions/adc923264a6f/schema)
