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.
Export posts as PDF
Generate a downloadable PDF document containing selected posts with their full content, Quran references, and author information. Ayah translations are rendered according to user language preferences.
Request Body required
Array of post IDs to include in the PDF export (minimum 1)
Possible values: >= 1
Array of post IDs to export
- 200
- 400
- 401
- 404
PDF file generated and returned as binary attachment
Schema
string
Invalid request - empty or invalid post IDs array
User not authenticated
No accessible posts found for the given IDs