Get a reward by ID
GET/reward/:rewardId
Get a reward by ID
Request
Path Parameters
The unique identifier for the reward
Responses
- 200
- 403
- 404
- 500
Reward retrieved successfully
- application/json
- Schema
- Example (from schema)
Schema
Number of times this reward has been redeemed by the current user.
Maximum number of times this reward can be redeemed.
Unique identifier for Reward
Additional JSON metadata for triggers, actions or general easy-access data
Time representation of entity creation
Unique identifier for RewardType
The order in which the reward should be displayed
Maximum allowed number of times for the reward to be redeemed by a single user
Optional URL for the reward's thumbnail image.
ID of the project associated with the reward
Possible values: <= 32 characters
Name of the reward
Detailed description of the reward
Number of times this reward has been redeemed.
Expiration date for special rewards
Possible values: <= 1000000
Points required to claim the reward
{
"myUserRewardCount": 2,
"maxClaims": null,
"id": "r3b19Z1n",
"data": "{\"criteria\": \"complete_all_adventure_quests\", \"icon\": \"explorer_badge_icon.png\"}",
"createdAt": "2024-01-01T09:00:00.00Z",
"rewardTypeId": "R3b19Z1n",
"rankOrder": 1,
"userRewardsLimit": 3,
"thumbnail": "https://file.playmakers.co/r15Y7T4sM/r15Y7T4sM_thumbnail.png",
"projectId": "pGdouyKfY",
"name": "Amazon gift card",
"description": "By completing the quest you're awarded with a shimmery golden badge",
"userRewardCount": 1,
"expiresAt": "2025-01-01T09:00:00.00Z",
"requiredPoints": 10
}
Forbidden
- application/json
- Schema
- Example (from schema)
- Example
Schema
{
"error": "string"
}
{
"error": "Forbidden access"
}
NotFound
- application/json
- Schema
- Example (from schema)
- Example
Schema
{
"error": "string"
}
{
"error": "A mandatory item was not found"
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
- Example
Schema
{
"error": "string"
}
{
"error": "Internal Server Error"
}