---
title: "Create Knowledge Entry"
method: POST
path: "/api/v0/inbound_calls/knowledge_entries"
---

# Create Knowledge Entry

`POST /api/v0/inbound_calls/knowledge_entries`

## Request

- Base URL: `https://healthharbor.co` (the document declares no server; this is the origin it was published from)
- URL: `https://healthharbor.co/api/v0/inbound_calls/knowledge_entries`
- Auth: one of:
  - OAuth 2
    - Password
    - Token URL: `token`
  - HTTP basic

Create a knowledge entry the assistant may answer callers from.

Pass resolved_gap_ids to close the gaps this entry answers in the same
call.

## Request body

- ExternalKnowledgeEntryCreateRequest: Request body for creating a knowledge base entry.
  - `question` string, required: The question text that may trigger this answer. Does not require exact matching, semantically similar questions will also match.
  - `answer` string, required: The answer content that the AI will use as source material. The AI will convey this information naturally in conversation.
  - `practice_id` string, nullable: Practice this entry applies to. Omit it to make the entry available to every practice in your organization.
  - `resolved_gap_ids` string[], nullable: Knowledge gaps this entry answers. Each is marked ANSWERED and linked to the new entry, so the gaps close in the same call that writes the answer.

## Response `200`

Successful Response

- ExternalKnowledgeEntry: External representation of a knowledge base entry.
  - `id` string, required: Unique identifier for the knowledge entry
  - `practice_id` string, nullable, required: Practice this entry applies to, or null if it applies across the organization
  - `question` string, required: The question text that may trigger this answer. Does not require exact matching, semantically similar questions will also match.
  - `answer` string, required: The answer content that the AI will use as source material. The AI will convey this information naturally in conversation.
  - `creation_ts` string, date-time, required: ISO 8601 timestamp of when this entry was created
  - `last_updated_ts` string, date-time, required: ISO 8601 timestamp of when this entry was last updated

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-08** `5852c08b7c4f`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/healthharbor/apis/health-harbor/changes/api/v0/inbound_calls/knowledge_entries/post.md)

---

[API](https://skmtc.dev/healthharbor/apis/health-harbor.md) - [All operations](https://skmtc.dev/healthharbor/apis/health-harbor/llms.txt) - [OpenAPI document](https://skmtc.dev/healthharbor/apis/health-harbor/revisions/ac01277e80e6?raw)
