---
title: "Leads (Pipedrive)"
description: "Leads"
language: sv
source_language: en
translation_state: pending
canonical: https://documentation.invantive.eu/sv/datamodels/pipedrive/Pipedrive.Leads.Leads
original: https://documentation.invantive.eu/en/datamodels/pipedrive/Pipedrive.Leads.Leads
updated: 2026-12-05T15:53:45Z
license: https://documentation.invantive.eu/sv/
---

# Leads: Pipedrive Leads

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

- Katalog: `Pipedrive`
- Schema: `Leads`
- Primärnycklar: `id`
- Etikett: Leads

Man kan hämta och ändra data med hjälp av `insert`, `update` och `delete`.

## Sammanfattning

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-källa

- Slutpunkt: `/leads`

## Tabellkolumner

Tabellens kolumner `Leads` visas nedan. Varje kolumn har en SQL-datatyp. Ett nytt värde som inte är null måste alltid anges för varje obligatorisk kolumn vid insättning och uppdatering.

| Namn | Datatyp | Etikett | Nödvändigt | Betyg | Dokumentation |
|---|---|---|:---:|---|---|
| `acme_contract_period` | `datetime` | ACME Contract Period | [ ] | filter på plattformen, skrivbar, `6896075a66cf84149483264322680e69b411ee3e.value` | The custom field 'ACME Contract Period' of the company. |
| `acme_contract_period_until` | `datetime` | ACME Contract Period | [ ] | filter på plattformen, 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 | [ ] | filter på plattformen, skrivbar, `fe13934927824850c24048140e20616402b6aeff.value` | The custom field 'ACME Contract Value' of the company. |
| `acme_contract_value_currency` | `varchar2` | ACME Contract Value | [ ] | filter på plattformen, 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 | [ ] | filter på plattformen, skrivbar, `527fcb45fb7c3270c94bf4be803fe9ddd47ba269.value` | The custom field 'ACME Delivery Address' of the company. |
| `acme_delivery_address_admin_area_level_1` | `varchar2` | ACME Delivery Address | [ ] | filter på plattformen, 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 | [ ] | filter på plattformen, 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 | [ ] | filter på plattformen, 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 | [ ] | filter på plattformen, 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 | [ ] | filter på plattformen, 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 | [ ] | filter på plattformen, 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 | [ ] | filter på plattformen, 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 | [ ] | filter på plattformen, 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 | [ ] | filter på plattformen, 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 | [ ] | filter på plattformen, 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 | [ ] | filter på plattformen, skrivbar, `97dc6423c82198942fbaf22a2643b1d23f355cdb` | The custom field 'ACME External Reference' of the company. |
| `acme_product_lines` | `varchar2` | ACME Product Lines | [ ] | filter på plattformen, skrivbar, `79bf9d0e284bf04281c56b9dc991e42166f86efb` | The custom field 'ACME Product Lines' of the company. |
| `acme_product_lines_labels` | `varchar2` | ACME Product Lines Labels | [ ] | filtrerbar på plattformen, skrivbar, beräknad, `__labels.79bf9d0e284bf04281c56b9dc991e42166f86efb` | The labels of the chosen options of the custom field 'ACME Product Lines'. |
| `acme_region` | `int64` | ACME Region | [ ] | filter på plattformen, skrivbar, `4741923a810774c80bf83b0dcc79a08f6e59911d` | The custom field 'ACME Region' of the company. |
| `acme_region_label` | `varchar2` | ACME Region Label | [ ] | filtrerbar på plattformen, skrivbar, beräknad, `__labels.4741923a810774c80bf83b0dcc79a08f6e59911d` | The labels of the chosen options of the custom field 'ACME Region'. |
| `acme_renewal_date` | `datetime` | ACME Renewal Date | [ ] | filter på plattformen, skrivbar, `adb4fa55e4e402beaf62a61f4743352be194aaf7` | The custom field 'ACME Renewal Date' of the company. |
| `acme_seats` | `decimal` | ACME Seats | [ ] | filter på plattformen, skrivbar, `01b665b6da996dbb9999866e8248c5d4c5b6a50b` | The custom field 'ACME Seats' of the company. |
| `add_time` | `datetime` | Skapelsetid | [ ] | filtrerbar på plattformen, skrivbar, beräknad, `add_time` | The date and time of when the lead was created. |
| `archive_reason` | `varchar2` | Anledning till arkivering | [ ] | filter på plattformen, skrivbar, `archive_reason` | The reason for archiving the lead. |
| `cc_email` | `varchar2` | CC-e-post | [ ] | filtrerbar på plattformen, skrivbar, beräknad, `cc_email` | The BCC email of the lead. |
| `channel` | `int64` | Kanal | [ ] | filter på plattformen, skrivbar, `channel` | The ID of your Marketing channel this Lead was created from. |
| `channel_id` | `varchar2` | Kanal-ID | [ ] | filter på plattformen, skrivbar, `channel_id` | The optional ID to further distinguish the Marketing channel. |
| `creator_id` | `int64` | Skapar-ID | [ ] | filtrerbar på plattformen, skrivbar, beräknad, `creator_id` | The ID of the user who created the lead. |
| `expected_close_date` | `datetime` | Förväntat slutdatum | [ ] | filter på plattformen, 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] | filtrerbar på plattformen, skrivbar, beräknad, `id` | The unique ID of the lead in the UUID format. |
| `is_archived` | `char` | Är arkiverad | [ ] | filter på plattformen, skrivbar, `is_archived` | A flag indicating whether the lead is archived or not. |
| `label_ids` | `varchar2` | Etikett-ID:n | [ ] | filter på plattformen, skrivbar, `label_ids` | The IDs of the lead labels which are associated with the lead. |
| `next_activity_id` | `int64` | Nästa aktivitets-ID | [ ] | filtrerbar på plattformen, skrivbar, beräknad, `next_activity_id` | The ID of the next activity associated with the lead. |
| `organization_id` | `int64` | Organisations-ID | [ ] | filter på plattformen, skrivbar, `organization_id` | The ID of an organization which this lead is linked to. |
| `origin` | `varchar2` | Ursprung | [ ] | filtrerbar på plattformen, skrivbar, beräknad, `origin` | The way this Lead was created. |
| `origin_id` | `varchar2` | Ursprungs-ID | [ ] | filter på plattformen, 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` | Ägar-ID | [ ] | filter på plattformen, skrivbar, `owner_id` | The ID of the user who owns the lead. |
| `person_id` | `int64` | Person-ID | [ ] | filter på plattformen, skrivbar, `person_id` | The ID of a person which this lead is linked to. |
| `source_deal_id` | `int64` | Källans affärs-ID | [ ] | filtrerbar på plattformen, skrivbar, beräknad, `source_deal_id` | The ID of the deal if the lead was converted from a deal. |
| `source_name` | `varchar2` | Källnamn | [ ] | filtrerbar på plattformen, skrivbar, beräknad, `source_name` | Defines where the lead comes from. |
| `title` | `varchar2` | Titel | [ ] | filter på plattformen, skrivbar, `title` | The title of the lead. |
| `update_time` | `datetime` | Senaste uppdateringstid | [ ] | filtrerbar på plattformen, skrivbar, beräknad, `update_time` | The date and time of when the lead was last updated. |
| `value` | `varchar2` | Värde | [ ] | filter på plattformen, skrivbar, `__write_only.value` | The potential value of the lead represented by a JSON object: { "amount": 200, "currency": "EUR" }.Tas endast med vid skrivning; tom vid läsning. |
| `value_amount` | `decimal` | Värde Belopp | [ ] | filter på plattformen, skrivbar, `value.amount` | The value amount. |
| `value_currency` | `varchar2` | Värde Valuta | [ ] | filter på plattformen, skrivbar, `value.currency` | The value currency. |
| `visible_to` | `varchar2` | Synlig för | [ ] | filter på plattformen, skrivbar, `visible_to` | The visible to. |
| `was_seen` | `char` | Sågs | [ ] | filter på plattformen, skrivbar, `was_seen` | A flag indicating whether the lead was seen by someone in the Pipedrive UI. |

## Nycklar

| Nyckel | Kolumn | Avser för referens | Typ | Beskrivning |
|---|---|---|---|---|
| `Leads_creator_id_fk` | `creator_id` | [Users](Pipedrive.Users.Users)`.id` | Nyckel |  |
| `Leads_next_activity_id_fk` | `next_activity_id` | [Activities](Pipedrive.Activities.Activities)`.id` | Nyckel |  |
| `Leads_organization_id_fk` | `organization_id` | [Organizations](Pipedrive.Contacts.Organizations)`.id` | Nyckel |  |
| `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` | Nyckel |  |
| `Leads_person_id_fk` | `person_id` | [Persons](Pipedrive.Contacts.Persons)`.id` | Nyckel |  |
| `Leads_source_deal_id_ArchivedDeals_txt` | `source_deal_id` | [ArchivedDeals](Pipedrive.Deals.ArchivedDeals)`.id` | Textuell | 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` | Textuell | 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` | Nyckel |  |

## Refereras till av

- [Activities](Pipedrive.Activities.Activities) `lead_id` (Textual)
- [CallLogs](Pipedrive.Activities.CallLogs) `lead_id` (Textuell)
- [ArchivedDeals](Pipedrive.Deals.ArchivedDeals) `source_lead_id` (Textuell)
- [Affärer](Pipedrive.Deals.Deals) `source_lead_id` (textuell)
- [Files](Pipedrive.Notes.Files) `lead_id` (Textual)
- [Notes](Pipedrive.Notes.Notes) `lead_id` (Textual)
