Skip to content

API Overview

The Notebind API is a REST API that returns JSON. All endpoints are served from https://notebind.com/api/.

https://notebind.com/api

All API requests require authentication via either:

  • API key in the Authorization header: Bearer nb_sk_...
  • Session cookie (automatic in browser)

See Authentication for setup details.

Every response follows a consistent envelope:

{
"data": { ... },
"error": null
}

On error:

{
"data": null,
"error": {
"message": "Human-readable error description",
"code": "ERROR_CODE"
}
}
CodeHTTP StatusDescription
UNAUTHORIZED401Missing or invalid credentials
FORBIDDEN403Insufficient permissions
NOT_FOUND404Resource does not exist
VALIDATION_ERROR400Invalid request body or parameters
ALREADY_RESOLVED400Suggestion already accepted/rejected
TEXT_NOT_FOUND409Original text no longer in document
DB_ERROR500Internal database error

All request bodies must be JSON with the Content-Type: application/json header.

ResourceEndpointsDescription
DocumentsGET, POST, PATCH, DELETECRUD operations on markdown documents
CommentsGET, POST, PATCH, DELETEAnchored comments with threading
SuggestionsGET, POST, PATCH, DELETEText replacement suggestions
Share LinksGET, POST, DELETEShareable document links with permissions
API KeysGET, POST, DELETEManage API keys

The document list endpoint supports pagination:

ParameterTypeDefaultMaxDescription
limitint50100Number of items per page
offsetint0-Number of items to skip
Terminal window
curl "https://notebind.com/api/documents?limit=10&offset=20" \
-H "Authorization: Bearer nb_sk_YOUR_KEY"

There are currently no rate limits. This may change in the future.