---
title: "Leads (Pipedrive)"
description: "Leads"
language: da
source_language: en
translation_state: pending
canonical: https://documentation.invantive.eu/da/datamodels/pipedrive/Pipedrive.Leads.Leads
original: https://documentation.invantive.eu/en/datamodels/pipedrive/Pipedrive.Leads.Leads
updated: 2026-12-05T06:10:19Z
license: https://documentation.invantive.eu/da/
---

# Leads: Pipedrive Leads

`insert` `update` `delete` `REST`

- Katalog: `Pipedrive`
- Skema: `Leads`
- Primærnøgler: `id`
- Label: Leads

Man kan hente og ændre data ved hjælp af `insert`, `update` og `delete`.

## Resumé

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-kilde

- Endepunkt: `/leads`

## Tabelkolonner

Tabellens kolonner `Leads` er vist nedenfor. Hver kolonne har en SQL-datatype. Der skal til enhver tid angives en ny ikke-null-værdi for hver krævet kolonne under indsætning og opdatering.

| Navn | Datatype | Etiket | Krævet | Mærker | Dokumentation |
|---|---|---|:---:|---|---|
| `acme_contract_period` | `datetime` | ACME Contract Period | [ ] | filtre på platformen, skrivbar, `6896075a66cf84149483264322680e69b411ee3e.value` | The custom field 'ACME Contract Period' of the company. |
| `acme_contract_period_until` | `datetime` | ACME Contract Period | [ ] | filtre på platformen, skrivbar, `6896075a66cf84149483264322680e69b411ee3e.until` | Part 'acme_contract_period_until' of the custom field 'ACME Contract Period' of the company. |
| `acme_contract_value` | `decimal` | ACME Contract Value | [ ] | filtre på platformen, skrivbar, `fe13934927824850c24048140e20616402b6aeff.value` | The custom field 'ACME Contract Value' of the company. |
| `acme_contract_value_currency` | `varchar2` | ACME Contract Value | [ ] | filtre på platformen, skrivbar, `fe13934927824850c24048140e20616402b6aeff.currency` | Part 'acme_contract_value_currency' of the custom field 'ACME Contract Value' of the company. |
| `acme_delivery_address` | `varchar2` | ACME Delivery Address | [ ] | filtre på platformen, skrivbar, `527fcb45fb7c3270c94bf4be803fe9ddd47ba269.value` | The custom field 'ACME Delivery Address' of the company. |
| `acme_delivery_address_admin_area_level_1` | `varchar2` | ACME Delivery Address | [ ] | filtre på platformen, skrivbar, `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 | [ ] | filtre på platformen, skrivbar, `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 | [ ] | filtre på platformen, skrivbar, `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 | [ ] | filtre på platformen, skrivbar, `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 | [ ] | filtre på platformen, skrivbar, `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 | [ ] | filtre på platformen, skrivbar, `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 | [ ] | filtre på platformen, skrivbar, `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 | [ ] | filtre på platformen, skrivbar, `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 | [ ] | filtre på platformen, skrivbar, `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 | [ ] | filtre på platformen, skrivbar, `527fcb45fb7c3270c94bf4be803fe9ddd47ba269.subpremise` | Part 'acme_delivery_address_subpremise' of the custom field 'ACME Delivery Address' of the company. |
| `acme_external_reference` | `varchar2` | ACME External Reference | [ ] | filtre på platformen, skrivbar, `97dc6423c82198942fbaf22a2643b1d23f355cdb` | The custom field 'ACME External Reference' of the company. |
| `acme_product_lines` | `varchar2` | ACME Product Lines | [ ] | filtre på platformen, skrivbar, `79bf9d0e284bf04281c56b9dc991e42166f86efb` | The custom field 'ACME Product Lines' of the company. |
| `acme_product_lines_labels` | `varchar2` | ACME Product Lines Labels | [ ] | filtrerer på platformen, skrivbar, beregnet, `__labels.79bf9d0e284bf04281c56b9dc991e42166f86efb` | The labels of the chosen options of the custom field 'ACME Product Lines'. |
| `acme_region` | `int64` | ACME Region | [ ] | filtre på platformen, skrivbar, `4741923a810774c80bf83b0dcc79a08f6e59911d` | The custom field 'ACME Region' of the company. |
| `acme_region_label` | `varchar2` | ACME Region Label | [ ] | filtrerer på platformen, skrivbar, beregnet, `__labels.4741923a810774c80bf83b0dcc79a08f6e59911d` | The labels of the chosen options of the custom field 'ACME Region'. |
| `acme_renewal_date` | `datetime` | ACME Renewal Date | [ ] | filtre på platformen, skrivbar, `adb4fa55e4e402beaf62a61f4743352be194aaf7` | The custom field 'ACME Renewal Date' of the company. |
| `acme_seats` | `decimal` | ACME Seats | [ ] | filtre på platformen, skrivbar, `01b665b6da996dbb9999866e8248c5d4c5b6a50b` | The custom field 'ACME Seats' of the company. |
| `add_time` | `datetime` | Oprettelsestidspunkt | [ ] | filtrerer på platformen, skrivbar, beregnet, `add_time` | The date and time of when the lead was created. |
| `archive_reason` | `varchar2` | Årsag til arkivering | [ ] | filtre på platformen, skrivbar, `archive_reason` | The reason for archiving the lead. |
| `cc_email` | `varchar2` | CC-e-mail | [ ] | filtrerer på platformen, skrivbar, beregnet, `cc_email` | The BCC email of the lead. |
| `channel` | `int64` | Kanal | [ ] | filtre på platformen, skrivbar, `channel` | The ID of your Marketing channel this Lead was created from. |
| `channel_id` | `varchar2` | Kanal-ID | [ ] | filtre på platformen, skrivbar, `channel_id` | The optional ID to further distinguish the Marketing channel. |
| `creator_id` | `int64` | Skabers ID | [ ] | filtrerer på platformen, skrivbar, beregnet, `creator_id` | The ID of the user who created the lead. |
| `expected_close_date` | `datetime` | Forventet afslutningsdato | [ ] | filtre på platformen, skrivbar, `expected_close_date` | The date of when the deal which will be created from the lead is expected to be closed. |
| `id` | `varchar2` | ID | [x] | filtrerer på platformen, skrivbar, beregnet, `id` | The unique ID of the lead in the UUID format. |
| `is_archived` | `char` | Er arkiveret | [ ] | filtre på platformen, skrivbar, `is_archived` | A flag indicating whether the lead is archived or not. |
| `label_ids` | `varchar2` | Etiket-ID’er | [ ] | filtre på platformen, skrivbar, `label_ids` | The IDs of the lead labels which are associated with the lead. |
| `next_activity_id` | `int64` | Næste aktivitets-ID | [ ] | filtrerer på platformen, skrivbar, beregnet, `next_activity_id` | The ID of the next activity associated with the lead. |
| `organization_id` | `int64` | Organisations-ID | [ ] | filtre på platformen, skrivbar, `organization_id` | The ID of an organization which this lead is linked to. |
| `origin` | `varchar2` | Oprindelse | [ ] | filtrerer på platformen, skrivbar, beregnet, `origin` | The way this Lead was created. |
| `origin_id` | `varchar2` | Oprindelses-ID | [ ] | filtre på platformen, skrivbar, `origin_id` | The optional ID to further distinguish the origin of the lead - e.g. Which API integration created this Lead. |
| `owner_id` | `int64` | Ejernummer | [ ] | filtre på platformen, skrivbar, `owner_id` | The ID of the user who owns the lead. |
| `person_id` | `int64` | Person-ID | [ ] | filtre på platformen, skrivbar, `person_id` | The ID of a person which this lead is linked to. |
| `source_deal_id` | `int64` | Kilde-aftale-ID | [ ] | filtrerer på platformen, skrivbar, beregnet, `source_deal_id` | The ID of the deal if the lead was converted from a deal. |
| `source_name` | `varchar2` | Kildenavn | [ ] | filtrerer på platformen, skrivbar, beregnet, `source_name` | Defines where the lead comes from. |
| `title` | `varchar2` | Titel | [ ] | filtre på platformen, skrivbar, `title` | The title of the lead. |
| `update_time` | `datetime` | Seneste opdateringstidspunkt | [ ] | filtrerer på platformen, skrivbar, beregnet, `update_time` | The date and time of when the lead was last updated. |
| `value` | `varchar2` | Værdi | [ ] | filtre på platformen, skrivbar, `__write_only.value` | The potential value of the lead represented by a JSON object: { "amount": 200, "currency": "EUR" }.Bruges kun ved skrivning; tom ved læsning. |
| `value_amount` | `decimal` | Værdi Beløb | [ ] | filtre på platformen, skrivbar, `value.amount` | The value amount. |
| `value_currency` | `varchar2` | Værdi Valuta | [ ] | filtre på platformen, skrivbar, `value.currency` | The value currency. |
| `visible_to` | `varchar2` | Synlig for | [ ] | filtre på platformen, skrivbar, `visible_to` | The visible to. |
| `was_seen` | `char` | Blev set | [ ] | filtre på platformen, skrivbar, `was_seen` | A flag indicating whether the lead was seen by someone in the Pipedrive UI. |

## Nøgler

| Nøgle | Kolonne | Henviser til | Art | Beskrivelse |
|---|---|---|---|---|
| `Leads_creator_id_fk` | `creator_id` | [Users](Pipedrive.Users.Users)`.id` | Nøgle |  |
| `Leads_next_activity_id_fk` | `next_activity_id` | [Activities](Pipedrive.Activities.Activities)`.id` | Nøgle |  |
| `Leads_organization_id_fk` | `organization_id` | [Organizations](Pipedrive.Contacts.Organizations)`.id` | Nøgle |  |
| `Leads_origin_cnd` | `origin` | [LeadSources](Pipedrive.Leads.LeadSources)`.name` | Kandidat | 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](Pipedrive.Users.Users)`.id` | Nøgle |  |
| `Leads_person_id_fk` | `person_id` | [Persons](Pipedrive.Contacts.Persons)`.id` | Nøgle |  |
| `Leads_source_deal_id_ArchivedDeals_txt` | `source_deal_id` | [ArchivedDeals](Pipedrive.Deals.ArchivedDeals)`.id` | Tekstmæssigt | The deal the lead was converted from, in Deals or, once archived, in ArchivedDeals. |
| `Leads_source_deal_id_Deals_txt` | `source_deal_id` | [Deals](Pipedrive.Deals.Deals)`.id` | Tekstmæssigt | The deal the lead was converted from, in Deals or, once archived, in ArchivedDeals. |
| `Leads_source_name_cnd` | `source_name` | [LeadSources](Pipedrive.Leads.LeadSources)`.name` | Kandidat | 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](Pipedrive.Settings.Currencies)`.code` | Nøgle |  |

## Henvist til af

- [Activities](Pipedrive.Activities.Activities) `lead_id` (Textual)
- [CallLogs](Pipedrive.Activities.CallLogs) `lead_id` (tekstuel)
- [ArchivedDeals](Pipedrive.Deals.ArchivedDeals) `source_lead_id` (tekstuel)
- [Handler](Pipedrive.Deals.Deals) `source_lead_id` (tekstuel)
- [Files](Pipedrive.Notes.Files) `lead_id` (Textual)
- [Notes](Pipedrive.Notes.Notes) `lead_id` (Textual)
