Export gamification leaderboard for a customer
POST /api/companies/search
Required scopes
This endpoint requires the following scopes:
- : API
Authorizations
OAuth2clientCredentialsRequiredToken URL:
Client ID and Client Secret from Company → Company Settings → REST API. Enter credentials to auto-fetch token.
Body
pageNumberintegerRequiredExample:
1pageSizeintegerRequiredExample:
10orderBystringRequiredExample:
CreateTimeascendingbooleanRequiredExample:
falseisTargetUserCountExceededLimitbooleanOptionalExample:
If true, only companies exceeding license limit are returned
falseResponses
200
OK
application/json
statusstringOptional
messagestring · nullableOptional
validationMessagesstring[] · nullableOptional
post
/api/companies/search200
OK
POST /api/leaderboard/get-all/export
Required scopes
This endpoint requires the following scopes:
- : API
Authorizations
OAuth2clientCredentialsRequiredToken URL:
Client ID and Client Secret from Company → Company Settings → REST API. Enter credentials to auto-fetch token.
Body
exportTypestringOptional
reportAllPagesbooleanOptional
datePeriodstringOptional
startDatestring · date-time · nullableOptional
endDatestring · date-time · nullableOptional
Responses
200
OK
No content
post
/api/leaderboard/get-all/export200
OK
No content
POST /api/leaderboard/get-user-timeline/export
Required scopes
This endpoint requires the following scopes:
- : API
Authorizations
OAuth2clientCredentialsRequiredToken URL:
Client ID and Client Secret from Company → Company Settings → REST API. Enter credentials to auto-fetch token.
Body
exportTypestringOptional
reportAllPagesbooleanOptional
targetUserResourceIdstring · nullableOptional
actionTypesstring[] · nullableOptional
difficultyTypesstring[] · nullableOptional
productsstring[] · nullableOptional
datePeriodstringOptional
startDatestring · date-time · nullableOptional
endDatestring · date-time · nullableOptional
showOnlyFailedEventsbooleanOptional
Responses
200
OK
No content
post
/api/leaderboard/get-user-timeline/export200
OK
No content
Common errors
Last updated