Menu
List Rewards
List Rewards
GET
/v1/rewardsUse it in a workflow
- Add a step and choose the Voucherify connector.
- Pick the List Rewards action (under Rewards).
- Fill in the fields below, then reference the result from later steps as
{{listRewards.response.data}}.
Request
Query parameters
Response
Returns 200 with an object. Read it in later steps with {{listRewards.response.data.<field>}}.
{
"object": "list",
"data_ref": "data",
"data": [
{
"object": "reward",
"id": "rew_nIy4gHpQHle2c3pNMwuj7G6j",
"name": "string",
"stock": 0,
"redeemed": 0,
"attributes": {
"image_url": "string",
"description": "string"
},
"metadata": {},
"type": "CAMPAIGN",
"parameters": null,
"created_at": "2022-08-11T14:49:22.586Z",
"updated_at": "2022-08-11T16:01:34.885Z"
}
],
"total": 20
}
Need more? See the Voucherify guide for connection setup and behaviour shared by every action.
Was this page helpful?