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

Event Admissions

Operations

Event Reporting

Operations

Ad Zone Management

Operations

Advertising an Event

Operations

Placing an Order

Operations

List orders

Request

Retrieve a list of orders matching the given criteria.

Query
recordsinteger

The number of records per page that should be returned

Default 25
pageinteger

The number of the results page to return

Default 1
profilestring^[A-Z]{2}-[A-Z0-9]{8}$

If set, only returns orders placed by the customer identified by the specified account number

numberstring^\d{14}$

If set, only returns the order identified by the specified number

itemstring^\d{14}$

If set, only returns orders containing the specified item

statusstring

If set, only returns orders with the specified status

Enum"Placed""Cancelled""Timed Out""Fulfilled""Voided""Returned"
curl -i -X GET \
  'https://docs.ticketingevents.com/_mock/openapi/orders?item=string&number=string&page=1&profile=string&records=25&status=Placed' \
  -H 'X-API-Key: YOUR_API_KEY_HERE'

Responses

The list of matching orders was successfully retrieved.

Bodyapplication/json
totalinteger

The total number of results available

pageinteger

The number of the results page returned

recordsinteger

The maximum number of results returned per page

entriesArray of objects(response-16)

List of orders matching the given criteria

Response
application/json
{ "page": 1, "records": 10, "entries": [ {} ] }

Place a new order

Request

Place a new order for one or more tickets. A single order can include multiple ticket types of a single event, or from multiple events. When a new order is created tickets are reserved for a fixed period of time until the order is settled, cancelled or times out.

If the tickets being ordered are free (i.e. the order total is $0.00), the order is fuliflled immediately and tickets delivered to the customer's account.

Bodyapplication/json
itemsobject

Sections for which to order tickets. The object's keys are the URI of the event section for which tickets are being ordered, while its values are the number of tickets to order for the section.

curl -i -X POST \
  https://docs.ticketingevents.com/_mock/openapi/orders \
  -H 'Content-Type: application/json' \
  -H 'X-API-Key: YOUR_API_KEY_HERE' \
  -d '{
    "items": {
      "/events/16993717817996/sections/16993964783416": 2,
      "/events/16993717817996/sections/16971671292759": 2
    }
  }'

Responses

The order was successfully placed.

Bodyapplication/json
selfstring(uri)

URI of the order resource

numberstring

Unique identifier of the order

statusstring

Current status of the order

placedstring(date-time)

The date and time at which the order was placed

subtotalnumber(float)

Total cost of the ordered items, before convenience fees are applied

feesnumber(float)

Total applicable convenience fees for this order

totalnumber(float)

Total to be paid for this order inclusive of item costs (subtotal) and fees

itemsArray of objects

List of items that were ordered

accountobject

Details of the user account that placed the order

paymentsstring(uri)

URI of the collection of payments that settle this order

Response
application/json
{ "self": "/orders/E8D946240203", "number": "E8D946240203", "status": "Placed", "placed": "2024-02-03T23:22:31+00:00", "subtotal": 140, "fees": 3.96, "total": 143.96, "items": [ {}, {} ], "account": { "self": "/accounts/MO-6A39EE8D", "number": "MO-6A39EE8D", "username": "mothers.milk", "email": "marvin.milk@usmc.gov", "role": "customer", "verified": false, "activated": true, "firstName": "Marvin", "lastName": "Milk", "title": "Mr", "dateOfBirth": "1974-09-14", "phone": "+1 (268) 555 0123", "country": "Antigua and Barbuda", "firstAddressLine": "Jennings New Extension", "secondAddressLine": "", "city": "Jennings", "state": "Saint Mary's" }, "payments": "/orders/E8D946240203/payments" }

Retrieve order details

Request

Retrieve the details of the requested order

Path
orderstring^\d{14}$

Unique identifier of the order

curl -i -X GET \
  'https://docs.ticketingevents.com/_mock/openapi/orders/{order}' \
  -H 'X-API-Key: YOUR_API_KEY_HERE'

Responses

Details of the requested order were successfully retrieved.

Bodyapplication/json
selfstring(uri)

URI of the order resource

numberstring

Unique identifier of the order

statusstring

Current status of the order

placedstring(date-time)

The date and time at which the order was placed

subtotalnumber(float)

Total cost of the ordered items, before convenience fees are applied

feesnumber(float)

Total applicable convenience fees for this order

totalnumber(float)

Total to be paid for this order inclusive of item costs (subtotal) and fees

itemsArray of objects

List of items that were ordered

accountobject

Details of the user account that placed the order

paymentsstring(uri)

URI of the collection of payments that settle this order

Response
application/json
{ "self": "/orders/E8D946240203", "number": "E8D946240203", "status": "Placed", "placed": "2024-02-03T23:22:31+00:00", "subtotal": 140, "fees": 3.96, "total": 143.96, "items": [ {}, {} ], "account": { "self": "/accounts/MO-6A39EE8D", "number": "MO-6A39EE8D", "username": "mothers.milk", "email": "marvin.milk@usmc.gov", "role": "customer", "verified": false, "activated": true, "firstName": "Marvin", "lastName": "Milk", "title": "Mr", "dateOfBirth": "1974-09-14", "phone": "+1 (268) 555 0123", "country": "Antigua and Barbuda", "firstAddressLine": "Jennings New Extension", "secondAddressLine": "", "city": "Jennings", "state": "Saint Mary's" }, "payments": "/orders/E8D946240203/payments" }

Order Settlement

Operations

Ticket Transfers

Operations

Region Management

Operations

Venue Management

Operations

Category Management

Operations

Reviewing Content

Operations

Transaction Reports

Operations

Default Values

Operations