Add viewed logs for mystery reward

Changed on

This endpoint allows you log when a mystery reward is viewed for a subscription

post/2026-04/subscription/{subscriptionId}/mysteryReward/claimReward/action

Request

  • Base URL
    https://api.loopsubscriptions.com/storefront
  • URL
    https://api.loopsubscriptions.com/storefront/2026-04/subscription/{subscriptionId}/mysteryReward/claimReward/action
  • Auth
    API key in header Authorization

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

Fetched subscription streak details successfully

successboolean
messagestring
codestring
pageInfounknown

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"
}

Changes