Skip to main content
GET
/
v2
/
vouchers
Get a list of vouchers
curl --request GET \
  --url https://api.spirii.com/v2/vouchers
{
  "data": [
    {
      "id": 67890,
      "code": "TT-67890",
      "voucherGroupId": 67890,
      "maxUsers": 100,
      "expiresAt": "2025-06-03T12:00:00.000Z",
      "createdAt": "2025-06-03T12:00:00.000Z",
      "updatedAt": "2025-06-03T12:00:00.000Z",
      "deletedAt": "2025-06-03T12:00:00.000Z"
    }
  ],
  "count": 1
}

Response

200 - application/json

The returned list of vouchers.

data
object[]
required

A list of Vouchers.

count
integer
required

Total number of vouchers matching the query.

Required range: x >= 0