Event Details API

This feature provides access to your live event details through the use of a token generated on the Sticky Tickets website. With this granted access, you can retrieve the following event details:
  • ID number
  • Event name
  • Start date/time
  • End date/time
  • Venue name
  • Venue address
  • Location special instructions
  • Organiser name
  • Organisation name
  • Phone
  • Email
  • Event description
  • Event capacity
  • Event images
  • Ticket names
  • Ticket capacity
  • All sub-ticket details
  • Event sub-ticket details

The primary purpose of this feature is to offer flexibility, allowing you to showcase your event details on your website using your preferred design and layout.


Setup

- To setup access on the event details api, you must first enable this feature on the Integrations page under Organiser Settings tab.



 

- Click the Generate button to create a token that will be used for accessing the event details api.



 

- The Copy button is also provided to copy the generated token, you need to remember this token.

- To disable, just click the disable button from the Integration.




Token

- Token is used as a security check for anyone who will access the event details api, it has no expiration and can be removed and updated anytime.


How to use

- Event details Api url is /public/{organiserId}/events.

- There are two ways of passing the token, first is by adding it to the request as a header, second is by passing it as a parameter on the request url





Sample JSON Response

[

{

        "

id": 33221,

        "name": "Blues Festival",

        "startDate": "31/12/2021 10:30:00 AM",

        "endDate": "31/12/2021 3:30:00 PM",

        "location": "Opera House",

        "locationAddress": "Cicular Quay Sydney 200",

        "locationSpecialInstructions": null,

        "organiserName": "John Doe",

        "organisationName": "Sticky Tickets Australia Pty Ltd",

        "phone": "6128787660",

        "email": "support@stickytickets.com.au",

        "description": "<p>This is a test only event for the Sticky Tickets Event Details API.</p>",

        "capacity": 100,

        "image1": null,

        "image2": null,

        "image3": null,

        "isPublic": true,

        "tickets": [

            {

                "eventId": 33221,

                "ticketName": "General Admission",

                "capacity": 100

            }

        ],

        "subtickets": []

    },

    {

        "id": 15449,

        "name": "Blues Festival After Party",

        "startDate": "31/12/2021 4:50:00 PM",

        "endDate": "31/12/2021 11:40:00 PM",

        "location": "Grand Concert Hall",

        "locationAddress": "1 Kent Street, Millers Point NSW 2000, Australia",

        "locationSpecialInstructions": null,

        "organiserName": "John Doe",

        "organisationName": "Sticky Tickets Australia Pty Ltd",

        "phone": "161287660660",

        "email": "support@stickytickets.com.au",

        "description": "<p>This is a test only event for the Sticky Tickets Event Details API.</p>",

        "capacity": 2500,

        "image1": null,

        "image2": null,

        "image3": null,

        "tickets": [

            {

                "eventId": 15449,

                "ticketName": "Free Registration",

                "capacity": 2100

            },

            {

                "eventId": 15449,

                "ticketName": "Early Bird Full Entry",

                "capacity": 2100

            },

            {

                "eventId": 15449,

                "ticketName": "Full Entry",

                "capacity": 2111

            },

            {

                "eventId": 15449,

                "ticketName": "2 Adults 2 Kids",

                "capacity": 2111

            }

        ],

        "subtickets": [

            {

                "eventId": 15449,

                "ticketName": "Concession",

                "parent": "Full Entry",

                "capacity": 100

            }

        ]

    }

]