# Trigger Enquiry Webhook Event Trigger a webhook event for an enquiry in the sandbox environment. This is not available in production. Endpoint: POST /external-api/v1/sandbox/enquiries/{id}/trigger-webhook-event Version: 1.0.1 Security: apiKey ## Path parameters: - `id` (string, required) Can be either the enquiries xeniaReference or externalId. Example: "R4E2F3A4" ## Request fields (application/json): - `eventType` (string, required) Supported webhook events. Enum: "ENQUIRY.CREATED", "ENQUIRY.SPECIALIST_ASSIGNED", "ENQUIRY.SHORTLISTING", "ENQUIRY.CLOSED", "ENQUIRY.REOPENED", "ENQUIRY.QUOTED", "QUOTE.CREATED", "QUOTE.INVALIDATED", "BOOKING.PENDING", "BOOKING.CLIENT_CONFIRMATION_DETAILS_SENT", "BOOKING.PARTNER_CONFIRMATION_DETAILS_SENT", "BOOKING.CHECK_IN_DETAILS_SENT", "BOOKING.CANCELLED" ## Response 404 fields (application/problem+json): - `detail` (string) A human-readable explanation specific to this occurrence of the problem. Example: "The request could not be understood due to malformed syntax." - `instance` (string) A URI reference or identifier that describes the specific occurrence of the problem. Example: "/api/v1/enquiries/abc" - `status` (integer, required) The HTTP status code. Example: 400 - `title` (string, required) A short, human-readable summary of the problem type. Example: "Bad Request" - `type` (string, required) The error code as a machine-readable key. Enum: "RESOURCE_NOT_FOUND", "VALIDATION_ERROR", "RESOURCE_ALREADY_EXISTS", "DUPLICATE_CLIENT_REFERENCE", "GEOCODE_FAILURE", "MALFORMED_REQUEST", "INTERNAL_SERVER_ERROR", "MAX_RESOURCE_COUNT_REACHED", "SANDBOX_SPECIFIC_ACTION_ERROR" ## Response 204 fields ## Response 401 fields ## Response 403 fields