---
title: "Add URL to Knowledge Base URL Item."
method: POST
path: "/v1/voice-agents/knowledge-base/{id}/url"
---

# Add URL to Knowledge Base URL Item.

`POST /v1/voice-agents/knowledge-base/{id}/url`

Adds a new URL to an existing knowledge base URL item for processing.

## Path parameters

- `id` string, uuid, required

## Request body

- AddUrlToKbItemRequest
  - `url` string, uri, required — The URL to be added to the knowledge base item.

## Response `200`

Successful response

- AddUrlToKbItemResponse
  - `success` boolean
  - `message` string
  - `messageKey` string

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `404` — Knowledge base item not found
- `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)
