Create a new webhook.
Required scope: write
Important: The webhook secret is only returned once on creation. Store it securely to verify webhook signatures.
Signature verification (Python example):
import hmac
import hashlib
def verify_signature(payload: str, secret: str, signature: str) -> bool:
expected = hmac.new(
secret.encode(),
payload.encode(),
hashlib.sha256
).hexdigest()
return hmac.compare_digest(expected, signature)
Headers sent with webhooks:
X-Quikly-Event: Event type (e.g., “proposal.created”)X-Quikly-Signature: HMAC-SHA256 signature of the payloadX-Quikly-Timestamp: Unix timestampX-Quikly-Webhook-Id: ID of the webhook configuration