Skip to main content
POST
Try Cobo WaaS Skill in your AI coding assistant (Claude Code, Cursor, etc.). Describe your needs in natural language to auto-generate production-ready SDK code and debug faster 🚀

Authorizations

BIZ-API-KEY
string
header
required

The API key. For more details, refer to API key.

In the API playground, enter your API secret, and your API key will be accordingly calculated.

Body

application/json

The request body to create a vault.

name
string
required

The vault name.

Example:

"My vault"

vault_type
enum<string>
required

The vault type. Possible values include:

Available options:
Org-Controlled,
User-Controlled
Example:

"Org-Controlled"

project_id
string

The project ID, which you can retrieve by calling List all projects.

Notes:

  1. If you set vault_type to OrgControlled, the value of project_id will be ignored.
  2. If you set vault_type to UserControlled, then project_id is required.
Example:

"0111039d-27fb-49ba-b172-6e0aa80e37ec"

Response

Successfully created the vault.

The data for vault information.

vault_id
string

The vault ID.

Example:

"YPdbyVaVGqXXjkUsohHw"

project_id
string

The project ID.

Example:

"0111039d-27fb-49ba-b172-6e0aa80e37ec"

name
string

The vault name.

Example:

"Vault name"

type
enum<string>

The vault type. Possible values include:

Available options:
Org-Controlled,
User-Controlled
Example:

"Org-Controlled"

root_pubkeys
object[]
created_timestamp
integer<int64>

The vault's creation time in Unix timestamp format, measured in milliseconds.

Example:

1718619403933