Adding tags in update tickets API | Community
Skip to main content

Adding tags in update tickets API

  • September 21, 2023
  • 1 reply
  • 0 views

Hi!

I found in https://developer.zendesk.com/api-reference/ticketing/tickets/tickets/#update-ticket that for handling tags I need to use additional_tags. However it does not seem to work when I'm just updating a single ticket but only when bulk updating tickets. How do I add a tag to single ticket via API? If I use tags, it will replace already existing tags which is not the result I want. If I use additional_tags in my PUT request {{testUrl}}/api/v2/tickets/883 it does nothing.

 

Br.

Otto

 

 

1 reply

Jeffrey.VonHendy

Also noticed this.

 

I guess the workaround would be to use the update_many endpoint for a single ticket update…. while this works for my testing scenario, I don't think it's feasible for production as we would wind up queing a bunch of jobs.

 

Allowing [additional_tags] in the ticket update endpoint would significantly reduce the amount of API calls we have to make.