---
title: "Create Collection."
method: POST
path: "/v1/voice-agents/collections"
---

# Create Collection.

`POST /v1/voice-agents/collections`

Creates a new collection for organizing web tools.

## Request body

- CreateCollectionRequest
  - `name` string, required — Name of the collection.
  - `description` string — Description of the collection (optional).

## Response `200`

Successful response

- CreateCollectionResponse
  - `success` boolean
  - `message` string
  - `data` Collection
    - `id` string, uuid — UUID of the collection.
    - `name` string — Name of the collection.
    - `description` string, nullable — Description of the collection.
    - `userId` string, uuid — UUID of the user who created the collection.
    - `projectId` string, uuid — UUID of the project.
    - `webToolsCount` integer — Number of web tools in this collection.
    - `createdAt` string, date-time — Timestamp when the collection was created.
    - `updatedAt` string, date-time — Timestamp when the collection was last updated.

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `500` — Server Side Error

---

[API](https://skmtc.net/tryhamsa/apis/hamsa-api.md) · [All operations](https://skmtc.net/tryhamsa/apis/hamsa-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tryhamsa/hamsa-api/versions/ecbeb5d8dc13/schema)
