List rewards for the authenticated user
GET
/me/rewards
const url = 'https://example.com/me/rewards';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/me/rewardsLists the authenticated user’s rewards. Deprecated behaviour: when filter[type] is omitted this defaults to filter[type]=Voucher (vouchers only). Relying on this default is deprecated — pass an explicit filter[type] (e.g. Voucher or Ticket).
Responses
Section titled “Responses”Media typeapplication/json
Array<object>
object
Examplegenerated
[ { "id": "example", "type": "example", "data": "example", "created_at": "example", "updated_at": "example", "deleted_at": "example" }]