API reference
/- Get webhook signing secret
Get available event types catalog
Create a webhook subscription
List the caller's webhook subscriptions
Update a webhook subscription
Deactivate a webhook subscription
Reactivate a webhook subscription
Retrieve webhook delivery attempts for a subscription
Generate a test webhook payload and signature
Validate a webhook signature
Get webhook signing secre...
🔐 Required role:
EVNT_SUB📖 Data dictionary: Event subscription
Get the webhook signing secret
Retrieves the secret used to sign webhook payloads. Use this secret to verify webhook authenticity on your server. The caller has one secret for all of its subscriptions; it is the webhookSecret returned when a subscription is created, and is created on the first call if the caller has none yet.
Business Applications:
- Webhook signature verification
- Security setup
Security
(BearerAuth and CfAccessClientId and CfAccessClientSecret) or BearerAuth
- Sandbox (requires Cloudflare Access headers)https://api.sandbox.aiwyn.app/api/v1/event-subscriptions/webhook/secret
- Staging (requires Cloudflare Access headers)https://api.staging.aiwyn.app/api/v1/event-subscriptions/webhook/secret
- Production (your live firm data; no Cloudflare Access headers)https://api.aiwyn.ai/api/v1/event-subscriptions/webhook/secret
curl -i -X GET \
https://api.sandbox.aiwyn.app/api/v1/event-subscriptions/webhook/secret \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'CF-Access-Client-Id: YOUR_API_KEY_HERE' \
-H 'CF-Access-Client-Secret: YOUR_API_KEY_HERE'Response
{ "data": "string", "meta": { "success": true, "message": "Webhook secret retrieved successfully", "timestamp": "2019-08-24T14:15:22Z", "version": "string" } }