Tenant API - Tickets

Create a new event

Before a content of type ticket.event can be sent an event must first be created. This endpoint is used to create a new event. The event can then be referenced when sending content of type ticket.event. See the ticket metadata in v2 content API for more information on how to send content of type ticket.event.

Note that the tenant owns the event and as such the tenant that creates the event must also send the content.

post/v2/tenant/{tenantKey}/ticket/event

Request

  • Base URL: https://sender.api.kivra.com
  • URL: https://sender.api.kivra.com/v2/tenant/{tenantKey}/ticket/event
  • Auth: oAuth2Client (defined in the document in a form this page cannot read)

Path parameters

tenantKeystring required

The unique Key for a Tenant

Request body

event_referencestring required

Used for uniqness of the event, only one event can be created with a specific event_reference.

namestring required

The name of the event.

urlstring uri nullable

A URL to the event's website or more information. Must be HTTPS.

informationstring nullable

Response

Event created successfully

event_keystring uuid

Unique identifier for the created event

Example response

{
  "event_key": "019782da-3b4a-7f6c-b8bd-e486dcf6e542"
}

Changes

No recorded changes to this operation across all 1 revision of this API.