Skip to main content
GET
/
vouchers
Retrieve a list of vouchers
curl --request GET \
  --url https://api.spirii.com/vouchers \
  --header 'Authorization: Bearer <token>'
"{}"

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

groupId
integer
code
string
updatedAfter
string

Expiration date in ISO timestamp (UTC)

Example:

"2022-01-20T08:08:24.878Z"

offset
integer

The number of items to skip before starting to collect the result set

Example:

250

limit
integer
default:250

Number of record to collect

Required range: x <= 2000
Example:

250

Response

Voucher list