PPylon Developers
ApiOrganizer Events

Issue tickets directly

Issues tickets directly for an event, bypassing the checkout flow.

POST
/api/organizer/v1/events/{id}/tickets/issue
AuthorizationBearer <token>

Enter your bearer token from the Pylon Auth API.

In: header

Path Parameters

id*string
Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/problem+json

curl -X POST "https://loading/api/organizer/v1/events/497f6eca-6276-4993-bfeb-53cbbbba6f08/tickets/issue" \  -H "Content-Type: application/json" \  -d '{    "sessionId": "f6567dd8-e069-418e-8893-7d22fcf12459",    "ticketTypeId": "2205b8a7-79ec-406f-ac86-a5e81fe84318",    "quantity": 1,    "recipientFirstName": "string",    "recipientLastName": "string",    "recipientEmail": "user@example.com",    "reason": "Complimentary"  }'
{
  "orderId": "b3e1eced-f2bd-4d8c-9765-fbc9d1d222d5",
  "orderNumber": "string",
  "tickets": [
    {
      "ticketId": "e3e3e8ea-b02a-4536-85a2-a9c90f4ee74f",
      "ticketNumber": "string",
      "barcode": "string",
      "sessionName": "string",
      "ticketTypeName": "string"
    }
  ]
}
{
  "code": "string",
  "message": "string"
}
{
  "code": "string",
  "message": "string"
}