TickeTing REST API v3 Reference (3.0.0)

Introduction

The TickeTing REST API v3 allows developers to integrate with the TickeTing platform, from creating hosts and events to buying and transferring tickets. This reference document will walk you through authenticating against the API and the full list of available endpoints, their permissions and functionality.

Authentication

The TickeTing API uses API keys to authenticate requests. You must provide a valid API Key in the X-API-Key header of each request you make. There are two ways to get a valid API Key:

  1. Start a session with a valid TickeTing username and password (this gives access based on the user's permissions).

  2. Secure an integration key from a system administrator. Integration keys grant an access level determined by the administrator on creation.

Session Authentication and Integration Keys are covered in the Authentication section of this reference.

Example Request Header

X-API-Key: a9427bf35dd3d3011a1277c9c344ae07

Authentication Errors

Omitting the X-API-Key Header from your request or specifying an empty value, will result in the following 401 error response.

{
  "message": "Your request could not be authenticated."
}

If an invalid X-API-Key value is provided, or the provided key is valid, but does not have permission to access the requested resource, the following 403 error response is sent.

{
  "message": "You are restricted from accessing this resource."
}

Client Version

All requests to the API must advertise the version of the API they wish to integrate with. This ensures compatability with the server. This is done by including the X-Client-Version header in every request along with the expected API version. In this way the server can indicate when a client must upgrade to avoid breaking changes.

Example Request Header

X-Client-Version: 3.0.0

Client Version Errors

If the X-Client-Version header is omitted from your request, or the provided version does not meet the minimum required by the API, the following 412 error response is sent.

{
    "error": "Please upgrade your client to complete this request"
}

Error Responses

404 Errors

Requests to the API can result in a 404 error for two reasons:

  1. The endpoint you are trying to access does not exist, in which case you will see the following response:

    {
        "message": "The requested endpoint /invalid/endpoint does not exist on this server."
    }
  2. The endpoint you are requesting exists, but a resource cannot be located using the given URI. For example, trying to access an event resource with a non-existant ID such as /events/0000000 will result in the following response:

    {
        "error": "There is presently no resource with the given URI."
    }

Server Errors

This version of the API is still under development and there may be bugs and runtime errors encountered while processing your request. In these cases, a 500 error response will be sent with the message below. If such a message is received, please contact a system administrator with the details of your request (endpoint, method, headers and payload), so they may reproduce and resolve the issue.

{
  "message": "There was a server error while excuting this request. Please see system logs for details."
}

Other Errors

Additional error responses may be received when incorrectly accessing valid API endpoints. The errors received, and their resolution, are specific to the requested URI and HTTP Method and details are provided with each endpoint's reference where applicable.

Download OpenAPI description
Overview
TickeTing Inc.

dev@ticketingevents.com

License

Apache 2.0

Languages
Servers
Mock server

https://docs.ticketingevents.com/_mock/openapi/

QA Server

https://qa.ticketingevents.com/v3/

Production Server

https://api.ticketingevents.com/v3/

Session Authentication

Operations

Token Authentication

Operations

API Integrations

Operations

Account Management

Operations

Account Verification

Operations

Account Activation

Operations

Password Reset

Operations

Account Activity

Operations

Managing Host Accounts

Operations

Working with Events

Operations

Update section details

Request

Change the details of the requested event section

Path
eventintegerrequired

Unique identifier of the requested event

sectionintegerrequired

Unique identifier of the requested event section

Bodyapplication/json
namestringrequired

Name of the event section

descriptionstring

Details of the unique experience customers can expect when purchasing tickets to this event section

basePricenumber(float)required

Cost of tickets to this event section before the application of any price modifiers

salesStartstring(date-time)

The date and time at which tickets for this event section go on sale

salesEndstring(date-time)

The date and time at which ticket sales for this event section close

capacityintegerrequired

The maximum number of tickets that can be issued for this event section

curl -i -X PUT \
  'https://docs.ticketingevents.com/_mock/openapi/events/{event}/sections/{section}' \
  -H 'Content-Type: application/json' \
  -H 'X-API-Key: YOUR_API_KEY_HERE' \
  -d '{
    "name": "Backstage",
    "description": "Includes meet and greet with the film'\''s stars.",
    "basePrice": 50,
    "salesStart": "2024-01-01T00:00",
    "salesEnd": "2024-06-01T00:00",
    "capacity": 100,
    "x-parsed-md-description": {
      "result": [
        {
          "$$mdtype": "Node",
          "errors": [],
          "lines": [
            0,
            1
          ],
          "inline": false,
          "attributes": {},
          "children": [
            {
              "$$mdtype": "Node",
              "errors": [],
              "lines": [
                0,
                1
              ],
              "inline": false,
              "attributes": {},
              "children": [
                {
                  "$$mdtype": "Node",
                  "errors": [],
                  "lines": [
                    0,
                    1
                  ],
                  "inline": true,
                  "attributes": {
                    "content": "Includes meet and greet with the film'\''s stars."
                  },
                  "children": [],
                  "type": "text",
                  "annotations": [],
                  "slots": {}
                }
              ],
              "type": "inline",
              "annotations": [],
              "slots": {}
            }
          ],
          "type": "paragraph",
          "annotations": [],
          "slots": {}
        }
      ]
    }
  }'

Responses

The event section details were successfully updated.

Bodyapplication/json
selfstring(uri)

URI of the event section resource

namestring

Name of the event section

descriptionstring

Details of the unique experience customers can expect when purchasing tickets to this event section

basePricenumber(float)

Cost of tickets to this event section before the application of any price modifiers

salesStartstring(date-time)

The date and time at which tickets for this event section go on sale

salesEndstring(date-time)

The date and time at which ticket sales for this event section close

activeboolean

Whether or not tickets for this event section are currently on sale

capacityinteger

The maximum number of tickets that can be issued for this event section

soldinteger

The number of tickets sold for this event section

remaininginteger

The number of event section tickets available for sale

reservedinteger

The number of event section tickets held by ongoing orders

modifiersArray of objects(response-11)

A list of the section's price modifiers. Price modifiers implement special ticket rates including early bird specials, flash sales and group discounts.

Response
application/json
{ "self": "/events/16993717817996/sections/16993964783416", "name": "Backstage", "description": "Includes meet and greet with the film's stars.", "active": true, "basePrice": 50, "salesStart": "2024-01-01T00:00", "salesEnd": "2024-06-01T00:00", "capacity": 100, "sold": 23, "remaining": 74, "reserved": 3, "modifiers": [ { … } ], "x-parsed-md-description": { "result": [ … ] } }

Remove an event section

Request

Remove a section from an event. Only sections for which there are no ticket sales or active reservations can be deleted. If tickets have been sold, the section can no longer be deleted, but its associated event can be cancelled or unpublished as necessary.

Path
eventintegerrequired

Unique identifier of the requested event

sectionintegerrequired

Unique identifier of the requested event section

curl -i -X DELETE \
  'https://docs.ticketingevents.com/_mock/openapi/events/{event}/sections/{section}' \
  -H 'X-API-Key: YOUR_API_KEY_HERE'

Responses

The section was successfully removed from the event.

Bodyapplication/json
messagestring

Reason for the given response.

Response
application/json
{ "message": "Section: /events/16878174883191/sections/16993992757170, has been deleted." }

Create a price modifier

Request

Create a new price modifier for an event section. Price modifiers can be used to increase or decrease a section's base price based on the time of purchase or the number of tickets ordered. Price modifiers can be used to implement sales (Early Bird, Flash Sale), group rates or gate prices.

Path
eventintegerrequired

Unique identifier of the requested event

sectionintegerrequired

Unique identifier of the requested event section

Bodyapplication/json
namestringrequired

Name of the price modifier

priceDeltanumber(float)required

The change made to the event section's base price when this modifier is applied

availableFromstring(date-time)required

The date and time after which this price modifier will be applied

availableTostring(date-time)required

The date and time before which this price modifier will be applied

minOrderintegerrequired

The minimum order size for which this modifier will be applied (for group rates).

maxOrderintegerrequired

The maximum order size for which this modifier will be applied (for group rates).

curl -i -X POST \
  'https://docs.ticketingevents.com/_mock/openapi/events/{event}/sections/{section}/modifiers' \
  -H 'Content-Type: application/json' \
  -H 'X-API-Key: YOUR_API_KEY_HERE' \
  -d '{
    "name": "Supe Special",
    "priceDelta": -10,
    "availableFrom": "2024-01-01T00:00",
    "availableTo": "2024-03-31T00:00",
    "minOrder": 0,
    "maxOrder": 10
  }'

Responses

The new price modifier was successfully added to the section.

Bodyapplication/json
selfstring(uri)

URI of the price modifier resource

namestring

Name of the price modifier

priceDeltanumber(float)

The change made to the event section's base price when this modifier is applied

availableFromstring(date-time)

The date and time after which this price modifier will be applied

availableTostring(date-time)

The date and time before which this price modifier will be applied

activeboolean

Whether or not the price modifier is currently active based on its availability dates

minOrderinteger

The minimum order size for which this modifier will be applied (for group rates).

maxOrderinteger

The maximum order size for which this modifier will be applied (for group rates).

Response
application/json
{ "self": "/events/16993717817996/sections/16993964783416/modifiers/16994014111951", "name": "Supe Special", "active": true, "priceDelta": -10, "availableFrom": "2024-01-01T00:00", "availableTo": "2024-03-31T00:00", "minOrder": 0, "maxOrder": 10 }

Event Admissions

Operations

Event Reporting

Operations

Ad Zone Management

Operations

Advertising an Event

Operations

Placing an Order

Operations

Order Settlement

Operations

Ticket Transfers

Operations

Region Management

Operations

Venue Management

Operations

Category Management

Operations

Reviewing Content

Operations

Transaction Reports

Operations

Default Values

Operations