Skip to content

User Activity Level

Request

This endpoint will return activity level summary of the user.

Security
user
curl -i -X GET \
  https://developer.egym.com/_mock/equipment/partner-api/api/v1/users/activity-levels \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

Ok

Bodyapplication/json
levelstring

User activity level (e.g. Bronze, Gold, etc.)

pointsinteger, (int32)

User number of activity points

Example:10
goalinteger, (int32)

Number of points to achieve next activity level

Example:999
maintainPointsCountinteger, (int32)

Number of points to approve current activity level

Example:400
daysLeftinteger, (int32)

Number of days to earn 'goal' to achieve next activity level

Example:27
Response
{ "level": "string", "points": 10, "goal": 999, "maintainPointsCount": 400, "daysLeft": 27 }