Skip to main content
GET
Retrieve the most recent occurrence of a specified webhook event type. This endpoint is useful for testing webhook integrations and verifying event data structures.

Request Headers

string
required
API Key. Go to your Konstantly site > Settings > API and copy the value from there.

Query Parameters

string
required
Type of webhook event to retrieve Example: user.created

Response

Returns the full webhook event data structure for the most recent event of the specified type.

Error Responses

object
Not Found error response

Usage Notes

  1. Event Types:
  • Use dot notation for event types (e.g., user.created, course.published)
  • Case sensitive matching
  • Only returns events from the last 30 days
  1. Common Uses:
  • Testing webhook handlers
  • Debugging integration issues
  • Verifying event structures
  • Recreating missed events
  1. Best Practices:
  • Cache responses when appropriate
  • Handle “no events” cases gracefully
  • Use for testing, not production monitoring
  • Verify event data matches expectations