Skip to the page
API pages

Guides

Endpoints

Requests15
Deleted requests2
Comments5
Comment search1
Voters3
Followers3
Boards4
Tags5
Issues5
Statuses1
Roadmap2
Insights10
Search1
People5
Teammates4
Conversations11
Operators1
Saved replies4
Changelog entries12
Changelog tags4
Changelog subscribers2
Help articles12
Help collections3
System status4
Knowledge sources5
Knowledge pages3
Otto2
Moderation2
Audit log1
Webhooks6
Webhook deliveries2
Token1

Add a website for Otto

POSThttps://app.notert.io/api/v1/knowledge-sources

Adds a website for Otto to answer customers from, as the Knowledge page's Add website does: Notert crawls the page given and the pages beneath it on the same site, then indexes what it read. Follow the crawl through the list. A website already added, however it was typed, is ALREADY_ADDED, and a social network, an app store or another site that is never a product's own is NEVER_CRAWLED. A workspace keeps at most 20 websites and files.

A token with knowledge:write. How to send one

Request

curl -X POST https://app.notert.io/api/v1/knowledge-sources \
  -H "Authorization: Bearer $NOTERT_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "id": "3c5e7a9b-1d2f-4a6b-8c0e-2f4a6c8e0b17",
  "url": "docs.example.com"
}'

Response 201

{
  "id": "3c5e7a9b-1d2f-4a6b-8c0e-2f4a6c8e0b17",
  "kind": "website",
  "name": "docs.example.com",
  "url": "https://docs.example.com/",
  "state": "ready",
  "failure": null,
  "pages": {
    "indexed": 120,
    "failed": 2,
    "skipped": 6,
    "queued": 0
  },
  "crawledAt": "2026-11-20T08:12:00.000Z"
}

Headers

  • Idempotency-Keystring

    A key of your own for this call, such as a UUID, sent again with a call made again after its answer was lost, so it stores and sends once and answers what the first stored. The same key with other words names another record. Send it or an id in the body, not both.

    At least 1 character. At most 255 characters.

Body

  • iduuid

    An id of your own, a UUID, so a call sent again after its answer was lost answers the website it added rather than adding a second. Or send an Idempotency-Key header instead, not both.

  • urlstringRequired

    The page the crawl starts from, such as docs.example.com or example.com/help.

    At least 1 character. At most 2000 characters.

Response 201

  • idstring

    The source's id.

  • kindstring

    What the source is: a website the team added, a file it uploaded, or what Notert connects by itself, the published changelog (changelog), completed requests (completed) and help articles (help).

    One ofwebsitefilechangelogcompletedhelp
  • namestring

    A file's name as uploaded, or a website's address, as the team added it.

  • urlstring or null

    A website's address. Null for a file or a source Notert connects.

  • statestring

    Where the source stands: crawling, paused, ready (every page it found settled) or failed (its first page couldn't be read, or getting it ready for Otto ran out of tries).

    One ofcrawlingpausedreadyfailed
  • failurestring or null

    Why the source failed, such as unreachable, blocked or not found, or not indexed when getting what was read ready for Otto ran out of tries. Null unless it failed.

    One ofunreachableblockednot foundno accessrefusedserver errorrate limitednot a pagetoo largerobotsemptyelsewherenot a product sitenot indexed
  • pagesobject

    The source's pages by where each stands.

    • indexedinteger

      The pages Otto answers from.

    • failedinteger

      The pages that couldn't be read.

    • skippedinteger

      The pages left out: those the website's robots.txt keeps out or that ask not to be indexed.

    • queuedinteger

      The pages still to read.

  • crawledAtdate-time or null

    When the source last finished being read. Null before it has.

Errors

  • 400BAD_REQUESTInput validation failed.
  • 400IDEMPOTENCY_KEY_REFUSEDSend an Idempotency-Key of 1 to 255 visible characters, or an id of your own in the body, not both.
  • 400NEVER_CRAWLEDThat address is a social network, an app store or another site that is never a product's own, so Otto doesn't read it.
  • 401UNAUTHORIZEDSend a valid API token as a Bearer token.
  • 403FORBIDDENThe teammate who holds this API token's secret can't change Otto's knowledge. Only an owner or admin can.
  • 403HOLDER_NOT_ALLOWEDThe teammate who holds this API token's secret can't do this in the workspace now. A teammate who can should roll it in the workspace's settings.
  • 403INSUFFICIENT_SCOPEThis API token can't add or crawl websites for Otto, or hide their pages. Create one that may in the workspace's settings.
  • 403NETWORK_NOT_ALLOWEDThis API token works only from the networks it was made for. Call from one of them, or create a token for this one in the workspace's settings.
  • 403NO_SEATThis workspace's plan has no seat for you.
  • 403WORKSPACE_SUSPENDEDThis workspace is suspended.
  • 404NOT_FOUNDNot Found.
  • 409ALREADY_ADDEDOtto reads that website already.
  • 409CHANGED_MEANWHILESomething changed meanwhile. Try again.
  • 409LIMIT_REACHEDThe workspace keeps 20 websites and files for Otto, as many as it may. Its data holds limit.
  • 429TOO_MANY_REQUESTSToo Many Requests. Its data holds retryAfter.

A refusal names its code beside a message. Rate limits says when to try again.