Zum Hauptinhalt springen

Get the public key to verify the webhook signature

GET/v2/public-keys/{serial}/
API version
v2
Request method
GET
Operation ID
extension-get-public-key

Request

  • serialstring
    required

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

Responses

Format
application/json
Beschreibung

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

  • algorithmstring
    required
  • key
    required
  • serialstring (uuid)
    required

Usage examples

$ curl \
--fail \
--location \
-H "Authorization: Bearer $MITTWALD_API_TOKEN" \
https://api.mittwald.de/v2/public-keys/latest?purpose=webhook&format=raw