StatusDashboard
Segments

Create tag

Create a segment tag definition.

View Markdown

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 for required headers.

Body

FieldTypeRequiredDescription
namestringYesTag name. 1–50 characters. Unique per org (case-insensitive).

Sample request

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

{
  "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

StatusWhen
400Validation error or duplicate tag name.
403Not admin, feature not enabled, or tag limit reached.

On this page

We use cookies

We use essential cookies to keep the site working, and optional analytics cookies to understand how it's used. Read our Privacy Policy.