API reference
All operations
LEADS

Retrieves the details of a lead by its ID.

When the lead is linked to a company or contact, the company and contact fields are taken from that company or contact record. `CanAcknowledge` is true when the lead is not yet acknowledged and the caller is its owner.

GET/api/v2/leads/{leadId}

Authentication

Choose one supported method for this request.

OAuth 2.0 client credentials

Parameters

leadIdpathinteger · int32required

ID of the lead. Must be greater than zero.

Responses

The lead's details.

Standard response envelopeisSuccessmessageerrorsdata

Read the result from data. When isSuccess is false, errors lists what went wrong. Handling errors

dataLeadDetailsDto
  • recordTypestringnullable
  • leadIDinteger · int32nullable
  • ownerIDinteger · int32nullable
  • statusIDinteger · int32nullable
  • sourceIDinteger · int32nullable
  • sourcestringnullable
  • sourceLocationIDinteger · int32nullable
  • sourceLocationstringnullable
  • ratingstringnullable
  • descriptionstringnullable
  • companyIDinteger · int32nullable
  • companyNamestringnullable
  • address1stringnullable
  • citystringnullable
  • statestringnullable
  • zipstringnullable
  • countystringnullable
  • countrystringnullable
  • contactIDinteger · int32nullable
  • contactNamestringnullable
  • firstNamestringnullable
  • lastNamestringnullable
  • emailstringnullable
  • phonestringnullable
  • cellstringnullable
  • equipmentIDinteger · int32nullable
  • makestringnullable
  • modelstringnullable
  • serialNostringnullable
  • stockNostringnullable
  • yearstringnullable
  • hoursinteger · int32nullable
  • attachmentsstringnullable
  • deletedbooleannullable
  • ownerNamestringnullable
  • statusNamestringnullable
  • commentsstringnullable
  • dateAssignedstring · date-timenullable
  • dateAcknowledgedstring · date-timenullable
  • dateConvertedstring · date-timenullable
  • address2stringnullable
  • faxstringnullable
  • titlestringnullable
  • positionstringnullable
  • companyPhonestringnullable
  • webstringnullable
  • departmentstringnullable
  • favoritebooleannullable
  • assignedReasonIDsinteger[]nullable
  • strAssignedReasonsstring[]nullable
  • assignedReasonsDisplaystringnullable
  • latitudenumber · doublenullable
  • longitudenumber · doublenullable
  • equipmentTypestringnullable
  • sourceUrlstringnullable
  • sourcePagestringnullable
  • branchstringnullable
  • associatedQuoteinteger · int32nullable
  • identifierstringnullable
  • branchIDinteger · int32nullable
  • closedbooleannullable
  • canAcknowledgeboolean