---
title: "Bootstrap workspace Recovery Kit usage"
method: POST
path: "/api/workspaces/{workspaceId}/enterprise/recovery-kits/bootstrap"
tags: ["workspaces"]
---

# Bootstrap workspace Recovery Kit usage

`POST /api/workspaces/{workspaceId}/enterprise/recovery-kits/bootstrap`

## Request

- Base URL: `https://rstream.io`
- URL: `https://rstream.io/api/workspaces/{workspaceId}/enterprise/recovery-kits/bootstrap`
- Auth: HTTP bearer

## Path parameters

- `workspaceId` string, required

## Request body

- BootstrapWorkspaceRecoveryKitParams
  - `fingerprint` string, required
  - `checksum` string, required

## Response `200`

Successful response.

- BootstrapWorkspaceRecoveryKitResponse
  - `keyset` object, required
    - `id` string, required
    - `publicEncryptionKey` string, required
    - `publicSigningKey` string, nullable, required
    - `fingerprint` string, required
  - `recoveryKit` object, required
    - `id` string, required
    - `fingerprint` string, required
    - `checksum` string, required
  - `recoveryEnvelope` object, required
    - `id` string, required
    - `keysetId` string, required
    - `recipientKind` 'recovery_kit', required
    - `recipientId` string, required
    - `ciphertext` string, required
    - `crypto` object, required
      - `suite` 'p256-hkdf-sha256-aes-256-gcm', required
      - `keyId` string
      - `encapsulatedKey` string
      - `context` Schema0 (unresolved $ref)
    - `createdAt` string, date-time, required
    - `revokedAt` string, date-time, nullable, required

## Other responses

- `400`: Request validation failed.
- `401`: Authentication is required.
- `403`: The token is not authorized.
- `404`: Workspace not found.

---

[API](https://skmtc.dev/rstream/apis/rstream-api.md) · [All operations](https://skmtc.dev/rstream/apis/rstream-api/llms.txt) · [OpenAPI document](https://skmtc.dev/rstream/apis/rstream-api/revisions/a840a2c91f22?raw)
