Skip to content

API Integrations

Create new integration token

Request

Create an API integration token that can be used to authenticate requests instead of a session key. Integrations should be used where user interaction is not desirable/possible or for server to server applications.

Security
SessionKey(Required scopes: administrator)
Bodyapplication/json
namestringrequired

Unique name of the API Integration Token

accessstringrequired

The required access level for this token

Enum:"public""customer""support""host""administrator"
curl -i -X POST \
  https://docs.ticketingevents.com/_mock/openapi/integrations \
  -H 'Content-Type: application/json' \
  -H 'X-API-Key: YOUR_API_KEY_HERE' \
  -d '{
    "name": "TickeTing Live Events Calendar",
    "access": "public"
  }'

Responses

Indicates that the API integration token was successfully created

Bodyapplication/json
namestring

Unique name of the API Integration Token

accessstring

The required access level for this token

Enum:"public""customer""support""host""administrator"
keystring

The unique API Key attached to this integration. Can be used to authenticate API requests with the specified access level.

Response
{ "name": "TickeTing Live Events Calendar", "access": "public", "key": "dcbb49fdd05a58ea59cb6c024b76fb68" }