Gamification
Get Points For All UsersDeprecated
Get points for all users based on mangoes with gamification enabled
Authorization
bearer AuthorizationBearer <token>
In: header
Query Parameters
limit?number
Number of items per page of the results
Range
1 <= valuepage?number
Page number of the results
Range
1 <= valuemangoes?string
Comma-separated list of mango unique identifiers
Header Parameters
x-whitelabel-host*string
Host name of the dashboard, ex: mydomain.tagmango.com
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://api-prod-new.tagmango.com/api/v1/external/gamification/points" \ -H "x-whitelabel-host: string"[
{
"createdAt": "2024-11-04T13:05:43.799Z",
"updatedAt": "2024-11-04T13:05:43.799Z",
"_id": "659bda0d1f30911c18766b31",
"creator": "6149b1e5612c4e5fd96041d3",
"fan": "62ea773dfc87495de3894e73",
"description": "This is a description for the point",
"extraData": {
"date": "2024-01-08T11:18:37.217Z"
},
"score": 16,
"type": "custom",
"date": "2024-01-07T11:18:37.146Z"
}
]{
"code": 400,
"type": "Bad Request",
"statusMessage": "BAD_REQUEST",
"success": false,
"message": "Invalid request",
"result": "Invalid request"
}{
"code": 401,
"type": "Unauthorized",
"statusMessage": "UNAUTHORIZED",
"message": "Invalid token",
"result": "Invalid token",
"success": false
}{
"code": 403,
"type": "Forbidden",
"statusMessage": "FORBIDDEN",
"errorCode": "WORKSHOP_MANGO_FORBIDDEN",
"message": "You can not access this api with a TagMango account, only available for whitelabel hosts",
"result": "You can not access this api with a TagMango account, only available for whitelabel hosts",
"success": false
}{
"code": 429,
"type": "Too Many Requests",
"statusMessage": "TOO_MANY_REQUESTS",
"message": "Request limit exceeded. try after 10 seconds",
"result": "Request limit exceeded. try after 10 seconds",
"success": false
}