List events
Retrieve all events created by your organisation.
GET
https://api.eventgoose.com/v1/events
Authentication
Authenticate yourself using your organisation api token
Parameters
None
Response
200
application/json
A paginated object is returned with a list of event objects.
The results are paginated. Fetching all objects of a resource can be convenient. At the same time, returning too many objects at once can be unpractical from a performance perspective. Doing so might be too much work for the Eventgoose API to generate, or for your website to process.
Note
Don't add these tickets to the checkout process. Only the tickets from the Get shop
resource can be added.
HTTP/1.1 200 OK
Content-Type: application/json
{
"data": [
{
"id": "jL3DYVM4ApEBJn4w",
"name": "Golden Plains",
"is_continuous": false,
"dates": [
{
"id": "5dP8kGOmLlEwgmlr",
"starts_at": "2020-12-18T17:00:00.000000Z",
"ends_at": "2020-12-18T22:30:00.000000Z"
},
{
"id": "oLenyp2qbDMRAQVY",
"starts_at": "2020-12-19T17:00:00.000000Z",
"ends_at": "2020-12-19T22:30:00.000000Z"
}
],
"venue": {
"name": "Eventgoose: Online Tickets Verkopen",
"street": "F.B. Deurvorststraat",
"house_number": "43",
"addition": null,
"zipcode": "7071 BG",
"city": "Ulft",
"state": null,
"country": "Netherlands"
},
"shops": [
"a5KgQw2vqOPlAZJ9",
"3Q4aZe21jMrlkY6x"
],
"tickets": [
{
"id": "3Q4aZe21N0MrlkY6",
"name": "Regular",
"price": "50.00",
"service_fee": 1,
"min_order_amount": 0,
"max_order_amount": 10,
"sold_out": true,
"tags": [
"tag1",
"tag2"
]
},
{
"id": "0nqJjGEj3WOedYPQ",
"name": "VIP",
"price": "75.00",
"service_fee": 1,
"min_order_amount": 0,
"max_order_amount": 10,
"sold_out": true,
"tags": [],
}
]
},
{ },
{ },
],
"links": {
"first": "https://api.eventgoose.com/v1/events?page=1",
"last": "https://api.eventgoose.com/v1/events?page=1",
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"path": "https://api.eventgoose.com/v1/events",
"per_page": 20,
"to": 3,
"total": 3
}
}