# Add a new tag
When you want to add new tag to the location services, you need to specify description about the tag such as name and value.
To create a new tag, we'll be leveraging the POST /locations/tags
endpoint.
# Building your request
Ensure that you authenticate the request with the JWT you've previously obtained, by passing the JWT as an Authorization
header.
Great, let's create a tag! All that you have to do now, is to tell us to process the request. To do so, we will call the POST /locations/tags
endpoint to create a new tag.
This endpoint requires some additional core information, such as:
Tag attributes:
name
- Name of the Tag.value
- Value of the Tag.
# Sample request:
In our example, we're going to be creating a tag
# Sample response:
{
"data": {
{
"type": "tag",
"id": "1016528404788281344",
"attributes": {
"_id": "1016528404788281344",
"name": "Area",
"value": "East"
}
}
}
}
# 🚀 ☀️ ⭐️ Congratulations! ⭐️ ☀️ 🚀
You have now created a tag and received the response, to help your users drive further goodness in the world!