Is it possible to add tags during adding a show to sonarr through the API

Pretty much the title, and I don’t know if this is really the right location for this question so sorry if it’s not :confused:

Anyways I’m wondering if when adding a series to sonarr through the API if it’s at all possible to add tags during this phase (and if so how exactly?), or is there currently no way to do this and the only way to add tags is after the series has been created?

Yeah, it is possible, you’d send tags: [1,2,3,4,5] in the JSON body of the POST (replacing the numbers with the actual tag IDs).

1 Like

so I take it then that there is no way to create new tags during this phase, you have to use tags that you have already set up in advance as it’s all done by integers?

Correct. If you edit a series and add a new tag the Web UI creates the new tag when it’s added to the list. Then it’s added to the series when the series is saved.

1 Like

Alright gotcha, will make a note on the flexget plugin I’m updating with options for various things, thanks for the info.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.