---
title: "Create Source Tag"
method: POST
path: "/source-tags"
tags: ["Project"]
---

# Create Source Tag

`POST /source-tags`

## Request

- Base URL: `https://api.peec.ai/customer/v1`
- URL: `https://api.peec.ai/customer/v1/source-tags`
- Auth: one of:
  - API key in header `X-API-Key`
  - API key in query parameter `api_key`
  - HTTP bearer

Create a tag that can be put on URLs and domains.

## Request body

- object
  - `name` string, required: Tag name, unique within the project regardless of letter case.
  - `color` 'gray' | 'red' | 'orange' | 'yellow' | 'lime' | 'green' | 'cyan' | 'blue' | 'purple' | 'fuchsia' | 'pink' | 'emerald' | 'amber' | 'violet' | 'indigo' | 'teal' | 'sky' | 'rose' | 'slate' | 'zinc' | 'neutral' | 'stone': Badge color the tag is shown with.

## Response `201`

Source tag created

- object: Source tag created
  - `id` string, required

## Other responses

- `409`: Response for status 409

## Changes

- **2026-11-03** `9fdffdff48a5`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/peec/apis/peec-ai-customer-api/changes/source-tags/post.md)

---

[API](https://skmtc.dev/peec/apis/peec-ai-customer-api.md) - [All operations](https://skmtc.dev/peec/apis/peec-ai-customer-api/llms.txt) - [OpenAPI document](https://skmtc.dev/peec/apis/peec-ai-customer-api/revisions/9d774600c8eb?raw)
