# Create tag
You can create a tag.
POST
/tags/
Attributes | Type | Required | Description |
---|---|---|---|
name | string | yes | A tag name. |
- CURL
- JavaScript
- PHP
- Python
curl -X POST -H "Authorization: Token <your_64_char_api_key>"
-H "Accept: */*; version=2" -H "Content-Type: application/json" -d '{
"name": "My new tag"
}' "https://<your_app_subdomain>.user.com/api/public/tags/"
# Response
{
"id": 3589,
"name": "my new tag"
}
← Tag model Delete tag →