curl --request POST \
--url http://127.0.0.1:8787/v1/webhooks/endpoints/{endpoint_id}/keys \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"key_id": "<string>",
"jwk": {},
"algorithm": "RSA-OAEP-256",
"key_type": "RSA"
}
'{
"data": {
"id": "<string>",
"webhook_endpoint_id": "<string>",
"key_id": "<string>",
"algorithm": "<string>",
"key_type": "<string>",
"jwk": {},
"is_active": true,
"created_at": "<string>",
"updated_at": "<string>",
"disabled_at": "<string>"
},
"error": {}
}Register a new encryption key (JWK) for a webhook endpoint. The key will be used for encrypting webhook payloads.
curl --request POST \
--url http://127.0.0.1:8787/v1/webhooks/endpoints/{endpoint_id}/keys \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"key_id": "<string>",
"jwk": {},
"algorithm": "RSA-OAEP-256",
"key_type": "RSA"
}
'{
"data": {
"id": "<string>",
"webhook_endpoint_id": "<string>",
"key_id": "<string>",
"algorithm": "<string>",
"key_type": "<string>",
"jwk": {},
"is_active": true,
"created_at": "<string>",
"updated_at": "<string>",
"disabled_at": "<string>"
},
"error": {}
}Documentation Index
Fetch the complete documentation index at: https://docs.kayle.id/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The ID of the webhook endpoint to create the encryption key for (e.g. whe_...).
The key identifier to use as kid in the JWE header.
The public JWK for encrypting webhook payloads.
Show child attributes
The JWE algorithm to use for webhook delivery.
RSA-OAEP-256 The JWK key type for webhook delivery.
RSA