Add Tag to The topic

I want to query tag_groups and assign on of the tags from it to the topic which I am creating using the Discourse API. I am unable to find it in API docs, can someone point me out.

If you can’t find it in the API docs, you’ll have to reverse engineer the API, see here: