Skip to main content
POST
/
api
/
v1
/
organizations
/
{orgId}
/
workspaces
/
{workspaceId}
/
knowledge-bases
Create a workspace knowledge base.
curl --request POST \
  --url https://api.app.firstsales.io/api/v1/organizations/{orgId}/workspaces/{workspaceId}/knowledge-bases \
  --header 'Authorization: Bearer <token>'
{
  "error": {
    "code": "<string>",
    "message": "<string>",
    "requestId": "<string>",
    "details": {}
  }
}
Use this endpoint through the Developer API or the matching firstsales CLI command when available. Responses use the stable FirstSales public error envelope.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

orgId
string
required
workspaceId
string
required

Response

Created knowledge base without storage paths, graph names, creator IDs, or auto-heal internals.