Reputation: 1
Using Zendesk API v2, and .NET library by Elizabeth (https://github.com/mozts2005/ZendeskApi_v2), I'm trying to create Ticket Comments with a different authorID, like so:
api.Tickets.UpdateTicket(new Ticket
{
Id = ticketID,
Comment = new Comment
{
AuthorId = zendeskUserID,
Body = comment
},
});
Ticket gets updated, but when I load the Ticket, the author ID of the comment is the ID of the API user, and not the author-ID I set as zendeskUserID.
Can someone please explain how I can accomplish submitting ticket comment as a different author/user? I have even tried the following to see if anything comes out differently, but nothing has worked:
api.Tickets.UpdateTicket(new Ticket
{
SubmitterId = zendeskUserID,
ExternalId = zendeskUserID,
Id = ticketID,
Comment = new Comment
{
AuthorId = zendeskUserID,
Body = comment
},
});
Please note that the zendeskUserID already exists as an External User in Zendesk.
Thanks.
Upvotes: 0
Views: 625
Reputation: 1
I added a webhook and used basic authentication using the users the authors basic authentication and use the tickets update API
Upvotes: 0