Get user by ID (Admin only)
Returns detailed information about a specific user. Only accessible by administrators.
path Parameters
userIdUser ID
Get user by ID (Admin only) › Responses
User retrieved successfully
idUnique identifier of the user
emailEmail address of the user
usernameUsername of the user
roleRole assigned to the user
regionUser Region
isBlockedIndicates if the user is blocked
blockedAtTimestamp when the user was blocked in ISO-8601 UTC format. Null if not blocked
firstNameFirst name of the user
lastNameLast name of the user
phoneNumberPhone number of the user
addressAddress of the user
profilePictureUrlURL or path to the user's profile picture
followersCountNumber of followers the user has
followingCountNumber of users the user is following
bioShort biography or description of the user
createdAtCreation timestamp in ISO-8601 UTC format
contentFilterEnabledUser's content filter flag
lastLoginLast Login timestamp in ISO-8601 UTC format
Update user completely (Admin only)
Updates user fields except role. Administrators cannot modify user roles. Only accessible by administrators.
path Parameters
userIdUser ID
Update user completely (Admin only) › Request Body
emailEmail address of the user
usernameUsername of the user
regionRegion of the user
isBlockedIndicates if the user is blocked
firstNameFirst name of the user
lastNameLast name of the user
phoneNumber^$|^\+?[0-9]{10,15}$User's phone number
addressAddress of the user
profilePictureUrlURL or path to the user's profile picture
biographyShort biography or description of the user
contentFilterEnabledUser's content filter flag
Update user completely (Admin only) › Responses
User updated successfully
idUnique identifier of the user
emailEmail address of the user
usernameUsername of the user
roleRole assigned to the user
regionUser Region
isBlockedIndicates if the user is blocked
blockedAtTimestamp when the user was blocked in ISO-8601 UTC format. Null if not blocked
firstNameFirst name of the user
lastNameLast name of the user
phoneNumberPhone number of the user
addressAddress of the user
profilePictureUrlURL or path to the user's profile picture
followersCountNumber of followers the user has
followingCountNumber of users the user is following
bioShort biography or description of the user
createdAtCreation timestamp in ISO-8601 UTC format
contentFilterEnabledUser's content filter flag
lastLoginLast Login timestamp in ISO-8601 UTC format
Get all users (Admin only)
Returns a paginated list of all users in the system. Only accessible by administrators.
query Parameters
pagePage number (0-based)
sizePage size
searchroleUser role type: LISTENER, ARTIST, UNDECLARED
isBlockedGet all users (Admin only) › Responses
Users retrieved successfully
totalElementstotalPagesnumberOfElementssizenumberfirstlastemptyCreate new admin user (Admin only)
Creates a new admin user in the system. Administrators can only create users with ADMIN role. Only accessible by administrators.
Create new admin user (Admin only) › Request Body
emailEmail address of the user
passwordPassword for the user account
usernameUsername of the user
isBlockedIndicates if the user is blocked
firstNameFirst name of the user
lastNameLast name of the user
phoneNumber^$|^\+?[0-9]{10,15}$User's phone number
addressAddress of the user
profilePictureUrlURL or path to the user's profile picture
biographyShort biography or description of the user
contentFilterEnabledUser's content filter flag
Create new admin user (Admin only) › Responses
Admin user created successfully
idUnique identifier of the user
emailEmail address of the user
usernameUsername of the user
roleRole assigned to the user
regionUser Region
isBlockedIndicates if the user is blocked
blockedAtTimestamp when the user was blocked in ISO-8601 UTC format. Null if not blocked
firstNameFirst name of the user
lastNameLast name of the user
phoneNumberPhone number of the user
addressAddress of the user
profilePictureUrlURL or path to the user's profile picture
followersCountNumber of followers the user has
followingCountNumber of users the user is following
bioShort biography or description of the user
createdAtCreation timestamp in ISO-8601 UTC format
contentFilterEnabledUser's content filter flag
lastLoginLast Login timestamp in ISO-8601 UTC format
Unblock user (Admin only)
Unblocks a user. Only accessible by administrators.
path Parameters
userIdUser ID
Unblock user (Admin only) › Responses
User unblocked successfully
idUnique identifier of the user
emailEmail address of the user
usernameUsername of the user
roleRole assigned to the user
regionUser Region
isBlockedIndicates if the user is blocked
blockedAtTimestamp when the user was blocked in ISO-8601 UTC format. Null if not blocked
firstNameFirst name of the user
lastNameLast name of the user
phoneNumberPhone number of the user
addressAddress of the user
profilePictureUrlURL or path to the user's profile picture
followersCountNumber of followers the user has
followingCountNumber of users the user is following
bioShort biography or description of the user
createdAtCreation timestamp in ISO-8601 UTC format
contentFilterEnabledUser's content filter flag
lastLoginLast Login timestamp in ISO-8601 UTC format
Block user (Admin only)
Blocks a user and revokes all their tokens. Only accessible by administrators.
path Parameters
userIdUser ID
Block user (Admin only) › Responses
User blocked successfully
idUnique identifier of the user
emailEmail address of the user
usernameUsername of the user
roleRole assigned to the user
regionUser Region
isBlockedIndicates if the user is blocked
blockedAtTimestamp when the user was blocked in ISO-8601 UTC format. Null if not blocked
firstNameFirst name of the user
lastNameLast name of the user
phoneNumberPhone number of the user
addressAddress of the user
profilePictureUrlURL or path to the user's profile picture
followersCountNumber of followers the user has
followingCountNumber of users the user is following
bioShort biography or description of the user
createdAtCreation timestamp in ISO-8601 UTC format
contentFilterEnabledUser's content filter flag
lastLoginLast Login timestamp in ISO-8601 UTC format
Update user blocked status only (Admin only)
Updates only the blocked status of a user. Role modification is not allowed. Only accessible by administrators.
path Parameters
userIdUser ID
Update user blocked status only (Admin only) › Request Body
isBlockedIndicates if the user is blocked
Update user blocked status only (Admin only) › Responses
User blocked status updated successfully
idUnique identifier of the user
emailEmail address of the user
usernameUsername of the user
roleRole assigned to the user
regionUser Region
isBlockedIndicates if the user is blocked
blockedAtTimestamp when the user was blocked in ISO-8601 UTC format. Null if not blocked
firstNameFirst name of the user
lastNameLast name of the user
phoneNumberPhone number of the user
addressAddress of the user
profilePictureUrlURL or path to the user's profile picture
followersCountNumber of followers the user has
followingCountNumber of users the user is following
bioShort biography or description of the user
createdAtCreation timestamp in ISO-8601 UTC format
contentFilterEnabledUser's content filter flag
lastLoginLast Login timestamp in ISO-8601 UTC format
Get total users metrics (Admin only)
Returns total users count with regional breakdown and percentage change compared to previous period. Only accessible by administrators.
query Parameters
periodTime period for metrics
Time period for metrics filtering
Get total users metrics (Admin only) › Responses
Total users metrics retrieved successfully
totalUsersTotal number of users
Users count by region
changePercentagePercentage change compared to previous period
Get role distribution metrics (Admin only)
Returns user count distribution by role with total and regional breakdown and percentage change. Only accessible by administrators.
query Parameters
periodTime period for metrics
Time period for metrics filtering
Get role distribution metrics (Admin only) › Responses
Role distribution metrics retrieved successfully
User counts by role
User counts by role and region
changePercentagePercentage change compared to previous period
Get new sign ups metrics (Admin only)
Returns count of new user signups in the specified period with percentage change. Only accessible by administrators.
query Parameters
periodTime period for metrics
Time period for metrics filtering
Get new sign ups metrics (Admin only) › Responses
New sign ups metrics retrieved successfully
newSignUpsTotal number of new sign ups in the period
changePercentagePercentage change compared to previous period
Get blocked users metrics (Admin only)
Returns count of blocked users with regional breakdown and percentage change. Only accessible by administrators.
query Parameters
periodTime period for metrics
Time period for metrics filtering
Get blocked users metrics (Admin only) › Responses
Blocked users metrics retrieved successfully
totalBlockedUsersTotal number of blocked users
Blocked users count by region
changePercentagePercentage change compared to previous period
Get active users metrics (Admin only)
Returns count of active users (users with last login in period) with percentage change. Only accessible by administrators.
query Parameters
periodTime period for metrics
Time period for metrics filtering
Get active users metrics (Admin only) › Responses
Active users metrics retrieved successfully
activeUsersTotal number of active users in the period
changePercentagePercentage change compared to previous period