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.
Toggle post save
Toggle save/bookmark status for a post. Saved posts appear in the SAVED tab of the user profile for easy access later.
Path Parameters
id number required
Unique numeric post ID to save/unsave
Responses
- 200
- 401
- 404
Save status toggled - returns new state
application/json
Schema
Example (from schema)
Example
Schema
saved boolean
true if now saved, false if now unsaved
{
"saved": true
}
{
"saved": true
}
User not authenticated
Post not found
Loading...