---
title: "Create an organization lead segmentation tag"
method: POST
path: "/tags"
tags: ["Tags"]
---

# Create an organization lead segmentation tag

`POST /tags`

## Request

- Base URL: `https://api.leadping.ai`
- URL: `https://api.leadping.ai/tags`
- Auth: HTTP bearer

Creates a tag for the current organization so leads can be segmented, filtered, routed, and reviewed by label.

## Request body

- TagRequest: Defines the fields clients can send when working with tag.
  - `name` string, nullable: Display name for this tag request in the Leadping API.
  - `color` string, nullable: Hex color used to display this tag or status in Leadping clients.
  - `description` string, nullable: Human-readable description that explains this tag request to API users.
  - `id` string, nullable

## Response `201`

The created tag, with its resource URL in the Location header.

- TagResponse: Describes tag data returned by Leadping.
  - `isDemo` boolean: Whether this record belongs to demo data.
  - `organizationId` string, nullable: Organization ID that owns this tag.
  - `name` string: Display name for this tag response in the Leadping API.
  - `normalizedName` string: Normalized name used for case-insensitive tag matching and deduplication.
  - `color` string, nullable: Hex color used to display this tag or status in Leadping clients.
  - `description` string, nullable: Human-readable description that explains this tag response to API users.
  - `createdByUserId` string, nullable: User ID of the person who created this tag response.
  - `isArchived` boolean: Indicates whether this lead or record is archived.
  - `archivedAt` string, date-time, nullable: UTC timestamp when this record was archived.
  - `id` string
  - `createdAt` string, date-time
  - `modifiedAt` string, date-time, nullable

## Other responses

- `400`: The request contains invalid values or fails validation.
- `401`: Authentication credentials are missing or invalid.
- `403`: The caller does not have permission to perform this operation.
- `404`: The requested resource or required account context was not found.
- `415`: The request content type is not supported by this endpoint.
- `429`: The client or account rate limit was exceeded. Retry after the interval in the Retry-After header.
- `500`: An unexpected error prevented the server from completing the request.

## Changes

- **2026-11-11** `81aed8c9afb7`: 3 info
  - added the non-success response with the status `404`
  - added the non-success response with the status `415`
  - added the non-success response with the status `500`

[Operation history](https://skmtc.dev/leadping/apis/leadping-api/changes/tags/post.md)

---

[API](https://skmtc.dev/leadping/apis/leadping-api.md) - [All operations](https://skmtc.dev/leadping/apis/leadping-api/llms.txt) - [OpenAPI document](https://skmtc.dev/leadping/apis/leadping-api/revisions/bf1852acaf45?raw)
