Trescpress Posted April 29, 2021 Share Posted April 29, 2021 Hello experts, I am still learning the ropes of WHMCS development. I have this issue where I am trying to add a reply to tickets via the AddTicketReply API. I get a success message but no emails are sent to the customer. What am I missing? [ 'action' => 'AddTicketReply', 'ticketid' => $var->ticket_identifier, //(id in DB) 'email' => 'system@test.com', 'name' => 'sysmsg', 'message' => 'Hello', 'clientid' => $client_id, 'markdown' => true, 'noemail' => false, 'responsetype' => 'json', ]; 0 Quote Link to comment Share on other sites More sharing options...
steven99 Posted April 30, 2021 Share Posted April 30, 2021 Is the response added to the ticket at least? 0 Quote Link to comment Share on other sites More sharing options...
Trescpress Posted April 30, 2021 Author Share Posted April 30, 2021 Yes 0 Quote Link to comment Share on other sites More sharing options...
Trescpress Posted April 30, 2021 Author Share Posted April 30, 2021 Found the issue. I was not passing 'adminusername'. I changed 'name' to 'adminusername' and that worked Not sure why though 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.