---
title: "Webhook verification keys"
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.cloudraker.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Webhook verification keys

Path: CloudRaker Paperwork API › Webhooks

`GET /v1/webhooks/jwks.json`

Serves the public keys you verify webhook delivery signatures against.

Every delivery carries an `x-rk1-signature` header: a compact ES256 JWT whose claims bind the run id, `eventId`, event `type` and a `bodySha256` of the payload, inside a 5-minute `exp` window. Verify the signature with these keys and compare `bodySha256` to the body you received.

This route needs no authentication — key material is public by definition. It is the stable alias, serving the same keys as the older `/process/jwks.json`.

**Learn more:** [Webhooks guide](https://docs.cloudraker.com/paperwork/developers/webhooks)

## Code samples

### cURL

```bash
curl --request GET \
  --url https://api.cloudraker.com/v1/webhooks/jwks.json
```

### TypeScript

```typescript
const url = 'https://api.cloudraker.com/v1/webhooks/jwks.json';
const options = {method: 'GET'};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://api.cloudraker.com/v1/webhooks/jwks.json"

response = requests.get(url)

print(response.text)
```

## Responses

### 200

JSON Web Key Set (public keys only).

#### Example

```json
{
  "keys": [
    {
      "kty": "EC",
      "crv": "P-256",
      "x": "string",
      "y": "string",
      "kid": "string",
      "alg": "ES256",
      "use": "sig"
    }
  ]
}
```

- `keys` (`webhookJwks.response.200.keys`; array<object>, required)
  - `kty` (`webhookJwks.response.200.keys.kty`; string, required)
    - example `"EC"`
  - `crv` (`webhookJwks.response.200.keys.crv`; string, required)
    - example `"P-256"`
  - `x` (`webhookJwks.response.200.keys.x`; string, required)
  - `y` (`webhookJwks.response.200.keys.y`; string, required)
  - `kid` (`webhookJwks.response.200.keys.kid`; string, required)
  - `alg` (`webhookJwks.response.200.keys.alg`; string, required)
    - example `"ES256"`
  - `use` (`webhookJwks.response.200.keys.use`; string, optional)
    - example `"sig"`


Source: https://docs.cloudraker.com/paperwork/api/webhook-endpoints/webhook-jwks/index.md
