v1

latestOpenAPI 3.0.02026-07-17647099.1 KB
Key Management

Get Keys

Returns a list of Keys for the provided identity.

get/v2/identities/{identifier}/keys

Path parameters

identifierstring required

Issuer identifier

Query parameters

max_resultsinteger
Example:50

Number of items to fetch on each page. Minimum is 10. Default is 50. No maximum by the moment.

pageinteger
Example:1

Page to fetch. First is one. If omitted, page 1 will be returned.

type'babyjubJub' | 'secp256k1' | 'ed25519'
Example:babyjubJub

If not provided, all keys will be returned.

Response

Keys collection

Example response

{
  "items": [
    {
      "id": "ZGlkOnBvbHlnb25pZDpwb2x5Z29uOmFtb3k6MnFRNjhKa1JjZjN5cXBYanRqVVQ3WjdVeW1TV0hzYll",
      "keyType": "babyjubJub",
      "publicKey": "0x04e3e7e",
      "isAuthCredential": true,
      "name": "my key"
    }
  ],
  "meta": {
    "total": 1,
    "page": 1,
    "max_results": 50
  }
}