> ## Documentation Index
> Fetch the complete documentation index at: https://guide.rolodexcrm.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create Tag

> Create a new tag in your Rolodex workspace via the REST API.

## `POST` a tag

`POST` `/user-api/v1/tags`

### Headers

| **Header** | **Value** |
| - | - |
| `Content-Type` | `application/json` |
| `x-rolodex-api-key` | `rol_f1e2d3c4b5a697...` |

### Required Fields

**name** `string`

Tag name (1-50 characters)

### Request

```json theme={null}
{
  "name": "VIP Client",
  "contacts": ["contact_123", "contact_456"],
  "companies": ["company_789"],
  "tasks": ["task_101"]
}
```

### Response

```json theme={null}
{
  "data": {
    "id": "tag_99999",
    "name": "VIP Client",
    "created_at": "2025-01-15T10:30:00Z",
    "updated_at": "2025-01-15T10:30:00Z",
    "contacts": [
      {
        "id": "contact_123",
        "full_name": "John Doe",
        "image_url": "https://example.com/avatar1.jpg"
      },
      {
        "id": "contact_456",
        "full_name": "Jane Smith",
        "image_url": "https://example.com/avatar2.jpg"
      }
    ],
    "companies": [
      {
        "id": "company_789",
        "name": "Tech Corp",
        "logo_url": "https://example.com/logo.png"
      }
    ],
    "tasks": [
      {
        "id": "task_101",
        "body": "Schedule meeting"
      }
    ]
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.