Notes
User-related API environment
Pre-live user-related API docs
These pages describe the Pre-live user-related API stack.
Use pre-live OAuth credentials, pre-live API base URLs, and pre-live app URLs when following this documentation. Keep your OAuth flow, API requests, callback URLs, and manual testing within the pre-live environment.
- Use prelive.quran.com for auth-related testing.
- Use prelive.quranreflect.org for Quran Reflect paths where applicable.
- Do not mix production sessions or production user data with pre-live testing.
Create, retrieve, update, delete, and publish personal notes and reflections.
📄️ Get all notes
List notes owned by the user. This API contains pagination. Read more about [pagination](/#pagination)
📄️ Add note
Add a private note, then optionally publish to QuranReflect. HTTP 200 can represent a partial save: inspect publication.status and publication.stage. The saved note is returned on publication failure. Never replay note creation or automatically retry an unknown publication. Invalid or reversed verse ranges return 422 before saving or publishing.
📄️ Get notes by verse
Retrieve notes by a specific verse.
📄️ Get notes by attached entity
Retrieve notes by attached entity.
📄️ Get notes count within verse range
Get the count of notes within a range of verses.
📄️ Get notes by verse range
Retrieve notes by a range of verses.
📄️ Get note by ID
Retrieve a note by its ID.
📄️ Update note by ID
Update an owned private note, then optionally publish. The backend maintains creation/edit timestamps internally and ignores request clock fields, including offline values. Effective edits advance the edit clock; identical content preserves clocks and the sync head. HTTP 200 may contain a partial publication: reconcile the saved note and inspect publication before showing success. Never automatically republish an unknown outcome.
📄️ Delete note by ID
Delete a note by its ID.
📄️ Publish note
Publish an existing owned note to QuranReflect and attach the result. Inspect publication: unknown does not prove no post exists; published/attachment includes the known postId but local attachment failed. Do not blindly retry either case. HTTP 200 is compatibility-preserving and success is true only for a complete attachment. Invalid or reversed verse ranges return 422 before QR is called.