Tags
Create Tag
Creates a new tag in your organization. Readonly members may create tags that are visible only to themselves.
POST /api/tags
Body
{
"name": "Production",
"color": "red"
}name(required): Display label for the tag (max 50 characters).color(required): One of the palette keys:slate|red|amber|green|teal|blue|indigo|violet|pink|gray.
Example (cURL)
BASE_URL="https://uptimeify.io"
TOKEN="<your-api-token>"
curl -X POST "$BASE_URL/api/tags" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"name":"Production","color":"red"}'Response
{
"id": 1,
"publicId": "aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa",
"organizationId": 10,
"name": "Production",
"color": "red",
"createdBy": 42,
"createdAt": "2026-06-29T10:00:00.000Z",
"updatedAt": "2026-06-29T10:00:00.000Z"
}Common errors
400 invalidTagColorwhencoloris not a recognized palette key400 Bad Requestwhennameis missing or exceeds the character limit401 Unauthorizedwhen you are not logged in403 Forbiddenwhen you cannot access the organization403 authorizingUserUnresolvedwhen the call arrives over an agent session whose authorizing human can no longer be resolved; a tag always records that human as its creator, never the agent, so the tag is not created (see Error codes and known API pitfalls)