# after_ticketbounce

This hook is triggered when a customer message imported into a support department is bounced (not accepted).

# Hook parameter

An array is passed to the hook containing the following keys/values:

Key Type Description
email string Email address of the sender.
dept string Name of the department.
dept_id int|string ID of the department.
name string Name of the sender.
body string Message content/body.
subject string Subject of the message.
reason string Reason for rejection. See possible values below.

# Rejection Reasons

The reason parameter can have one of the following values:

  • unregistered: The department allows tickets from registered users only, but the sender is not registered.
  • closed: The ticket is closed and reopening is disabled.
  • public: The ticket has been marked as public.
  • ambiguous: The request is ambiguous.
  • for_unregistered: The department allows tickets from unregistered users only, but the sender is registered.

# Sample Hook Files

Last Updated: 7/15/2025, 1:34:47 PM