Skip to main content
GET
Get User Stats
This endpoint requires authentication. Include your Bearer token in the Authorization header.

Description

/user//stats Description: The /user/{userId}/stats endpoint allows users to retrieve statistical information related to a specific user identified by their unique userId. Authorization:
  • Own resource: any authenticated user (self-access)
  • Other resources: admin or higher
Method: GET Path Parameter:
See Sample Response below

Code Examples

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"

Path Parameters

id
string
required

User ID (TenantUser ID)

Response

Success (NEW) - get user stats

artists
integer

Number of artists associated with the user

assets
integer

Number of assets associated with the user

products
integer

Number of products associated with the user

splits
integer

Number of splits/shares assigned to the user

Royalty_Share
number

Total royalty share amount

paid
number

Amount already paid to the user

net
number

Net earnings

gross
number

Gross earnings

due
number

Amount currently due to the user