Change a highlight's note
PATCH
/v1/highlights/{highlightId}Authorization
AuthorizationBearer token (OAuth access token or teakapi_ API key) · headerrequiredBearer token. Accepts either an OAuth 2.0 access token (obtained via browser sign-in; expires after 1 hour and is refreshable) or a teakapi_ API key.
Path parameters
highlightIdstringrequiredRequest body
requiredapplication/jsonnotestring | nullrequiredThe new note, at most 2,000 characters, or null to clear it.
Responses
200
Highlight updated
idstringrequiredcardIdstringrequiredquotestringrequiredThe highlighted text.
notestring | nullrequiredanchoredbooleanrequiredFalse while Teak hasn't found the quote in the card's saved article: an imported highlight waiting for the article, or one the article doesn't have.
sourcestringrequiredWhere it was made: in Teak's reader, through this API, or by an import. Clients should accept values they don't know.
Allowed:
readerapiimportcreatedAtnumberrequiredupdatedAtnumberrequired400
INVALID_INPUT: no note, or a note too long
codestringrequirederrorstringrequiredretryAtnumber | null404
Highlight not found
codestringrequirederrorstringrequiredretryAtnumber | null429
RATE_LIMITED
codestringrequirederrorstringrequiredretryAtnumber | null