API referencePromo codes
List promo codes
List promo codes, newest first. Filter with `code` or `event`.
GET
List promo codes, newest first. Filter with code or event.
httpheader
AuthorizationBearer <token>code?|Length
length <= 255limit?integerNumber of objects to return, 1 to 100.
Default
25starting_after?stringCursor: the id of the last object of the previous page.
event?stringOnly objects of this event (evt_...).
updated_since?stringOnly objects updated at or after this ISO 8601 time.
Format
date-timecreated_since?stringOnly objects created at or after this ISO 8601 time.
Format
date-timeA page of objects, newest first.
application/json- response
object*stringurl*stringhas_more*booleandata*array<>curl -X GET 'https://api.tixxy.nl/v1/promocodes'Example Response
{ "object": "list", "url": "string", "has_more": true, "data": [ { "id": "string", "object": "promocode", "code": "string", "type": "string", "percent_off": 0, "amount_off": 0, "currency": "eur", "usage_limit": 0, "times_used": 0, "is_active": true, "is_valid": true, "valid_from": "string", "valid_until": "string", "events": [ "string" ], "ticket_types": [ "string" ], "created_at": "string", "updated_at": "string" } ]}