Highlights Sync Guide

Highlight Sync API
When a user marks a highlight, send a POST request to your unique endpoint with a JSON body.
If there are failed requests due to network or other issues, include the failed highlights when the user marks a new highlight.
POST
https://readmomo.com/reader/{unique_app_id}
Headers
Content-Typeapplication/jsonContent Type
Authorization Token USER_TOKENUser's token from their profile page
Body
{ "highlights": [ { "title": "book title", "author": "book author", "chapter": "chapter title", "context": "context including the highlight text", "highlight": "highlight text", "note": "note text", "style": 0, "position": 0, "timestamp": 1711234567 } ] }
ParameterRequiredDescription
titleYesBook title
authorYesBook author
chapterYesChapter title
contextNoContext including the selected highlight text
highlightYesSelected highlight text
noteNoNote text
styleNo0: default, 1: green, 2: blue, 3: orange, 4: pink, 5: purple
positionNoHighlight position in the book
timestampYesHighlight unix timestamp, in seconds
Response
A successful request returns "ok" string in response body.
If the sync fails, the response body contains the error message.
Cookie Policy
Cookie List
Required Cookies
We use required cookies for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional Cookies
Functional cookies enhance functions, performance, and services on the website. We may use these cookies to analyze site traffic.
Advertising Cookies
There is no advertising cookies, for now, for ever.