Rewards
This API retrieves the total rewards earned by users for tasks completed during a specified reporting period. The reporting period can either be provided in the request (date_from and date_to) or defaults to the last closed reporting period if not specified. Rewards are only included for tasks marked with is_reporting_period_closed = true.
Notes:
If
date_fromanddate_toare provided, the system calculates rewards for all full calendar months within the range and returns the total for those monthsIf no period is specified, the API defaults to the last closed reporting period
Pagination is required when external_user_ids is not specified, as the response includes data for all users
Rewards are only included for tasks with
is_reporting_period_closed = true
The start date of the reporting period in ISO 8601 format.
The end date of the reporting period in ISO 8601 format.
Tenant id (uuid v4)
An array of unique identifiers assigned to users by an external system or third-party service. If not provided, the response includes data for all users in the system.
["550e8400-e29b-41d4-a716-446655440000","6ba7b810-9dad-11d1-80b4-00c04fd430c8","6ba7b811-9dad-11d1-80b4-00c04fd430c8"]Returned when the rate limit is exceeded
Last updated