create

user.sharedVaultCreate

Creates a new shared vault owned by the caller. A fresh vault master key is generated, encrypted with the caller’s master key, and stored as the owner’s access key.

Auth

Bearer JWT + unsealed vault.

Input

input SharedVaultCreateInput {
    template: SharedVaultTemplate!    # LEGAL_ENTITY | CUSTOM | PERSONAL
    name: String!
    description: String
    creditSafeConnectID: String
}

template is an enum — see enums.

GraphQL

mutation($input: SharedVaultCreateInput!) {
  user {
    sharedVaultCreate(input: $input) {
      id
      template
      name
      myRole
      createdAt
    }
  }
}

Response

Returns the new SharedVault with myRole: OWNER.

curl

curl -X POST https://api.test.geena.eu/graphql \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "query": "mutation($i: SharedVaultCreateInput!) { user { sharedVaultCreate(input: $i) { id name myRole } } }",
    "variables": { "i": { "template": "CUSTOM", "name": "Acme Acquisition 2026" } }
  }'