Get campaign leaderboard
Get leaderboard for a campaign, sorted by score. Additional query parameters can be used to filter and paginate the results. Filter by fromTime and toTime to get scores within a specific time range. Filter by day to get scores for a specific day of the campaign. You cannot use both fromTime/toTime and day together. If no filters are provided, the leaderboard will show all scores for the campaign, paginated. Users who have not provided their name will not be included in the leaderboard.
Request
- Base URLhttps://api.infobip.com (the document declares no server; this is the origin it was published from)
- AuthAPI key in header Authorization
Path parameters
The UUID of the campaign to retrieve the leaderboard for.
Query parameters
Page number.
Number of records per page.
Start time for filtering scores (datetime, ISO string, or Unix timestamp). Example value: 2023-10-01T00:00:00Z.
End time for filtering scores (datetime, ISO string, or Unix timestamp). Example value: 2023-10-31T23:59:59Z.
Retrieves scores for a specific day. Can't be used with fromTime/toTime. Days count starts at 0, which means that the API will return scores for the first day of the campaign.
Response
Leaderboard retrieved successfully
Changes
No recorded changes to this operation across all 1 revision of this API.