List
Parameters
Example
curl -X POST \
v1/rewards/list \
-H 'Authorization: Basic <Your Base64 Encoded Token>' \
-d '{
"search" : ["Cup of coffee",...]
}'Success Response
{
"status": "success",
"data": [
{
"pathway": {
"name": "My Pathway",
"ID": "FA-HCPG-06RF"
},
"rewards": [
{
"ID": "FARE-STZH-05MD",
"name": "Cup of Coffee",
"vouchers": [
{
"guid": "6c720133-3916-4172-94c9-62d1394fc72b",
"firstname": "Example",
"lastname": "One",
"email": "one@example.com",
"country": "South Africa",
"city": "Cape Town",
"state": "notified",
"expires": "never"
},
{
"guid": "6c720133-3916-4172-94c9-62d1394fc72b",
"firstname": "Example",
"lastname": "Two",
"email": "two@example.com",
"country": "United Kingdom",
"city": "London",
"state": "notified",
"expires": "never"
},
...etc
]
},
...etc
]
},
..etc
],
"hash": "a4c6da80893b7e82462d23f64dcabf08",
"response_time": 0.11021113395690918
}Pathway Reward Combination Object
Reward Object
Voucher Object
ConsumeLast updated