# API でトピックを作成する際にタグを追加するためのタグIDの取得方法

**URL:** https://meta.discourse.org/t/how-find-tags-id-to-add-tags-when-create-topic-via-api/84387
**Category:** Support
**Created:** [2018 年 4 月 2 日午後 3:31 UTC](https://meta.discourse.org/t/how-find-tags-id-to-add-tags-when-create-topic-via-api/84387 "2018-04-02T15:31:16Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![vinothkannans](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vinothkannans/32/86465_2.png) [@vinothkannans](https://meta.discourse.org/u/vinothkannans)
#### Post date: [2018 年 5 月 14 日午前 5:15 UTC](https://meta.discourse.org/t/how-find-tags-id-to-add-tags-when-create-topic-via-api/84387/4 "2018-05-14T05:15:54Z")

</div>

You should try like `tags[]="testtag"`. It’s an array type.

---

_[View the full topic](https://meta.discourse.org/t/how-find-tags-id-to-add-tags-when-create-topic-via-api/84387)._
