v1
latestOpenAPI 3.1.02026-07-241120379.1 KBCopy of Copy of Copy of Streaks
Fetch Streaks related details for a given subscription ID in a specific locale
post/2023-10/subscription/{subscriptionId}/mysteryReward/claimReward/action
Path parameters
subscriptionIdinteger required
The unique identifier for a subscription in Loop
Query parameters
rewardIdstring required
The reward id of the mystery reward which is to be claimed
actionTypestring required
Response
200
Example response
{
"success": true,
"message": "Fetched subscription streak details successfully",
"data": {
"programName": "New streak",
"streakLength": 5,
"gracePeriod": 7,
"status": "ACTIVE",
"nextDueDate": "2025-12-07T08:00:00.000Z",
"rewards": [
{
"orderNumber": 1,
"rewardType": "NONE",
"texts": {
"rewardTitle": "Great work with the first move!"
}
}
]
},
"code": "SUCCESS"
}