Skip to main content

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.

Get user profile by id or username

Retrieve a user profile by either UUID or username. If viewing your own profile, returns full data; otherwise returns public profile with follow relationship status.

Path Parameters
    id string

    UUID of the user

    username string

    Username of the user (case-insensitive)

Query Parameters
    qdc boolean

    Include Quran.com connected account data

Responses

Own profile with full data, or another user public profile with mutual followers info


Schema
    oneOf

    avatarUrls object required
    settings object
    ayahLanguages number[]
    reflectionLanguages number[]
    customized boolean
    hideFollowSuggestion boolean

    Hide follow suggestion popup after liking a post

    showFollowFeaturedSuggestion boolean

    Show featured follow suggestion popup on Quran Reflect onboarding

    createdAt string required
    joiningYear number required
    isPasswordSet boolean

    Only returned when qdc=true and the Quran.com connected account lookup succeeds.

    email string

    Only returned when qdc=true and the Quran.com connected account lookup succeeds.

    photoUrl string

    Only returned when qdc=true and the Quran.com connected account lookup succeeds.

    username string
    id string required
    verified boolean

    Default value: false

    postAs boolean

    Default value: false

    firstName string
    lastName string
    postsCount number

    Default value: 0

    languageId number
    followersCount number

    Default value: 0

    likesCount number

    Default value: 0

    isAdmin boolean

    Default value: false

    languageIsoCode string

    Default value: en

    bio string
    country string
    followed boolean
Loading...