Skip to main content
The User API provides access to the authenticated user’s profile data, including personal account details, white-label configuration, and branding assets.

Get user data

Retrieve the complete profile of the authenticated user.
This endpoint returns comprehensive user information including:
  • Personal account details (email, name, permissions)
  • White-label configuration (logos, icons, custom domains)
  • S3 pre-signed URLs for branding assets
  • Account status and subscription information

Authentication

This endpoint requires API key authentication. The API key must have user access management permissions enabled.

Request

No request body is required. Authentication is provided via the Authorization header. Example request:

Response

boolean
Whether the request succeeded
object
User data object
Example response:

Use cases

Profile display

Show user profile information in your application

White-label branding

Apply custom branding from user’s white-label configuration

Permission checks

Verify user permissions before allowing actions

Account status

Display subscription status and account health

Error codes

Notes

All responses return HTTP 200. Check the success field in the response body to determine if the operation actually succeeded.
S3 pre-signed URLs for branding assets expire after a set period (typically 1 hour). Cache the URLs but be prepared to refresh them when they expire.
This endpoint is only available in self-hosted deployments. The Iqra Cloud platform manages user data through the dashboard interface.