---
title: "[Progic] How to send the employee database: API v2 and spreadsheet"
description: "Learn how to send the employee database to Progic using API v2 or a spreadsheet: new identifier options, accepted fields and HR data integration."
---

[Skip to content](https://help.progic.com.br/en/how-to-send-the-employee-database-api-v2-and-spreadsheet#main-content)

- [English](https://help.progic.com.br/en/how-to-send-the-employee-database-api-v2-and-spreadsheet)
- [Español](https://help.progic.com.br/es/cómo-enviar-la-base-de-colaboradores-api-v2-y-hoja-de-cálculo)
- [Português](https://help.progic.com.br/pt/como-enviar-a-base-de-colaboradores-api-v2-e-planilha)

English

Show submenu for translations

![progic\_120\_55](https://help.progic.com.br/hs-fs/hubfs/progic_120_55.png?width=120&height=55&name=progic_120_55.png)

Open main navigation

Close main navigation

- - [English](https://help.progic.com.br/en/how-to-send-the-employee-database-api-v2-and-spreadsheet)
    - [Español](https://help.progic.com.br/es/cómo-enviar-la-base-de-colaboradores-api-v2-y-hoja-de-cálculo)
    - [Português](https://help.progic.com.br/pt/como-enviar-a-base-de-colaboradores-api-v2-e-planilha)

  English
  
  Show submenu for translations
- [Contact us](https://ty05a.share.hsforms.com/2RIyv8iaWR9qVScnzVXKQSQ)

[Contact us](https://ty05a.share.hsforms.com/2RIyv8iaWR9qVScnzVXKQSQ)

 How can we help you?

- There are no suggestions because the search field is empty.

1. [Central de Ajuda](https://help.progic.com.br/en?hsLang=en)
2. [Platform](https://help.progic.com.br/en/platform?hsLang=en)
3. [Integration and Security](https://help.progic.com.br/en/platform?hsLang=en#integration-and-security)

# \[Progic\] How to send the employee database: API v2 and spreadsheet

Version 2 of the Employee API and the new import spreadsheet expand the information you can send to the platform and let you choose how each employee is identified.

With these features, you can integrate the employee database even when the source system doesn’t use CPF as the identifier, and send data such as preferred name, gender identity, vacation period, segmentation lists and the company code used at login.

> 💡 **Important:** version 1 of the API and the previous spreadsheet template keep working normally. None of the new fields is required, and simply adopting version 2 doesn’t change existing integrations.

> 🔗 **Using Senior or TOTVS?** This article covers the Employee API, used when your company’s system sends data to Progic. If your company uses Senior or TOTVS, you can also connect the platform directly to the HR system, with no development. See [How to set up an employee database integration with your HR system.](https://help.progic.com.br/en/how-to-set-up-an-employee-database-integration-with-your-hr-system?hsLang=en)

### In this article

- [How to choose the employee’s unique identifier](https://help.progic.com.br/en/how-to-send-the-employee-database-api-v2-and-spreadsheet#como-escolher-identificador-unico)
- [Information now accepted](https://help.progic.com.br/en/how-to-send-the-employee-database-api-v2-and-spreadsheet#information-now-accepted)
- [How to send the original HR system data](https://help.progic.com.br/en/how-to-send-the-employee-database-api-v2-and-spreadsheet#send-original-hr-data)
- [Import spreadsheet layouts](https://help.progic.com.br/en/how-to-send-the-employee-database-api-v2-and-spreadsheet#spreadsheet-layouts)
- [What doesn’t change](https://help.progic.com.br/en/how-to-send-the-employee-database-api-v2-and-spreadsheet#what-doesnt-change)
- [Most common error messages](https://help.progic.com.br/en/how-to-send-the-employee-database-api-v2-and-spreadsheet#common-error-messages)
- [Frequently asked questions](https://help.progic.com.br/en/how-to-send-the-employee-database-api-v2-and-spreadsheet#frequently-asked-questions)
- [Best practices](https://help.progic.com.br/en/how-to-send-the-employee-database-api-v2-and-spreadsheet#best-practices)

### How to choose the employee’s unique identifier

The unique identifier is the information the platform uses to recognize an employee who is already registered and decide whether to create a new record or update the existing one.

Previously, this identifier was always the CPF (Brazilian taxpayer ID). Now you can choose from three options:

- CPF (default option);
- company code + employee ID;
- corporate email.

The choice applies to both the API and spreadsheet import.

### What becomes required

Only the fields chosen as the identifier are required. The others are no longer mandatory:

- when using the PIN, the PIN is required;
- when using company code + employee ID, both fields are required and the CPF becomes optional;
- when using email, the email is required and the CPF becomes optional.

#### Things to watch when choosing

- The employee ID alone can repeat across different companies. That’s why it only works as an identifier when combined with the company code.
- When using email, make sure no two employees share the same address in the same account. The check is not case-sensitive.
- Changing the identifier of an already integrated database requires care, because records created with one identifier may not be recognized by another.

### Information now accepted

In addition to the existing fields, version 2 accepts:

- source system identifier: the employee’s code in the payroll or HR system;
- company code: used at login, for example PROGIC or EINSTEIN;
- preferred first and last name;
- sex: MALE, FEMALE, INTERSEX, NOT\_SPECIFIED, PREFER\_NOT\_TO\_SAY;
- gender identity: MAN, WOMAN, NON\_BINARY, NOT\_SPECIFIED, PREFER\_NOT\_TO\_SAY;
- segmentation lists: which lists the employee should be included in;
- Windows domain and user: in the DOMAIN\\user format, up to 255 characters;
- vacation start and end;
- termination date, available in the API. It is also filled in automatically whenever the employee’s status changes to Blocked.

Segmentation lists must be given as the numeric codes of lists already registered in the account, separated by commas, for example 1,2. List names are not accepted.

### How to send the original HR system data

Each employee data item can also be sent in its original version, that is, as it appears in the HR system.

These fields are optional and exist for two reasons:

- to compare, with each integration, what changed in the source system;
- to serve as the basis for data standardization rules, already available in HR system integrations.

For most fields, the value is kept as it came from the source, without trimming spaces, adjusting case or converting date formats. Some fields, such as the PIN, have their own handling, and the platform distinguishes between a missing field, a null value and an empty value. That’s why you can send, for example, the original hire date as 08/06/2022 even if the platform’s standard field uses another format.

You can fill in only the standard fields, only the original fields, or both sets in the same operation.

### Import spreadsheet layouts

Spreadsheet import accepts three layouts, and the platform identifies which one is being used by the number of columns:

| **Layout** | **Columns** | **When to use it** |
| --- | --- | --- |
| Original | 16 | Spreadsheets already in use, unchanged |
| Extended | 24 | To use the new fields |
| Extended with original data | 49 | To also send the values exactly as they are in the HR system |

File reading now correctly handles quoted values that contain commas, which avoids errors in fields such as job title and department.

### What doesn’t change

- Version 1 of the API keeps working normally.
- The spreadsheet in the previous format keeps working normally.
- No new field is required.
- Fields that aren’t sent keep the value already registered.

> ⚠️ **Attention:** a field that isn’t sent is different from a field sent blank. In the spreadsheet, a column that is present with an empty cell clears the value already registered. When updating existing employees, check that no cell was left blank by mistake.

### Most common error messages

Response messages now state exactly what needs to be fixed, instead of showing a generic error.

| **Situation** | **What to do** |
| --- | --- |
| Invalid value for sex or gender identity | The message lists the accepted values. Use one of them |
| Segmentation list given by name | Use the numeric list codes, separated by commas |
| List code doesn’t exist | Confirm the list exists and belongs to your account |
| Invalid company code | Confirm the code set up for your account |
| Vacation end before start | Review both dates |
| Windows domain in the wrong format | Use the DOMAIN\\user format |

When an update isn’t applied because the field is protected in the record, the platform also reports it. [Learn more about field protection.](https://help.progic.com.br/en/employee-database-integration-log?hsLang=en)

### Frequently asked questions

#### Do I need to migrate to version 2 now?

No. Version 1 keeps working. Version 2 is only needed to use the new fields and choose the unique identifier.

#### Can I keep using my current spreadsheet?

Yes. The previous 16-column template is still accepted.

#### Can I stop sending the CPF?

Yes, as long as the chosen unique identifier is something else. In that case, the CPF becomes optional.

#### Do I need to fill in all the new fields?

No. All are optional, and fields not sent keep the value already registered. Just be careful with the spreadsheet: an empty cell in a column that is present clears the existing value.

#### Do I need to send the original HR system data?

No. It’s optional but recommended: it stores the values as they are in the HR system and lets you compare what changed with each submission.

#### Does the termination date need to be in the spreadsheet?

No. It can be sent through the API and is filled in automatically when the employee’s status changes to Blocked.

#### If I stop sending an employee, are they blocked?

No. Not sending an employee doesn’t change their record. To block them, send the status change to Blocked. The termination date is filled in automatically at that moment.

#### How do I confirm the integration worked?

Check the Employee Operations History in the Audit Center. It records every API call, import and manual change, with the fields changed in each record. [See the article on the employee database integration log.](https://help.progic.com.br/en/employee-database-integration-log?hsLang=en)

### Best practices

- Define the unique identifier before starting the integration and keep the same criterion over time.
- Send the original HR system data whenever possible, to make it easier to compare submissions and standardize data.
- After each import or integration, check the indicators in the Employee Operations History.
- Use field protection for information that must be maintained manually.
- Validate segmentation list codes before including them in the integration.
- Test with a small group of employees before processing the full database.

### Related articles

- [Integration of the Employee Database with Progic Manager](https://help.progic.com.br/en/integra%C3%A7%C3%A3o-da-base-de-colaboradores-com-o-progic-manager?hsLang=en)
- [How to set up an employee database integration with your HR system](https://help.progic.com.br/en/how-to-set-up-an-employee-database-integration-with-your-hr-system?hsLang=en)
- [Employee database integration log](https://help.progic.com.br/en/employee-database-integration-log?hsLang=en)
- [Employee Field Protection](https://help.progic.com.br/en/employee-field-protection?hsLang=en)
- [Employee termination date](https://help.progic.com.br/en/employee-termination-date?hsLang=en)

- [Corporate TV](https://help.progic.com.br/en/corporate-tv?hsLang=en#main-content)

    - [Channels & Campaigns](https://help.progic.com.br/en/corporate-tv?hsLang=en#channels-campaigns)
    - [Media and Uploads](https://help.progic.com.br/en/corporate-tv?hsLang=en#media-and-uploads)
    - [Creative Resources & Editorial Sections](https://help.progic.com.br/en/corporate-tv?hsLang=en#creative-resources-editorial-sections)
    - [Playlists](https://help.progic.com.br/en/corporate-tv?hsLang=en#playlists)
    - [Connectivity & Network](https://help.progic.com.br/en/corporate-tv?hsLang=en#connectivity-network)
    - [User Management & Access](https://help.progic.com.br/en/corporate-tv?hsLang=en#user-management-access)
    - [Manager](https://help.progic.com.br/en/corporate-tv?hsLang=en#manager)
    - [Broadcast and Monitoring](https://help.progic.com.br/en/corporate-tv?hsLang=en#broadcast-and-monitoring)
    - [Installation & Initial Configuration](https://help.progic.com.br/en/corporate-tv?hsLang=en#installation-initial-configuration)
- [Platform](https://help.progic.com.br/en/platform?hsLang=en#main-content)

    - [Integration and Security](https://help.progic.com.br/en/platform?hsLang=en#integration-and-security)
    - [Management and Operations](https://help.progic.com.br/en/platform?hsLang=en#management-and-operations)
    - [Tips and Best Practices](https://help.progic.com.br/en/platform?hsLang=en#tips-and-best-practices)
- [Apps](https://help.progic.com.br/en/apps?hsLang=en#main-content)

    - [Mobile](https://help.progic.com.br/en/apps?hsLang=en#mobile)
- [New Manager Caqui](https://help.progic.com.br/en/new-manager-caqui?hsLang=en)

[![progic\_120\_55-1](https://help.progic.com.br/hs-fs/hubfs/progic_120_55-1.png?width=120&height=55&name=progic_120_55-1.png "progic_120_55-1")](https://progic.com.br/?utm_source=hubspot)

<https://www.instagram.com/progic_tv/> <https://progic.com.br/>

Copyright © 2026, Progic