---
title: "Get public key"
method: GET
path: "/keys/{id}"
tags: ["Webhook keys"]
---

# Get public key

`GET /keys/{id}`

## Request

- Base URL: `https://api.genie.akahu.io/v1`
- URL: `https://api.genie.akahu.io/v1/keys/{id}`
- Auth: HTTP bearer

Retrieve a public key for the purpose of validating webhook events.

## Path parameters

- `id` string, required

## Response `200`

Success

- object
  - `success` true, required
  - `item` string, required: The RSA public key in PEM format. For example: ``` -----BEGIN PUBLIC KEY----- MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAr0i3NmhhRvHeTjmfniu6 7e2flbT90DSC1SNKj6/VaLC860A/ziW2gDdsGcqARqzzuA37J0Naqm+2F09RWmK7 OCw+3Xus3dCwATeA6jh+Z/qtb1ZNfg4pebD+haVjSk9H1bj+ZLIdF1nEMnxwGTra 2K7PDxLsaek6lEPjlU6M5LJ5DOOkzzVbnJx+B0+MK6hGCUmFbsZDbAPSdVbWBz8t 562oQaTKzmw/vsfEFIFgsPEJX9TAchnKuf0RS0wow/rBECZd9qSGRK5o6erph1yR o14WufnWHVIA1sRn4isJ6xjf2fCccFvOcLp6el+Y7ZN0D67MZ6PR8KaswagL6BcC gwIDAQAB -----END PUBLIC KEY----- ```

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `429`: Rate Limiting
- `500`: Internal Server Error

---

[API](https://skmtc.dev/akahu/apis/genie-transaction-enrichment-api.md) - [All operations](https://skmtc.dev/akahu/apis/genie-transaction-enrichment-api/llms.txt) - [OpenAPI document](https://skmtc.dev/akahu/apis/genie-transaction-enrichment-api/revisions/b572302ad274?raw)
