# Create Tags via Ghost Content API

**URL:** <https://forum.ghost.org/t/create-tags-via-ghost-content-api/38787>\
**Category:** Developer help\
**Created:** [May 30, 2023, 8:40pm UTC](https://forum.ghost.org/t/create-tags-via-ghost-content-api/38787 "2023-05-30T20:40:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sergei\_Lavrukhin](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/sergei_lavrukhin/32/24671_2.png) [@Sergei\_Lavrukhin](https://forum.ghost.org/u/Sergei_Lavrukhin)\
**Post date:** [May 30, 2023, 8:40pm UTC](https://forum.ghost.org/t/create-tags-via-ghost-content-api/38787/1 "2023-05-30T20:40:57Z")

</div>

Hello,

I’m trying to create tags via Ghost Content API, but I get this response:

| 11:37:26 PM | Info | {errors:[{message:Resource not found,context:null,type:NotFoundError,details:null,property:null,help:null,code:null,id:c9b70430-ff29-11ed-b55e-1f79296e5937,ghostErrorCode:null}]} |
| --- | --- | --- |
| 11:37:26 PM | Info | Tag artificial-intelligence creation failed |

I’m using the latest version.  
I send request to this end point:

```auto
https://mywebsite.ghost.io/ghost/api/v5/admin/tags/?key=XXXXXXX-MY-ADMIN-API-KEY"

```

---

<div class="post-metadata">

**Author:** ![Cathy\_Sarisky](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/cathy_sarisky/32/25750_2.png) [@Cathy\_Sarisky](https://forum.ghost.org/u/Cathy_Sarisky)\
**Post date:** [May 30, 2023, 9:20pm UTC](https://forum.ghost.org/t/create-tags-via-ghost-content-api/38787/2 "2023-05-30T21:20:53Z")

</div>

You need the admin api, not content. The easiest way to use it is the sdk. It wants a jwt, not a key.

---

<div class="post-metadata">

**Author:** ![Sergei\_Lavrukhin](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/sergei_lavrukhin/32/24671_2.png) [@Sergei\_Lavrukhin](https://forum.ghost.org/u/Sergei_Lavrukhin)\
**Post date:** [May 30, 2023, 11:50pm UTC](https://forum.ghost.org/t/create-tags-via-ghost-content-api/38787/3 "2023-05-30T23:50:04Z")

</div>

Thank you for your advice, I’ll use admin API.  
I’m going to automate tags export from Google Sheets via Google Scripts. So I suppose I can’t use SDK then.

---

<div class="post-metadata">

**Author:** ![Sergei\_Lavrukhin](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/sergei_lavrukhin/32/24671_2.png) [@Sergei\_Lavrukhin](https://forum.ghost.org/u/Sergei_Lavrukhin)\
**Post date:** [June 2, 2023, 10:54am UTC](https://forum.ghost.org/t/create-tags-via-ghost-content-api/38787/4 "2023-06-02T10:54:56Z")

</div>

I updated an integration to JWT auth method and the issue was solved.
