Skip to main content

User-related API environment

Pre-live user-related API docs

Add collection Bookmark

Add a bookmark to a collection. Use collectionId="__default__" to add an ayah bookmark to the virtual Favorites collection used by Quran.com.

Path Parameters
    collectionId string required

    The collection ID. Use __default__ to add an ayah bookmark to the virtual Favorites collection used by Quran.com.

Request Body
    oneOf

    key integer required

    The Surah number.

    type string

    Possible values: [ayah]

    Default value: ayah

    The bookmark type.

    verseNumber integer required
    mushaf integer required

    Possible values: [1, 2, 3, 4, 5, 6, 7, 11, 19]

    The id of the Mushaf being used.

    1 = QCFV2

    2 = QCFV1

    3 = Indopak

    4 = UthmaniHafs

    5 = KFGQPCHAFS

    6 = Indopak15Lines

    7 = Indopak16Lines

    11 = Tajweeed

    19 = QCFTajweedV4

Responses

Request has been handled successfully.

Response Headers
  • X-Mutation-At string

    Unix timestamp (milliseconds) of the latest mutation for the user. Clients should store this value and include it in subsequent mutation requests for optimistic concurrency control.


Schema
    success boolean
    data object
    message

    Possible values: [collection bookmark added]

Loading...