invantive documentation
Invantive Support ForumsLog In / Sign Up

Leads: Pipedrive Leads

insert update delete REST

  • Catalog: Pipedrive
  • Schema: Leads
  • Primary Keys: id
  • Label: Leads

Can retrieve data and change data using insert, update and delete.

Summary

The leads that are not archived: potential deals still to be qualified. Each request costs 20 tokens of the daily budget of the company.

API Source

  • Endpoint: /leads

Table Columns

The columns of the table Leads are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.

Name Data Type Label Required Marks Documentation
acme_contract_period datetime ACME Contract Period filters on the platform, writable, 6896075a66cf84149483264322680e69b411ee3e.value The custom field 'ACME Contract Period' of the company.
acme_contract_period_until datetime ACME Contract Period filters on the platform, writable, 6896075a66cf84149483264322680e69b411ee3e.until Part 'acme_contract_period_until' of the custom field 'ACME Contract Period' of the company.
acme_contract_value decimal ACME Contract Value filters on the platform, writable, fe13934927824850c24048140e20616402b6aeff.value The custom field 'ACME Contract Value' of the company.
acme_contract_value_currency varchar2 ACME Contract Value filters on the platform, writable, fe13934927824850c24048140e20616402b6aeff.currency Part 'acme_contract_value_currency' of the custom field 'ACME Contract Value' of the company.
acme_delivery_address varchar2 ACME Delivery Address filters on the platform, writable, 527fcb45fb7c3270c94bf4be803fe9ddd47ba269.value The custom field 'ACME Delivery Address' of the company.
acme_delivery_address_admin_area_level_1 varchar2 ACME Delivery Address filters on the platform, writable, 527fcb45fb7c3270c94bf4be803fe9ddd47ba269.admin_area_level_1 Part 'acme_delivery_address_admin_area_level_1' of the custom field 'ACME Delivery Address' of the company.
acme_delivery_address_admin_area_level_2 varchar2 ACME Delivery Address filters on the platform, writable, 527fcb45fb7c3270c94bf4be803fe9ddd47ba269.admin_area_level_2 Part 'acme_delivery_address_admin_area_level_2' of the custom field 'ACME Delivery Address' of the company.
acme_delivery_address_country varchar2 ACME Delivery Address filters on the platform, writable, 527fcb45fb7c3270c94bf4be803fe9ddd47ba269.country Part 'acme_delivery_address_country' of the custom field 'ACME Delivery Address' of the company.
acme_delivery_address_formatted_address varchar2 ACME Delivery Address filters on the platform, writable, 527fcb45fb7c3270c94bf4be803fe9ddd47ba269.formatted_address Part 'acme_delivery_address_formatted_address' of the custom field 'ACME Delivery Address' of the company.
acme_delivery_address_locality varchar2 ACME Delivery Address filters on the platform, writable, 527fcb45fb7c3270c94bf4be803fe9ddd47ba269.locality Part 'acme_delivery_address_locality' of the custom field 'ACME Delivery Address' of the company.
acme_delivery_address_postal_code varchar2 ACME Delivery Address filters on the platform, writable, 527fcb45fb7c3270c94bf4be803fe9ddd47ba269.postal_code Part 'acme_delivery_address_postal_code' of the custom field 'ACME Delivery Address' of the company.
acme_delivery_address_route varchar2 ACME Delivery Address filters on the platform, writable, 527fcb45fb7c3270c94bf4be803fe9ddd47ba269.route Part 'acme_delivery_address_route' of the custom field 'ACME Delivery Address' of the company.
acme_delivery_address_street_number varchar2 ACME Delivery Address filters on the platform, writable, 527fcb45fb7c3270c94bf4be803fe9ddd47ba269.street_number Part 'acme_delivery_address_street_number' of the custom field 'ACME Delivery Address' of the company.
acme_delivery_address_sublocality varchar2 ACME Delivery Address filters on the platform, writable, 527fcb45fb7c3270c94bf4be803fe9ddd47ba269.sublocality Part 'acme_delivery_address_sublocality' of the custom field 'ACME Delivery Address' of the company.
acme_delivery_address_subpremise varchar2 ACME Delivery Address filters on the platform, writable, 527fcb45fb7c3270c94bf4be803fe9ddd47ba269.subpremise Part 'acme_delivery_address_subpremise' of the custom field 'ACME Delivery Address' of the company.
acme_external_reference varchar2 ACME External Reference filters on the platform, writable, 97dc6423c82198942fbaf22a2643b1d23f355cdb The custom field 'ACME External Reference' of the company.
acme_product_lines varchar2 ACME Product Lines filters on the platform, writable, 79bf9d0e284bf04281c56b9dc991e42166f86efb The custom field 'ACME Product Lines' of the company.
acme_product_lines_labels varchar2 ACME Product Lines Labels filters on the platform, writable, computed, __labels.79bf9d0e284bf04281c56b9dc991e42166f86efb The labels of the chosen options of the custom field 'ACME Product Lines'.
acme_region int64 ACME Region filters on the platform, writable, 4741923a810774c80bf83b0dcc79a08f6e59911d The custom field 'ACME Region' of the company.
acme_region_label varchar2 ACME Region Label filters on the platform, writable, computed, __labels.4741923a810774c80bf83b0dcc79a08f6e59911d The labels of the chosen options of the custom field 'ACME Region'.
acme_renewal_date datetime ACME Renewal Date filters on the platform, writable, adb4fa55e4e402beaf62a61f4743352be194aaf7 The custom field 'ACME Renewal Date' of the company.
acme_seats decimal ACME Seats filters on the platform, writable, 01b665b6da996dbb9999866e8248c5d4c5b6a50b The custom field 'ACME Seats' of the company.
add_time datetime Creation Time filters on the platform, writable, computed, add_time The date and time of when the lead was created.
archive_reason varchar2 Archive Reason filters on the platform, writable, archive_reason The reason for archiving the lead.
cc_email varchar2 CC Email filters on the platform, writable, computed, cc_email The BCC email of the lead.
channel int64 Channel filters on the platform, writable, channel The ID of your Marketing channel this Lead was created from.
channel_id varchar2 Channel ID filters on the platform, writable, channel_id The optional ID to further distinguish the Marketing channel.
creator_id int64 Creator ID filters on the platform, writable, computed, creator_id The ID of the user who created the lead.
expected_close_date datetime Expected Close Date filters on the platform, writable, expected_close_date The date of when the deal which will be created from the lead is expected to be closed.
id varchar2 ID filters on the platform, writable, computed, id The unique ID of the lead in the UUID format.
is_archived char Is Archived filters on the platform, writable, is_archived A flag indicating whether the lead is archived or not.
label_ids varchar2 Label IDs filters on the platform, writable, label_ids The IDs of the lead labels which are associated with the lead.
next_activity_id int64 Next Activity ID filters on the platform, writable, computed, next_activity_id The ID of the next activity associated with the lead.
organization_id int64 Organization ID filters on the platform, writable, organization_id The ID of an organization which this lead is linked to.
origin varchar2 Origin filters on the platform, writable, computed, origin The way this Lead was created.
origin_id varchar2 Origin ID filters on the platform, writable, origin_id The optional ID to further distinguish the origin of the lead - e.g. Which API integration created this Lead.
owner_id int64 Owner ID filters on the platform, writable, owner_id The ID of the user who owns the lead.
person_id int64 Person ID filters on the platform, writable, person_id The ID of a person which this lead is linked to.
source_deal_id int64 Source Deal ID filters on the platform, writable, computed, source_deal_id The ID of the deal if the lead was converted from a deal.
source_name varchar2 Source Name filters on the platform, writable, computed, source_name Defines where the lead comes from.
title varchar2 Title filters on the platform, writable, title The title of the lead.
update_time datetime Last Update Time filters on the platform, writable, computed, update_time The date and time of when the lead was last updated.
value varchar2 Value filters on the platform, writable, __write_only.value The potential value of the lead represented by a JSON object: { "amount": 200, "currency": "EUR" }. Only taken when writing; empty when read.
value_amount decimal Value Amount filters on the platform, writable, value.amount The value amount.
value_currency varchar2 Value Currency filters on the platform, writable, value.currency The value currency.
visible_to varchar2 Visible To filters on the platform, writable, visible_to The visible to.
was_seen char Was Seen filters on the platform, writable, was_seen A flag indicating whether the lead was seen by someone in the Pipedrive UI.

Keys

Key Column Refers to Kind Description
Leads_creator_id_fk creator_id Users.id Key
Leads_next_activity_id_fk next_activity_id Activities.id Key
Leads_organization_id_fk organization_id Organizations.id Key
Leads_origin_cnd origin LeadSources.name Candidate Follows from the name of the column and held in every row of the sandbox on 2026-10-31; not stated by Pipedrive.
Leads_owner_id_fk owner_id Users.id Key
Leads_person_id_fk person_id Persons.id Key
Leads_source_deal_id_ArchivedDeals_txt source_deal_id ArchivedDeals.id Textual The deal the lead was converted from, in Deals or, once archived, in ArchivedDeals.
Leads_source_deal_id_Deals_txt source_deal_id Deals.id Textual The deal the lead was converted from, in Deals or, once archived, in ArchivedDeals.
Leads_source_name_cnd source_name LeadSources.name Candidate Follows from the name of the column and held in every row of the sandbox on 2026-10-31; not stated by Pipedrive.
Leads_value_currency_fk value_currency Currencies.code Key

Referenced By