BalkanID API CLI
BalkanID API CLI is a command line interface that can be installed on any system and provides commands to interact with the BalkanID APIs, both downloading and uploading data.
BalkanID Bulk Download CLI
The bulk-download-cli allows you to retrieve various datasets from your BalkanID tenant.
bulk-download-cli --help
Usage:
bulk-download-cli [command]
Available Commands:
admins Download admins data
applied-labels Download applied labels data
apps Download apps data
business-owners Download business owners data
campaigns Download campaigns data
completion Generate the autocompletion script for the specified shell
custom-insights Download custom insights data
employees Download employees data
entities Download entities data
entity-finding-rules Download entity finding rules data
entity-insights Download entity insights data
entity-rbac Download entity rbac data
entity-relations Download entity relations data
entitlements Download entitlements data for an integration
filters Download filters data
findings Download findings data
help Help about any command
integrations Download integrations data
labels Download labels data
playbook-templates Download playbook-templates data
privileged Download privileged data
purposes Download purposes data
relations Download employees identities relations data
requests Download access requests data
reviews Download all reviews
reviews-by-campaign Download reviews for a campaign
rules Download rules data
webhook-templates Download webhook-templates data
Flags:
-h, --help help for bulk-download-cli
Use "bulk-download-cli [command] --help" for more information about a command.BalkanID Bulk Upload CLI
The bulk-upload-cli allows you to upload various datasets to your BalkanID tenant.
CLI Usage Examples
Here are some examples demonstrating how to use the bulk-download-cli commands. Remember to replace <SECRET> and <API_KEY> with your actual credentials. The usage pattern for bulk-upload-cli follows a similar structure.
Example 1: Downloading Campaigns
To download campaigns data, you can specify whether to include completed and draft campaigns.
Command Help:
Output:
Running the Command:
The CLI will then prompt for further details:
You will receive a download URL where you can retrieve the campaign data.
Example 2: Downloading Reviews for a Specific Campaign
To download reviews for a particular campaign, you'll need its Campaign ID.
Running the Command:
The CLI will prompt for the Campaign ID:
The system will periodically check if the file is ready and provide a download URL once it's available.
Need Assistance?
If you need any help or assistance with the BalkanID API CLI or any other part of the platform, don't hesitate to reach out to the BalkanID team at [email protected].
Last updated
Was this helpful?

