---
title: "Discovers certificates by identity key"
method: POST
path: "/discoverByIdentityKey"
tags: ["HTTPWalletJSON"]
---

# Discovers certificates by identity key

`POST /discoverByIdentityKey`

## Request body

- object
  - `seekPermission` boolean
  - `identityKey` string
  - `limit` integer
  - `offset` integer

## Response `200`

The discovered certificates

- DiscoverCertificatesResult
  - `totalCertificates` number
  - `certificates` AcquireCertificateResult
    - `certifier` string
    - `type` string
    - `serialNumber` string
    - `attributes` object
    - `issuanceTime` string
    - `expirationTime` string

## Other responses

- `400` — Invalid input
- `500` — Internal server error

## Changes

- **2024-12-10** `354750509065` — 6 info
  - added the optional property `certificates/attributes` to the response with the `200` status
  - added the optional property `certificates/certifier` to the response with the `200` status
  - added the optional property `certificates/expirationTime` to the response with the `200` status
  - added the optional property `certificates/issuanceTime` to the response with the `200` status
  - …2 more

[Change history](https://skmtc.dev/bsv-blockchain/apis/wallet-json-api/changes/discoverByIdentityKey/post.md)

---

[API](https://skmtc.dev/bsv-blockchain/apis/wallet-json-api.md) · [All operations](https://skmtc.dev/bsv-blockchain/apis/wallet-json-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/bsv-blockchain/wallet-json-api/revisions/b3194b485433/schema)
