---
title: "Comment by Iwá Duarte on \"Tags Article 3\" | Hashnode"
description: "How about mutation? When mutating how can we dynamically create tags?"
url: "https://hashnode.com/posts/tags-article-3/64c8caa68497cdcc36208e89/comment/650f2c9f2f56b93c1e074414"
---

[Discussion](https://hashnode.com/posts/tags-article-3/64c8caa68497cdcc36208e89)

Comment [Tags Article 3](https://hashnode.com/posts/tags-article-3/64c8caa68497cdcc36208e89)

[Iwá Duarte](https://hashnode.com/@iwaduarte)

[Sep 23, 2023](https://hashnode.com/posts/tags-article-3/64c8caa68497cdcc36208e89/comment/650f2c9f2f56b93c1e074414)

How about mutation? When mutating how can we dynamically create tags?

[Francisco Moretti](https://hashnode.com/@franciscomoretti)

[Sep 24, 2023](https://hashnode.com/posts/tags-article-3/64c8caa68497cdcc36208e89/comment/650f2c9f2f56b93c1e074414#reply-65105ceecee41f4569292d9c)

Hey [Iwá Duarte](https://hashnode.com/@iwaduarte) there is a Hashnode API [api.hashnode.com](https://api.hashnode.com/)

Unfortunately, it only takes Tag IDs. Therefore, you have to GET the tag from an existing article first to find its ID. Then you can include that ID in the mutation.

I'm working on a repo to create articles from MD files using that API.

Also, a new Hashnode API has been announced and they might change that.

[Iwá Duarte](https://hashnode.com/@iwaduarte)

[Sep 24, 2023](https://hashnode.com/posts/tags-article-3/64c8caa68497cdcc36208e89/comment/650f2c9f2f56b93c1e074414#reply-6510665e19ae59459b5df4de)

[Francisco Moretti](https://hashnode.com/@franciscomoretti)

I know about the v2 but that probably will take a while. I am deploying a FOSSE application soon as well hahaha (probably tomorrow)

I have used their API and queried the tags through their API, but the list is too small...

[Francisco Moretti](https://hashnode.com/@franciscomoretti)

[Sep 24, 2023](https://hashnode.com/posts/tags-article-3/64c8caa68497cdcc36208e89/comment/650f2c9f2f56b93c1e074414#reply-65106aaccee41f4569293359)

[Iwá Duarte](https://hashnode.com/@iwaduarte)

Yup, I've run into that issue as well. Not enough tags.

I created these articles and added the tags I cared about manually. Then I used the API to get the tags of these articles to finally get their IDs.

It's a workaround but it kind of worked for me
