Description: Retrieves user information based on the specified filters.
Parameters:
language: The language. Use country code (ex: ‘en’, ‘ru’, ‘es’, etc.)utm: The start parameteris_premium: Whether the user is premiumcountry: The countrycity: The cityHeader
x-api-key: Your API Key (Dashboard->Settings)Returns:
UserSegmentationResponse: The response containing the user segmentation data. It contains the following fields:
data: The list of user segmentation entries. It contains the following fields:
telegram_id: The Telegram ID of the user.language: The language of the user. Defaults to None.utm: The start parameter of the user. Defaults to None.is_premium: Whether the user is premium. Defaults to False.first_active_at: The first active date of the user.country: The country of the user. Defaults to None.city: The city of the user. Defaults to None.total_events: The total number of events from the user in your application.total_sessions: The total number of sessions from the user in your application.username: The username of the user. Defaults to None.firstname: The first name of the user. Defaults to None.lastname: The last name of the user. Defaults to None.last_active_at: The last active date of the user.device: The device of the user. Defaults to None.brand: The brand of the user. Defaults to None.model: The model of the user. Defaults to None.limit: The number of items per page.offset: The number of items to skip.status_code: The status code of the response.message: The message of the response.Raises:
HTTPException: If an error occurs during the retrieval process.Your API Key (Dashboard->Settings)
Language
Start parameter
Is premium user
Country
City
Sort by
is_premium, curr_balance, curr_volume, total_events, total_sessions, language, country, city, provider Sort order
asc, desc Number of items per page
x >= 1Number of items to skip
x >= 0