cURL
curl --request GET \ --url https://v2.api.us.housr.com/partners/perks/users/{userId} \ --header 'Authorization: Bearer <token>'
{ "data": [ { "id": "<string>", "title": "<string>", "description": "<string>", "category": "<string>", "merchant_name": "<string>", "image_url": "<string>", "discount_text": "<string>", "terms": "<string>", "valid_from": "2023-11-07T05:31:56Z", "valid_to": "2023-11-07T05:31:56Z", "city": "<string>", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" } ], "meta": { "page": 123, "per_page": 123, "total": 123, "total_pages": 123 } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
available
redeemed
x >= 1
1 <= x <= 100
e.g. sort=title,-created_at
sort=title,-created_at
OK
Show child attributes