Leadfeeder API
    • Leadfeeder API
    • Authentication
    • Getting Started
    • Rate Limits
    • Relationships
    • Company ID Lifecycle
    • OpenAPI Specification Access
    • List of NACE / WZ codes
    • List of Industries
    • AI & MCP
      • Overview of the Leadfeeder MCP Server
      • Quickstart
      • Connect your AI tool
      • Authentication and permissions
    • Account
      • List Accounts
    • Companies
      • Get Company Details
      • Create Company Enrichment Job
      • Estimate Company Enrichment Job
      • Retrieve Companies
      • Company Financial Reports
      • Get Company Enrichment Job Status
      • Retrieve Company IPs
      • Match Companies
      • Search Companies
      • Search Company Signals
      • Update a Company
      • Remove Company from Lists
      • Add Company to Lists
      • Unassign Tags from Company
      • Assign Tags to Company
    • Contacts
      • Get Contact Details
      • Create Find Contact Data Job
      • Estimate Find Contact Data Job
      • Retrieve Contacts
      • Get Find Contact Data Job Status
      • Search Contacts
      • Update a Contact
      • Remove Contact from Lists
      • Add Contact to Lists
    • Web Visits
      • How to Create Custom Feed
      • Custom Feed - Filter Reference
      • Search Web Visits
      • Retrieve Visitor Companies
      • Create a Custom Feed
      • Retrieve Custom Feeds
      • Update Custom Feed
      • Delete a Custom Feed
      • Get Custom Feed Details
      • Retrieve Custom Feeds Folders
      • Retrieve Web Visits Tracker Script
    • Campaigns
      • Retrieve Campaigns
      • Get Campaign Details
      • Update Campaign
      • Retrieve Campaign Stats
    • IP
      • Enrich Company IP Address
    • Buyer Personas
      • Retrieve Buyer Personas
      • Create a Buyer Persona
      • Get Buyer Persona Details
      • Delete a Buyer Persona
      • Update a Buyer Persona
    • Ideal Customer Profiles
      • Retrieve Ideal Customer Profiles
      • Create an Ideal Customer Profile
      • Retrieve Company ICP Matches
      • Get Ideal Customer Profile Details
      • Delete an Ideal Customer Profile
      • Update an Ideal Customer Profile
    • Tags
      • Retrieve Tags
      • Create Tag
      • Create Batch Add Tags Job
      • Get Batch Add Tags Job
      • Create Batch Remove Tags Job
      • Delete Tag
      • Get Batch Remove Tags Job
      • Get Tag Details
      • Update Tag
    • Lists
      • Retrieve Lists
      • Create a List
      • Create Batch Add to List Job
      • Get List Details
      • Get Batch Add to List Job
      • Delete List
      • Create Batch Remove from List Job
      • Get Batch Remove from List Job
      • Retrieve Company List Memberships
      • Retrieve Contact List Memberships
      • Update List
      • Retrieve List Items
    • Custom Fields
      • Retrieve Custom Fields
      • Create Custom Field
      • Get Custom Field Details
      • Delete Custom Field
      • Update Custom Field
    • Users
      • Get Current User
    • Settings
      • Update Cookie Consent Settings
      • Get Data Processing Settings
      • Get Cookie Consent Settings
      • Update Data Processing Settings
    • Usage
      • Get Endpoints Usage
    • Reference Data
      • Get Geo Suggestions
      • Get Countries with Regions
      • Get Industries
    • Schemas
      • AccountCompanyV1
      • AccountSummaryV1
      • AccountV1
      • ApiUsageV1
      • BatchAddTagsJobV1
      • BatchAddToListJobV1
      • BatchRemoveFromListJobV1
      • BatchRemoveTagsJobV1
      • BuyerPersonaRequestV1
      • BuyerPersonaV1
      • CampaignLocationV1
      • CampaignSettingsV1
      • CampaignStatsV1
      • CampaignSummaryV1
      • CampaignV1
      • CompaniesAdvancedSearchFilterItem
      • CompanyFinancialsV1
      • CompanyIndustryV1
      • CompanyIpV1
      • CompanyLocationV1
      • CompanyMatchV1
      • CompanySummaryV1
      • CompanyV1
      • ContactFilterGroupsV1
      • ConnectedListV1
      • ContactSummaryV1
      • ContactV1
      • CookieConsentSettingsV1
      • CountryV1
      • CustomFeedFolderV1
      • CustomFeedRequestV1
      • CustomFieldV1
      • CustomFeedV1
      • CRMUserV1
      • DataProcessingSettingsV1
      • EnrichedIpV1
      • EnrichmentJobV1
      • CRMOrganizationV1
      • ErrorObjectV1
      • CRMContactV1
      • FindContactDataJobV1
      • GeoSuggestionV1
      • CRMLeadV1
      • ICPV1
      • CRMConnectionV1
      • IpAddressExtendedV1
      • CRMSuggestionV1
      • IcpRequestV1
      • IpLocationV1
      • CRMGroupConnectionV1
      • LocationV1
      • ListV1
      • MaskedCompanySummaryV1
      • MaskedContactSummaryV1
      • NetworkV1
      • SignalV1
      • UserV1
      • TagV1
      • VisitLocationV1
      • WebVisitV1
      • WebVisitsTrackerScriptV1

    Relationships

    Some endpoints in the Leadfeeder API have the capability to return related objects.
    For example, when fetching a Contact via the Get Contact Details endpoint, part of the response will be a relationships object, which will contain a company key, which in turn will contain an object with only the following keys:
    id: the ID of the related object
    type: the type of the related object (in the above example, it would be "company")
    You can then use the Get Company Details endpoint to fetch the details of that particular company using the id returned above.
    Additionally, some endpoints support fetching related objects in a single request. As the Get Contact Details endpoint is one such endpoint, we can use it as an example.
    To fetch the related data, we add the include parameter to the query string as follows: include=<relationship names separated by commas>. In this example, we would add include=company. Note that you can specify multiple relationships this way.
    The response would then include the entire Company object under the Contact's relationship key.
    Note that the feature is only supported by endpoints that explicitly mention it in theit documentation, and we only support fetching immediate relationships (i.e. there is currently no way to fetch relationships that are more than one level deep).
    Modified at 2026-03-24 07:59:06
    Previous
    Rate Limits
    Next
    Company ID Lifecycle
    Built with