Skip to main content
POST
/
key_link
/
validation_keys
TypeScript
const response: Promise<FireblocksResponse<CreateValidationKeyResponseDto>> = fireblocks.keyLinkBeta.createValidationKey(keyLinkBetaApiCreateValidationKeyRequest);
{
  "validationKey": {
    "keyId": "46a92767-5f93-4a46-9eed-f012196bb4fc",
    "publicKeyPem": "-----BEGIN PUBLIC KEY ...  END PUBLIC KEY-----",
    "daysTillExpired": 365,
    "enabled": false,
    "createdAt": 12345633
  },
  "admins": [
    "<string>"
  ],
  "approvalThreshold": 0,
  "requestId": 1234
}

Documentation Index

Fetch the complete documentation index at: https://developers.fireblocks.com/llms.txt

Use this file to discover all available pages before exploring further.

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
publicKeyPem
string
required

The PEM encoded public key of the validation key being added

Example:

"-----BEGIN PUBLIC KEY ... END PUBLIC KEY-----"

daysTillExpired
number
required

The number of days from the date the validation key was added until it expires

Required range: x >= 1
Example:

365

Response

The validation key that was added and is pending approval.

validationKey
object
required

Created validation key

admins
string[]
required

Admins who have to approve the validation key addition

approvalThreshold
number
required

Minimal number of approvers required. 0 for all

Required range: x >= 0
Example:

0

requestId
number
required

Approval request id. Can be cancelled

Example:

1234