Skip to main content
POST
TypeScript

Headers

Idempotency-Key
string

A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours.

Body

application/json
count
integer
required

Count

Example:

1000

baseAssetIds
string[]
required

Array of base asset IDs

Example:
names
string[]

Names to assign to vault accounts. if vaultAccountNamesStartingIndex or prefix is used it'll fail

Example:
vaultAccountNamesStartingIndex
integer

Copy vault accounts names starting from this index. If names array is used it'll fail

Example:

0

prefix
string

When copying from existing vault accounts (vaultAccountNamesStartingIndex) then adding a prefix to the names. If names array is used it'll fail

Example:

"Copied from: "

tagIds
string<uuid>[]

Optional list of tag IDs to attach to all created vault accounts

Maximum array length: 20
Example:
vaultType
enum<string>
default:MPC

Type of vault accounts to create. The default type is MPC. KEY_LINK creates Key Link vault accounts. It requires a Key Link workspace. With autoAssign set to true, the vault accounts are bound to the workspace's Key Link signing keys, assigned automatically from the available keys, and only one KEY_LINK bulk creation with autoAssign set to true can run per workspace at a time. With autoAssign set to false (the default), the vault accounts are created without keys. With KEY_LINK, names, vaultAccountNamesStartingIndex, prefix and tagIds work as they do for MPC, and baseAssetIds may be empty to create vault accounts without wallets.

Available options:
MPC,
KEY_LINK
Example:

"KEY_LINK"

autoAssign
boolean
default:false

Applicable only when vaultType is KEY_LINK. For MPC, this parameter is ignored. If set to true, keys are assigned to every created vault account. If there are not enough available keys to assign, the request returns an error and no vault accounts are created. If set to false, the vault accounts are created without any keys, and baseAssetIds must be empty because wallets can only be created for vault accounts that have keys.

Example:

true

Response

A JobCreated object

jobId
string
approvalRequestId
string

Approval request ID. Returned when a tag triggers an approval flow.