Skip to content

Retrieve token key

Request

Returns authentication key and netadata for an event admissions token. Authenticating requests with the returned key will grant access to endpoints needed for ticket redemption.

Security
SessionKey(Required scopes: publiccustomeradministrator)
Path
codeintegerrequired

8-character code that uniquely identifies an admission token

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

Responses

Returns authentication and metadata for an admissions token

Bodyapplication/json
keystring

The API access key associated with this token

eventstring, (uri)

URI of the event resource the token belongs to

sectionsArray of strings

List of sections this token can redeem tickets for.

Response
{ "key": "11a6f64c842142235g8668c5ff77024c", "event": "/events/16993717817996", "sections": [ "/events/16993717817996/sections/16993964783416", "/events/16993717817996/sections/16993964783417" ] }