Create a tag
This endpoint creates a tag. Tags must be unique. Attempting to create a tag with a name that already exists will result in a 409 Conflict
error.
Request
POST https://api.nicereply.com/tags
Request body
Field Name | Data Type | Is Nullable | Description |
---|---|---|---|
name | String | No | Unique name of the tag |
Example body
{
"name": "Spam"
}
Example response
200 OK
{
"data": {
"id": "341ef63b-7598-4b8a-9346-2e7330418534",
"name": "Spam",
"created_at": "2023-09-01T09:23:04+02:00",
"updated_at": "2023-09-01T09:23:04+02:00"
}
}