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.
Get posts count within range
Count how many posts the current user has written for verses within a specified Quran verse range. Useful for reading goals and progress tracking.
Query Parameters
Possible values: Value must match regular expression VERSE_KEY_REGEX
Start verse key in format chapter:verse (e.g., "2:1")
Possible values: Value must match regular expression VERSE_KEY_REGEX
End verse key in format chapter:verse (e.g., "2:286")
- 200
- 400
- 401
Count of posts within the specified verse range
Schema
{
"count": 5
}
{
"count": 5
}
Invalid verse range - malformed keys or from > to
User not authenticated