Auto replies not working for api tickets.

Infos:

  • Used Zammad version: 6.4.0-1731417481.1563f7ed.noble
  • Used Zammad installation type: package
  • Operating system: Ubuntu 24.04
  • Browser + version: N/A

Expected behavior:

When I create tickets via the api, I expect the trigger to be fired to send the user an autoreply message. It works when creating tickets via email though.
*

Actual behavior:

Ticket is created and agent is alerted but not the end user that we got their ticket.
*

Steps to reproduce the behavior:

Created the ticket via an api request

 $data = [
            'title' => $message->subject,
            'group' => 'Users',
            'customer_id' => $user->id,
            'article' => [
                'body' => $message->message,
            ],
        ];

I’m pretty sure this should work but could be missing something.

Thanks, I appreciate this project and I hope to contribute more once I get familiar with it.

I was having the same issue, and it turned out my problem was that the group that was having the tickets assigned to it was not properly configured with an email yet. I have a remaining question on it still, but my topic was here in case it helps you: Dynamic sender (email/account and format) - #2 by brianvb