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.
Track post view
Record that a post has been viewed by the current user (if authenticated). Used for analytics and engagement tracking. Does not require authentication but will track user-specific views when logged in.
Path Parameters
Unique numeric post ID
Query Parameters
Possible values: [reflection, lesson, re_reflect, re_reflection]
Possible values: [logged_in, guest]
Possible values: [dwell_time, interaction]
Possible values: [like, comment, re_reflect]
Possible values: [qr_web, qr_ios, qr_android]
- 200
View tracked successfully
Schema
{
"success": true
}
{
"success": true
}