Skip to main content

Add or update user reading session

Track the user's most recent reading location (Surah/Ayah) for "Continue reading" / "Recently read" UX.

A new reading session will be created if the user does not have an existing one in the past 20 minutes; otherwise, the existing reading session will be updated with the latest read Ayah.

For streaks, goals, and calendar-style progress tracking, use Activity Days instead.

Request Body
    chapterNumber integer required

    Possible values: >= 1

    The Surah number to be added to reading session.

    verseNumber integer required

    Possible values: >= 1

    The Ayah number to be added to reading session.

Responses

Request has been handled successfully.


Schema
    success boolean
    data object
    message string

    Possible values: [reading session created, reading session updated]

Loading...