Security
Each webhook request includes a signature in theX-Directify-Signature header. You should verify this signature to ensure the request came from Directify.
Verifying Signatures
Here’s how to verify the signature:Request Format
All webhook requests are sent as HTTP POST requests with a JSON payload. The following headers are included:Content-Type: application/jsonX-Directify-Signature: HMAC SHA-256 signatureX-Directify-Event: The name of the event (e.g.,project.created)
Payload Format
The payload includes the following fields:For listings, the
model will be Project, and the events are also prefixed with project as that’s how we handle them internally.Available Events
The following events are available:Best Practices
- Always verify the signature of incoming webhook requests
- Implement idempotency to handle duplicate webhook deliveries
- Respond quickly to webhook requests (within 5 seconds)
- Implement proper error handling for webhook processing
