Webhook Integration
Configure asynchronous webhooks in moclojer to trigger background requests to external APIs. Simulate real-world integrations with conditional triggers, delays, and template support.
π― How Webhooks Work
sequenceDiagram
participant Client
participant moclojer
participant Webhook API
Client->>moclojer: POST /with-webhook
moclojer->>Client: 200 OK (immediate response)
Note over moclojer: Response sent!
par Async Webhook
moclojer-->>Webhook API: POST (background request)
Note over Webhook API: Processes webhook
Webhook API-->>moclojer: Response (ignored)
endπ Basic Configuration
π§ Webhook Configuration Options
Required Fields
Field
Description
Example
Optional Fields
Field
Default
Description
β±οΈ Delayed Webhooks
ποΈ Conditional Webhooks
Supported Operators
Operator
Description
Example
Accessing Request Data in Conditions
π Real-World Examples
Example 1: Slack Notification
Example 2: Analytics Tracking
Example 3: Multi-Service Integration
π§ͺ Testing Webhooks
Using Request Bin
Local Testing with ngrok
β
Best Practices
π Security Considerations
π Use Cases
Scenario
Configuration
π¨ Important Notes
π See Also
Last updated
Was this helpful?