Replace a lead
Replaces the lead with the object in the body. Any writable field you omit is cleared, so send the whole record - use PATCH if you only want to change a few fields and leave the rest alone.
Approval state and archiving are not settable here and are never affected by a replace - use the approve, reject and archive endpoints.
Authentication
X-API-KEYstring
Your vendor API key. Required on every request under /api/v1/vendors/**.
Path parameters
leadId
ID of the lead.
Request
This endpoint expects an object.
firstName
emailAddress
companyName
lastName
phoneNumber
linkedInUrl
websiteUrl
companySize
industry
jobTitle
city
state
country
source
Id of a lead source dropdown value configured for your account.
status
Id of a lead status dropdown value configured for your account.
leadAge
productsInterested
businessImpactMetrics
externalId
Your own identifier for this lead. Stored and echoed back unchanged.
Response
Lead replaced successfully.
success
message
data
timestamp
Errors
400
Bad Request Error
401
Unauthorized Error
404
Not Found Error
500
Internal Server Error

