Webhook
Create a webhook endpoint
Register an HTTPS endpoint to receive event deliveries. A signing secret (whsec_…) is generated and returned ONCE in the response — store it now; it is never retrievable again. The receiver verifies the webhook-signature header with it (Standard Webhooks).
post/v1/webhooks/applications/{appId}/endpoints
Request
- Base URL: https://api.prod.keyban.io
- URL: https://api.prod.keyban.io/v1/webhooks/applications/{appId}/endpoints
- Auth: API key in header X-Api-Key
Path parameters
appIdstring required
Request body
Example request
{
"url": "https://api.example.com/hooks/keyban",
"eventTypes": [
"dpp.passport.created",
"dpp.passport.updated"
],
"enabled": true
}Response
The created endpoint, including its signing secret (shown once)
Example response
{
"applicationId": "550e8400-e29b-41d4-a716-446655440000",
"url": "https://api.example.com/hooks/keyban",
"eventTypes": [
"dpp.passport.updated"
],
"enabled": true,
"secret": "whsec_MfKQ9rG3xX0m9V2s1qv4b7Yc8d0e2f4g"
}Changes
No recorded changes to this operation across all 1 revision of this API.