Get Delivery-Signing Public Keys

Get Delivery-Signing Public Keys - Webhooks API

Get Delivery-Signing Public Keys - Returns the Ed25519 keys used to sign webhook deliveries

Get Delivery-Signing Public Keys - [Value: 0CU]
Returns the Ed25519 public keys (JWKS) that sign webhook deliveries. Use the key whose kid matches X-Lambda-Key-Id. No API key needed, not charged
GET https://api.lambda.p2p.org/.well-known/jwks.json
Use cases

Use cases

  • Verify the Ed25519 signature of each webhook delivery
  • Pick up a new signing key when an unknown kid appears
Constraints

Constraints

  • Public endpoint: no API key needed
  • Verify the raw body bytes, not re-serialized JSON
  • Reject deliveries whose t is more than a few minutes old
Get started
Unlock Access to 100+ chains
Boost your app's speed and reliability with dRPC - get your access API key

Language

Request
Examples
curl --request GET \
  --url https://api.lambda.p2p.org/.well-known/jwks.json \
  --header 'accept: application/json'
Copy
Response
200
{
  "keys": [
    {
      "kty": "OKP",
      "crv": "Ed25519",
      "x": "uaGsSit6lCLIe9GtU2ebXN7kB1BBkXNrjtUMJ_wDNYY",
      "kid": "primary",
      "use": "sig",
      "alg": "EdDSA"
    }
  ]
}
Copy

Path params

ParametersThis method does not accept any parameters.

Query params

ParametersThis method does not accept any parameters.

Request params

ParametersThis method does not accept any parameters.

Response

200

Response params

object
keysarray
[Required] Active signing keys
object
ktystring
[Required] Key type, always OKP
crvstring
[Required] Curve, always Ed25519
xstring
[Required] Raw 32-byte Ed25519 public key, base64url
kidstring
[Required] Key id, matches the X-Lambda-Key-Id delivery header
usestring
[Required] Key use, always sig
algstring
[Required] Algorithm, always EdDSA