Oktopost
Leads

Lead Integration Link

The Lead Integration Link is a connection between a lead and a specific contact within an integration.

For more information on supported integrations, see the integration help page.

The Replace Lead Integration Link endpoint lets you replace an existing lead-to-contact connection by replacing the currently linked contact with a new one, ensuring the lead remains associated with the correct record.

Parameters

ParameterDescriptionRequiredExample
integrationIdThe Integration Id014000000000000
linkedRecordIdThe contact Id a lead is currently linked to003gL00000AaaaAAAA
newLinkedRecordIdThe new contact Id the lead should be relinked to003gL99999BbbbBBBB

Example Request

curl -i https://api.oktopost.com/v2/lead-link-replace -X POST \
-d integrationId="014000000000000" \
-d linkedRecordId="003gL00000AaaaAAAA" \
-d newLinkedRecordId="003gL99999BbbbBBBB"

Example Result

{
  "Result": true
}