Skip to main content
POST
Bulk add secrets and folders
Creates multiple folders and secrets in a single API call. The canonical endpoint for migration from another PAM product, bulk onboarding from a CSV/spreadsheet, or populating a freshly-installed Syteca with the organization’s existing secrets. Returns a summary identifying which records were created and which failed (with reasons).
For ACB deployments updated from a version prior to 1.2, switch to the https://{hostname}/EkranACB server in the Playground.

Permissions required

The user owning the Access Token must have Editor or Owner role on the target parent folders (and Owner on the root if creating root-level folders).

Folders processed before secrets

Folders are processed before secrets within a single call — so you can reference newly-created folders by parent_folder_name in the secrets array. Each secrets[] entry has the same shape as the Add secret request body; each folders[] entry has the same shape as Add folder.

Not atomic — partial success is normal

The response’s Errors array reports per-record failures. Some records may succeed while others fail with reasons in Errors. The Playground will show this structure on a successful (200) response.
For very large migrations (10,000+ secrets), batch the request into chunks of ~500 secrets per call to avoid timeouts and rate-limit issues. The endpoint’s rate limit is 5 requests per minute per Access Token — so 500-secret batches × 5/min = 2,500 secrets/minute throughput.

Rate limit

5 requests per minute per Access Token. Lower than other write endpoints because each call typically creates many records.

Errors

See Status codes. Common errors:
  • 400 Bad Request — top-level request body malformed (per-record errors return inside the Errors array of a 200 response instead).
  • 403 Forbidden — user lacks Editor/Owner role on the target folders.
  • 429 Too Many Requests — rate limit exceeded.

Add folder

Per-folder schema.

Add secret

Per-secret schema, including type-specific fields.

CLI reference

SytecaACBConsole.exe BulkAdd command for scripted migrations.

Data models

Shared schemas for permissions, rotation, etc.

Authorizations

Authorization
string
header
required

Access token for authentication

Body

application/json
secrets
object[]

List of secrets to create

folders
object[]

List of folders to create

Response

Bulk operation completed successfully

folders
object[]

Created folders

secrets
object[]

Created secrets

errors
string[]

List of errors that occurred during bulk operation