Webhook keys

Get public key

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

get/keys/{id}

Request

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

Path parameters

idstring required

The public key identifier, as found in the X-Genie-Signing-Key header of the webhook request.

Response

Success

successtrue required
itemstring 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-----

Changes

No recorded changes to this operation across all 1 revision of this API.