To get a list of gift cards, you need to send a GET request to the /api/gifts/gifts endpoint.There are no required parameters for this endpoint, but you can filter the gift cards based on the following optional parameters:
status: The status of the gift card. This is an optional field of type string. Possible values are NEW, REDEEMED, EXPIRED, VOIDED, REFUNDED, UNKNOWN.
Request
Header Params
Request Code Samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request GET 'https://api.getroamify.com/api/gifts/gifts' \
--header'User-Agent: insomnia/10.1.0' \
--header'Authorization: token'
Responses
🟢200successfully / 200
text/plain
Body
Example
application/json; charset=utf-8 content type is not supported in the response body