Skip to main content
GET
/
rewards
/
{rewardId}
/
entries
Get paginated reward entries for a specific reward
curl --request GET \
  --url https://{subdomain}.nudj.cx/api/v2/admin/rewards/{rewardId}/entries \
  --header 'x-api-token: <api-key>'
{
  "totalCount": 123,
  "edges": [
    {
      "id": "<string>",
      "organisationId": "<string>",
      "communityId": "<string>",
      "rewardId": "<string>",
      "userId": "<string>",
      "rewardAssetIds": [
        "<string>"
      ],
      "details": {
        "title": "<string>",
        "description": "<string>",
        "light": {
          "primaryImageUrl": "<string>",
          "secondaryImageUrl": "<string>"
        },
        "dark": {
          "primaryImageUrl": "<string>",
          "secondaryImageUrl": "<string>"
        }
      },
      "totalEntries": 123,
      "entries": [
        {
          "allocationId": "<string>",
          "amount": 123,
          "createdAt": "<string>"
        }
      ],
      "tags": [
        "<string>"
      ],
      "campaigns": [
        "<string>"
      ],
      "checkByDate": "<string>",
      "checkedAt": "<string>",
      "drawnAt": "<string>",
      "createdAt": "<string>",
      "updatedAt": "<string>",
      "additionalCommunityIds": [
        "<string>"
      ]
    }
  ]
}

Authorizations

x-api-token
string
header
required

Path Parameters

rewardId
string
required

Query Parameters

limit
integer
default:10
Required range: 1 <= x <= 100
skip
integer
default:0
Required range: x >= 0

Response

Successful response

totalCount
number
required
edges
Reward Entry · object[]
required
I