Developer Hub
Request Demo
Request Demo
Support
  1. Employees
  • Getting Started
    • Introduction
  • API Reference
    • Admins
      • Bulk Admins Download API (Early Access)
    • Apps
      • Bulk Apps Download API (Early Access)
    • Business Owners
      • Bulk Business Owners Download API (Early Access)
      • Bulk Business Owners Upload API (Early Access)
    • Campaigns
      • Bulk Campaigns Download API (Early Access)
      • Bulk Campaigns Upload API (Early Access)
    • Configuration
      • Bulk Applied Labels Upload API (Early Access)
      • Bulk Entity Finding Rules Download API (Early Access)
      • Bulk Custom Insights (Entity Rules) Download API (Early Access)
      • Bulk Filters Download API (Early Access)
      • Bulk Filters Upload API (Early Access)
      • Bulk Findings Download API (Early Access)
      • Bulk Findings Upload API (Early Access)
      • Bulk Labels Download API (Early Access)
      • Bulk Labels Upload API (Early Access)
      • Bulk Privileged Download API (Early Access)
      • Bulk Privileged Upload API (Early Access)
      • Bulk RBAC Download API (Early Access)
      • Bulk RBAC Upload API (Early Access)
      • Bulk RBAC2 Download API (Early Access)
      • Bulk RBAC2 Upload API (Early Access)
      • Bulk Rules Download API (Early Access)
      • Bulk Rules Upload API (Early Access)
    • Employees
      • Bulk Employees Download API (Early Access)
        POST
      • Bulk Employees Upload API (Early Access)
        POST
    • Entitlements
      • Bulk Entitlements Download API (Early Access)
      • Bulk Entitlements Upload API (Early Access)
    • Entities
      • Bulk Entities Download API (Early Access)
      • Bulk Entities Upload API (Early Access)
    • EntityInsights
      • Bulk Entity Insights Download API (Early Access)
      • Bulk Entity Insights Upload API (Early Access)
    • EntityRelations
      • Bulk Entity Relations Download API (Early Access)
      • Bulk Entity Relations Upload API (Early Access)
    • EntityRBAC
      • Bulk Entity RBAC Download API
      • Bulk Entity RBAC Upload API
    • Integrations
      • Bulk Integrations Download API (Early Access)
      • Bulk Integrations Upload API (Early Access)
    • Purposes
      • Bulk Purposes Download API (Early Access)
      • Bulk Purposes Upload API (Early Access)
    • Relations
      • Bulk Relations Download API (Early Access)
      • Bulk Relations Upload API (Early Access)
    • Requests
      • Bulk Requests Download API (Early Access)
      • Bulk Requests Upload API (Early Access)
    • Reviews
      • Bulk Reviews Download API (Early Access)
      • Bulk Reviews Upload API (Early Access)
    • Playbooks
      • Bulk Playbook Templates Download API (Early Access)
      • Bulk Playbook Templates API (Early Access)
    • Webhooks
      • Bulk Webhook Templates Download API (Early Access)
      • Bulk Webhook Templates API (Early Access)
  • Playbooks
    • Overview
  1. Employees

Bulk Employees Download API (Early Access)

POST
https://app.balkan.id/api/rest/v0/employees/download-url
Employees

BalkanID Employees Download CSV Format#

In this section, we will explain the BalkanID Employees CSV format.

Sample CSV#

Employee IDFull NameFirst NameLast NameWork Email*DepartmentTitleStart Date*End DateEmployment TypeManagerManager Work EmailSource Employee IDBalkanID RolesMetadata VersionMetadata
1Ahmed AliAhmedAliaali@example.comSalesSales Representative01/21/2021Full-timeMaria Gomezmgomez@example.comreviewer, riskmanager, adminv1{"location": {"address": "1234 West Street, Office 111, Anytown, NY 12345"}}
2Maria GomezMariaGomezmgomez@example.comMarketingMarketing Manager07/13/2020Part-timeAhmed Aliaali@example.com23reviewer, adminv1{"location": {"address": "1234 West Street, Office 111, Anytown, NY 12345"}, "role id": "ABCDEFGH"}
3Xiaoyun LiuXiaoyunLiuxliu@example.comITIT Analyst01/01/2019ContractorMaria Gomezmgomez@example.comreviewerv1{"location": {"address": "1234 West Street, Office 112, Anytown, NY 12345"}, "role id": "ABCDEFGH"}
4Fatimah Al-SaudFatimahAl-Saudfasaud@example.comHRHR Coordinator05/20/2019Full-timeAhmed Aliaali@example.com3251reviewerv1{"location": {"address": "1234 West Street, Office 111, Anytown, NY 12345"}}
5Pierre DupontPierreDupontpdupont@example.comOperationsOperations Manager08/15/2019Full-timeMaria Gomezmgomez@example.comreviewer, adminv1{"location": {"address": "1234 West Street, Office 111, Anytown, NY 12345"}, "role id": "IJKLMNOP"}
6Siti FatimahSitiFatimahsfatimah@example.comFinanceFinancial Analyst10/31/2019Part-timeAhmed Aliaali@example.comreviewerv1{"location": {"address": "1234 West Street, Office 113, Anytown, NY 12345"}, "role id": "ABCDEFGH"}
7Taro YamadaTaroYamadatyamada@example.comLegalLawyer01/01/2020Full-timeMaria Gomezmgomez@example.comreviewerv1{"location": {"address": "1234 West Street, Office 111, Anytown, NY 12345"}, "role id": "IJKLMNOP"}
8Nadezhda IvanovaNadezhdaIvanovanivanova@example.comEngineeringMechanical Engineer03/15/2020ContractorAhmed Aliaali@example.comreviewerv1{"\location": {"address": "1234 West Street, Office 111, Anytown, NY 12345"}}
9Muhammad KhanMuhammadKhanmkhan@example.comCustomerService06/30/2020Full-timeMaria Gomezmgomez@example.comreviewerv1{"location": {"address": "1234 West Street, Office 111, Anytown, NY 12345"}}
10Sanjay GuptaSanjayGuptasgupta@example.comResearchResearch Analyst09/15/2020Full-timeAhmed Aliaali@example.comreviewerv1{"location": {"address": "1234 West Street, Office 111, Anytown, NY 12345"}, "role id": "ABCDEFGH"}
NOTE: Columns with * are required always.
Column Definitions#
Column NameColumn Description
Employee IDRequired - A unique identifier for the employee. This is the internal balkan id of the employee
Full NameOne of Full Name, First Name, or Last Name required - The employee's full name. This is the recommended name field to use. In the sample CSV, this is: Ahmed Ali, Maria Gomez, etc.
First NameOne of Full Name, First Name, or Last Name required - The employee's first name. Using Full Name is recommended, but First Name can also be provided. In the sample CSV, this is: Ahmed, Maria, etc.
Last NameOne of Full Name, First Name, or Last Name required - The employee's last name. Using Full Name is recommended, but Last Name can also be provided. In the sample CSV, this is: Ali, Gomez, etc.
Work EmailRequired - The work email of the employee. In the sample CSV, this is: aali@example.com, mgomez@example.com, etc.
DepartmentOptional - The employee's department. In the sample CSV, this is: Sales, Marketing, etc.
TitleOptional- The employee's job title. In the sample CSV, this is: Sales Representative, Marketing Manager, etc.
Start DateRequired - The employee's start date in MM/DD/YYYY format. In the sample CSV, this is: 01/21/2021, 07/13/2020, etc.
End DateOptional - The employee's termination date, if any, in MM/DD/YYYY format. In the sample CSV, there are no End Dates listed, meaning everyone is still with the company.
Employment TypeOptional - The type of employment. In the sample CSV, this is: Full-time, Part-time, etc.
ManagerOptional - The full name of the employee's manager. In the sample CSV, this is: Maria Gomez, Ahmed Ali, etc.
Manager Work EmailOptional - The work email of the employee's manager. In the sample CSV, this is: mgomez@example.com, aali@example.com, etc.
Source Employee IDOptional - A unique identifier for the employee from the source system. This can be a number or a string. In the sample CSV, this is 23, 3251, etc.
BalkanID RolesRequired - Roles of the Employee in the Balkan ID application. Can be - reviewer, riskmanager, admin
OrganizationOptional - The organization the employee belongs to.
Metadata VersionOptional - The version for the Metadata. The only supported version as of now is v1. The Metadata fields supported in v1 are - location (json - address (string)), role id (string), employee (string), manager id (string), manager name (string), app (string), correlation id (string), tenant (string), timestamp (string). Even though the following fields are supported, they are meant for internal use and are only supported for the purpose of being able to download from an Employee integration (like Finch or Google) and then upload after edits to the Employee without losing relevant information about the original extraction from the integration - app (string), correlation id (string), tenant (string), timestamp (string).
MetadataOptional - Metadata that is to be added to the Employee. This is a JSON object (see examples). Currently only Metadata of version v1 is supported.
Required Columns#
Work Email and Start Date are always required.
One of Full Name, First Name, or Last Name are required. You may provide one, two, or all three of Full Name, First Name, or Last Name.
All other columns are optional.

Download the CSV file via the pre-signed URL#

After retrieving the pre-signed URL in the previous step, all that remains is to download the CSV in BalkanID Employees CSV format from the pre-signed URL.
To use the polling URL, first send an HTTP request with the method HEAD to the pollingUrl.
If the response status code is 404, the file is not ready, and you should retry this polling request after a delay.
If the response status code is 200, the file is ready, and you may proceed to download the CSV from the received url.

Request

Header Params
X-Api-Key-ID
string 
optional
X-Api-Key-Secret
string 
optional
Content-Type
string 
optional
Default:
application/json

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://app.balkan.id/api/rest/v0/employees/download-url' \
--header 'X-Api-Key-ID;' \
--header 'X-Api-Key-Secret;' \
--header 'Content-Type: application/json'

Responses

🟢200OK
application/json
download url response
Body
Download URL endpoint response
pollingUrl
string 
required
The value is the polling URL which you will use to poll to find if the data is ready for download.
url
string 
required
The value is the download URL from which you will download your CSV file.
Example
{
    "pollingUrl": "string",
    "url": "string"
}
🔴500Server Error
Previous
Bulk Rules Upload API (Early Access)
Next
Bulk Employees Upload API (Early Access)
Built with