Skip to main content
POST
/
api
/
v1
/
organizations
/
{orgId}
/
workspaces
/
{workspaceId}
/
knowledge-bases
/
{kbId}
/
sources
Add crawl sources to a workspace knowledge base.
curl --request POST \
  --url https://api.app.firstsales.io/api/v1/organizations/{orgId}/workspaces/{workspaceId}/knowledge-bases/{kbId}/sources \
  --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
kbId
string
required

Response

No new URLs added; existing duplicate sources skipped.