# kommo fields

> The 79 fields of the kommo connector: field ID, name, type and description.

Use the field ID in the `fields` parameter of a request to `https://connectors.windsor.ai/kommo`. This list comes from `GET https://connectors.windsor.ai/kommo/fields`; the same call returns it as JSON, with more detail.

## Companies

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `company_closest_task_at` | Company Closest Task At | `TIMESTAMP` | When the closest open task on the company is due. |
| `company_contacts_count` | Company Contacts | `NUMERIC` | The number of contacts linked to the company. |
| `company_created_at` | Company Created At | `TIMESTAMP` | When the company was created. |
| `company_group_id` | Company Group ID | `TEXT` | The group of the user responsible for the company. |
| `company_id` | Company ID | `TEXT` | The unique identifier for the company. |
| `company_leads_count` | Company Leads | `NUMERIC` | The number of leads linked to the company. |
| `company_name` | Company Name | `TEXT` | The name of the company. |
| `company_responsible_user_id` | Company Responsible User ID | `TEXT` | The unique identifier of the user responsible for the company. |
| `company_tags` | Company Tags | `TEXT` | The comma-separated tags attached to the company. |
| `company_updated_at` | Company Updated At | `TIMESTAMP` | When the company was last updated. |

## Contacts

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `contact_closest_task_at` | Contact Closest Task At | `TIMESTAMP` | When the closest open task on the contact is due. |
| `contact_company_id` | Contact Company ID | `TEXT` | The unique identifier of the company the contact belongs to. |
| `contact_created_at` | Contact Created At | `TIMESTAMP` | When the contact was created. |
| `contact_first_name` | Contact First Name | `TEXT` | The first name of the contact. |
| `contact_group_id` | Contact Group ID | `TEXT` | The group of the user responsible for the contact. |
| `contact_id` | Contact ID | `TEXT` | The unique identifier for the contact. |
| `contact_last_name` | Contact Last Name | `TEXT` | The last name of the contact. |
| `contact_leads_count` | Contact Leads | `NUMERIC` | The number of leads linked to the contact. |
| `contact_name` | Contact Name | `TEXT` | The full name of the contact. |
| `contact_responsible_user_id` | Contact Responsible User ID | `TEXT` | The unique identifier of the user responsible for the contact. |
| `contact_tags` | Contact Tags | `TEXT` | The comma-separated tags attached to the contact. |
| `contact_updated_at` | Contact Updated At | `TIMESTAMP` | When the contact was last updated. |

## General

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `account_id` | Account ID | `TEXT` | The Kommo subdomain the data was pulled from. |
| `account_name` | Account Name | `TEXT` | The name of the Kommo account. |
| `date` | Date | `DATE` | The date of the record. |

## Leads

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `lead_closed_at` | Lead Closed At | `TIMESTAMP` | When the lead was closed as won or lost. |
| `lead_closest_task_at` | Lead Closest Task At | `TIMESTAMP` | When the closest open task on the lead is due. |
| `lead_company_id` | Lead Company ID | `TEXT` | The unique identifier of the company linked to the lead. |
| `lead_contacts_count` | Lead Contacts | `NUMERIC` | The number of contacts linked to the lead. |
| `lead_created_at` | Lead Created At | `TIMESTAMP` | When the lead was created. |
| `lead_deal_name` | Lead Deal Name | `TEXT` | The name of the lead. |
| `lead_group_id` | Lead Group ID | `TEXT` | The group of the user responsible for the lead. |
| `lead_id` | Lead ID | `TEXT` | The unique identifier for the lead. |
| `lead_loss_reason` | Lead Loss Reason | `TEXT` | The reason the lead was lost. |
| `lead_loss_reason_id` | Lead Loss Reason ID | `TEXT` | The unique identifier of the reason the lead was lost. |
| `lead_main_contact_id` | Lead Main Contact ID | `TEXT` | The unique identifier of the main contact linked to the lead. |
| `lead_pipeline_id` | Lead Pipeline ID | `TEXT` | The unique identifier of the pipeline the lead is in. |
| `lead_price` | Lead Price | `NUMERIC` | The sale value of the lead in the account currency. |
| `lead_responsible_user_id` | Lead Responsible User ID | `TEXT` | The unique identifier of the user responsible for the lead. |
| `lead_source` | Lead Origin | `TEXT` | The name of the source the lead came from. |
| `lead_source_id` | Lead Origin ID | `TEXT` | The unique identifier of the source the lead came from. |
| `lead_status_id` | Lead Stage ID | `TEXT` | The unique identifier of the stage the lead is in. |
| `lead_tags` | Lead Tags | `TEXT` | The comma-separated tags attached to the lead. |
| `lead_updated_at` | Lead Updated At | `TIMESTAMP` | When the lead was last updated. |

## Pipelines

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `pipeline_id` | Pipeline ID | `TEXT` | The unique identifier for the pipeline. |
| `pipeline_is_archive` | Pipeline Is Archive | `BOOLEAN` | Whether the pipeline is archived. |
| `pipeline_is_main` | Pipeline Is Main | `BOOLEAN` | Whether the pipeline is the main one of the account. |
| `pipeline_is_unsorted_on` | Pipeline Incoming Leads Enabled | `BOOLEAN` | Whether Incoming Leads are enabled for the pipeline. |
| `pipeline_name` | Pipeline Name | `TEXT` | The name of the pipeline. |

## Stages

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `stage_color` | Stage Color | `TEXT` | The color of the stage in the Kommo interface. |
| `stage_id` | Stage ID | `TEXT` | The unique identifier for the pipeline stage. |
| `stage_is_editable` | Stage Is Editable | `BOOLEAN` | Whether the stage can be edited. |
| `stage_name` | Stage Name | `TEXT` | The name of the pipeline stage. |
| `stage_pipeline_id` | Stage Pipeline ID | `TEXT` | The unique identifier of the pipeline the stage belongs to. |
| `stage_type` | Stage Type | `TEXT` | The type of the stage: 0 for a regular stage, 1 for Incoming Leads. |

## Users

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `user_email` | User Email | `TEXT` | The email address of the user. |
| `user_id` | User ID | `TEXT` | The unique identifier for the user. |
| `user_is_active` | User Is Active | `BOOLEAN` | Whether the user is active in the account. |
| `user_is_admin` | User Is Admin | `BOOLEAN` | Whether the user is an administrator of the account. |
| `user_lang` | User Language | `TEXT` | The interface language of the user. |
| `user_name` | User Name | `TEXT` | The name of the user. |

## Other

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `data_fetched_at` | Data fetched at | `TIMESTAMP` | UTC timestamp (second precision) of when the connector request that pulled the row started. Freshly pulled rows show this request's start time; cache hits keep the start time of the request that filled the cache. Selecting this field disables aggregation, so rows are returned individually (each kee… |
| `datasource` | Data Source | `TEXT` | The name of the Windsor connector returning the row |
| `day_of_month` | Day of month | `TEXT` | Day of the month |
| `month` | Month | `TEXT` | Number of the month |
| `now` | Now | `TIMESTAMP` | Current timestamp |
| `source` | Source | `TEXT` | The name of the Windsor connector returning the row |
| `today` | Today | `DATE` | Today's date |
| `week` | Week | `TEXT` | Week (Sun-Sat). |
| `week_day` | Day of week and day number | `TEXT` | Weekday number and name combined (Sun-Sat).Numbered from 0 Sunday to 6 Saturday. |
| `week_day_iso` | Day of week and day number, ISO | `TEXT` | Weekday number and name combined, ISO format (Mon-Sun).Numbered from 1 Monday to 7 |
| `week_iso` | Week ISO | `TEXT` | Week, ISO format (Mon-Sun). |
| `year` | Year | `TEXT` | Year |
| `year_month` | Yearmonth | `TEXT` | Year and month, e.g. 2024\|3 |
| `year_month_name` | Year month name | `TEXT` | Year and month with the month name written out, e.g. "Jan 2025". |
| `year_of_week` | Year of week | `TEXT` | The year that contains first day of the week (Sun-Sat). |
| `year_of_week_iso` | Year of week, ISO | `TEXT` | The year that contains first day of the ISO week (Mon-Sun). |
| `year_week` | Year week | `TEXT` | Year and week for US weeks (Sun-Sat), e.g. 2024\|15 |
| `year_week_iso` | Year week ISO | `TEXT` | Year and week for ISO weeks (Mon-Sun), e.g. 2024\|20 |
