Webhooks
Testing

Trigger test webhook deliveries for a subscription

Send synthetic test events to verify webhook subscription configuration and endpoint availability. What this does: - Generates test events: Creates synthetic events for all event types in the subscription - Sends webhooks: Delivers test webhooks to the configured callback URL - Returns event IDs: Provides unique identifiers to track and verify test deliveries - Validates endpoint: Tests that your webhook endpoint can receive and process events

**Testing workflow:**
1. **Trigger**: Call this endpoint to send test events
2. **Track**: Use returned eventIds to monitor delivery status
3. **Verify**: Check your endpoint received the webhooks correctly
4. **Debug**: Use delivery records to troubleshoot issues

**Test event characteristics:**
- Contains sample data structure matching real events
- Includes metadata indicating it's a test event
- Follows same delivery flow as production webhooks
- Can be verified using the delivery verification endpoint

**Common use cases:**
- **Integration testing**: Verify your webhook handler works correctly
- **Endpoint validation**: Confirm callback URL is accessible and responds properly
- **Development**: Test changes without waiting for real events
- **Monitoring**: Verify subscription is active and functioning

**Important notes:**
- Test events are clearly marked as synthetic/test data
- Delivery records expire after 7 days (TTL)
- Limited to 5 triggers per subscription per minute
- Use eventIds with GET /synthetic-delivery to verify delivery status
- Does not affect production event delivery or subscription configuration
get/orgs/{orgId}/subscriptions/{subId}/trigger

Request

  • Base URL: https://api.flipdish.co/webhooks
  • URL: https://api.flipdish.co/webhooks/orgs/{orgId}/subscriptions/{subId}/trigger
  • Auth: API key in header Authorization

Path parameters

subIdstring required
Example:sub_c7129f82-c87d-470c-a8c8-cae6b07762e2

Unique webhook subscription identifier for which to trigger test deliveries. The subscription must exist and be active. Format: "sub_" followed by a UUID (e.g., sub_c7129f82-c87d-470c-a8c8-cae6b07762e2).

orgIdstring required
Example:org123

Unique organization identifier representing a restaurant chain, franchise group, or independent restaurant business in the Flipdish platform. Organizations are the top-level tenant entity that groups brands, properties, and sales channels together. All webhook subscriptions are scoped to a specific organization to ensure proper data isolation and access control. Format: "org" followed by numbers (e.g., org123, org456).

Request body

object required

No request body required

Response

Success - test events triggered and eventIds returned

idstring

Subscription ID

eventIdsstring[]

Generated event IDs for tracking test deliveries

Example response

{
  "id": "sub_c7129f82-c87d-470c-a8c8-cae6b07762e2",
  "eventIds": [
    "eventId-01JQKE123ABC456DEF789",
    "eventId-01JQKE789XYZ123GHI456"
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.