Skip to main content

Leads

EntityActivityActivity.Lead

Leads capture inbound interest before it is qualified into a relation or a sales opportunity — a web-form submission, a downloaded whitepaper, or a captured contact from a campaign. Each lead records the prospect's contact details (FirstName, LastName, EmailAddress, PhoneNumber, CompanyName) alongside marketing attribution (Source, Medium, Campaign, Referrer, LandingPage) and qualification signals (DecisionMaker, Champion, DisqualificationReason).

Use the Activity_Lead endpoint to ingest and manage leads. Leads inherit all fields from Activity (subject, amount, financial totals) and add lead-specific contact, attribution, and qualification fields.

note

Replaces the deprecated Relationship-based Lead.

Endpoints

List Leads

Retrieve a paginated list of leads.

GET/v1/odata/Activity_Lead

Single Lead

Retrieve a single lead by its ID.

GET/v1/odata/Activity_Lead({id})

With expanded relations:

GET/v1/odata/Activity_Lead({id})?$expand=ActivityLead,LeadSource,Industry,Address

Create Lead

Create a new lead.

POST/v1/odata/Activity_Lead

Update Lead

Update an existing lead. Provide only the fields to update.

PUT/v1/odata/Activity_Lead({id})

Delete Lead

Delete a lead by ID.

DELETE/v1/odata/Activity_Lead({id})

Fields

Standard Fields (all entities)

FieldTypeDescription
IDGuidPrimary key (UUID)
_TypeStringEntity type discriminator (e.g., Activity.Lead)
_NameStringComputed display name
SortIndexDoubleSorting order
CreationDateDateTimeOffsetDate the record was created
LastMutationDateDateTimeOffsetDate of the last modification
IsActiveBooleanWhether the record is active
IsClosedBooleanWhether the record is closed

Lead Fields

FieldTypeDescription
FirstNameStringProspect's first name
LastNameStringProspect's last name
CompanyNameStringProspect's company name
EmailAddressStringProspect's email address
PhoneNumberStringProspect's phone number
WebsiteStringProspect's website
FunctionOnBusinessCardStringProspect's job title as shown on their business card
DecisionMakerBooleanWhether the prospect is a decision maker
ChampionBooleanWhether the prospect is an internal champion
CampaignStringMarketing campaign the lead came from
ReferrerStringReferring URL / source that sent the lead
LandingPageStringLanding page the lead arrived on
DisqualificationReasonStringReason the lead was disqualified

Inherited Fields (from Activity)

FieldTypeDescription
SubjectStringActivity subject / title
NumberStringAuto-generated activity number (e.g., 2026-00001)
AmountDoubleActivity amount
CurrencyStringCurrency code (e.g., EUR)
IsVatIncludedBooleanWhether prices include VAT
DiscountPercentageDoubleDiscount percentage
RelationDescriptionStringDescription of the linked relation
NumberOfProductLinesDoubleNumber of product lines
NumberOfOpenTasksDoubleNumber of open tasks linked to this activity
NumberOfPlannedActionsDoubleNumber of planned actions
TotalSalesExcludingVATDoubleSubtotal excluding VAT
TotalSalesIncludingVATDoubleTotal including VAT
VatAmountDoubleVAT amount
TotalMarginDoubleTotal profit margin

Relationships

RelationshipTarget EntityCardinalityDescription
PhaseDatastore.Phase.ActivityLeadN:1Lead phase / stage (nav property ActivityLead)
AddressAddressN:1Lead address
IndustryDatastore.IndustryN:1Prospect's industry
LeadCompanySizeDatastore.LeadCompanySizeN:1Prospect's company size band
LeadSourceDatastore.LeadSourceN:1Source the lead originated from
MediumDatastore.MediumN:1Marketing medium
CampaignSourceDatastore.CampaignSourceN:1Campaign source
RelationshipRelationshipN:1Linked relation (customer/contact)
ContactRelation.Person.ContactN:1Contact person
ResponsibleRelationship.Person.Contact.EmployeeN:1Employee responsible for the lead
InvolvedInvolved1:NInvolved parties
LinkedActivitiesActivity1:NLinked activities
ActivityActivityN:1Parent activity

Expanding Relationships

GET/v1/odata/Activity_Lead({id})?$expand=ActivityLead
GET/v1/odata/Activity_Lead({id})?$expand=ActivityLead,LeadSource,Industry,Address
GET/v1/odata/Activity_Lead({id})/LeadSource
GET/v1/odata/Activity_Lead({id})/Address
DELETE/v1/odata/Activity_Lead({id})/LeadSource/$ref

Filtering Examples

GET/v1/odata/Activity_Lead?$filter=contains(CompanyName, '{CompanyName}')&$top={top}
GET/v1/odata/Activity_Lead?$filter=EmailAddress eq '{EmailAddress}'&$top={top}
GET/v1/odata/Activity_Lead?$filter=DecisionMaker eq {DecisionMaker}&$top={top}
GET/v1/odata/Activity_Lead?$filter=contains(LastName, '{LastName}')&$top={top}
GET/v1/odata/Activity_Lead?$filter=CreationDate gt {CreationDate}&$top={top}
GET/v1/odata/Activity_Lead?$filter=IsClosed eq {IsClosed}&$top={top}