# Create tag

Create a segment tag definition.

Source: https://statusdashboard.com/docs/api/subscriptions/segments/tags-create

`POST /app/segments/tags`

Creates a tag definition. Requires the **Segments** plan feature and admin role.

Tags are labels used in the registry and referenced by segments. Creating a tag does not assign any contacts.

***

## Request
See [API Basics](/docs/api) for required headers.

### Body
| Field  | Type   | Required | Description                                                   |
| ------ | ------ | -------- | ------------------------------------------------------------- |
| `name` | string | Yes      | Tag name. 1–50 characters. Unique per org (case-insensitive). |

***

## Sample request
```bash
curl -X POST https://api.statusdashboard.com/app/segments/tags \
  -H "Authorization: Bearer bcf847abf5c6:def456" \
  -H "Content-Type: application/json" \
  -d '{"name": "Executive"}'
```

## Sample response
**Status: `201 Created`**

```json
{
  "tag": {
    "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "name": "Executive",
    "memberCount": 0,
    "createdAt": "2026-06-01T10:00:00.000Z",
    "updatedAt": "2026-06-01T10:00:00.000Z"
  }
}
```

***

## Error responses
| Status | When                                                  |
| ------ | ----------------------------------------------------- |
| `400`  | Validation error or duplicate tag name.               |
| `403`  | Not admin, feature not enabled, or tag limit reached. |
