Skip to main content

Get the public key to verify the webhook signature

GET /v2/webhook-public-keys/{serial}/
v2
GET
extension-get-public-key

Request

  • serialstring
    required

    The serial id of a specific public key. Use latest to get the latest public key.

Responses

application/json

Use this public key to verify the webhook signature on your end.

  • algorithmstring
    required
  • keystring (byte)
    required

    base64 encoded public key

  • serialstring (uuid)
    required

Usage examples

$ curl \
--fail \
--location \
-H "Authorization: Bearer $MITTWALD_API_TOKEN" \
https://api.mittwald.de/v2/webhook-public-keys/latest