Skip to main content
POST
Add URL data sources

Authorizations

Authorization
string
header
required

All of WotNot's APIs use Bearer token authentication. Send your account token as Bearer <token>. You can find it in Settings > Account Settings > Developer. Keep it on your server: anyone who has it can call the API as your account.

Path Parameters

knowledge_base_id
string
required

The ID of the knowledge base to add the URLs to.

Body

application/json

The web pages to add.

urls
string<uri>[]
required

The web pages to add, at least one. Each must be a valid web address, for example https://wotnot.io/pricing.

Minimum array length: 1

Response

Returns ok set to true and a data_sources list with one entry for each URL you sent. Each one starts with status set to in-progress.

ok
boolean
required

true when the request worked. Errors return false.

Example:

true

data_sources
object[]
required

The new data sources, one for each URL you sent.

Last modified on October 23, 2026