Skip to main content
GET
/
keys
/
{id}
Retrieve public key
curl --request GET \
  --url https://platform.versori.com/api/organisations/v1/keys/{id}
{
  "id": "<string>",
  "name": "Organisation Public Key 1",
  "publicKey": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvZgZz...==\n-----END PUBLIC KEY-----",
  "createdAt": "2023-01-01T12:00:00Z"
}

Path Parameters

id
string
required

Response

OK

id
string<ulid>
required

Unique identifier for the public key.

name
string
required

Name of the public key.

Example:

"Organisation Public Key 1"

publicKey
string
required

The public key in PEM format.

Example:

"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvZgZz...==\n-----END PUBLIC KEY-----"

createdAt
string<date-time>
required

Timestamp when the public key was created.

Example:

"2023-01-01T12:00:00Z"

I