curl --request PUT \
--url https://public-api.sessionboard.com/v1/event/{eventId}/ticket-types/{ticketTypeId} \
--header 'Content-Type: application/json' \
--header 'x-access-token: <api-key>' \
--data '
{
"capacity": 1400,
"sales_end_at": "2026-11-08T23:59:00.000Z"
}
'import requests
url = "https://public-api.sessionboard.com/v1/event/{eventId}/ticket-types/{ticketTypeId}"
payload = {
"capacity": 1400,
"sales_end_at": "2026-11-08T23:59:00.000Z"
}
headers = {
"x-access-token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {'x-access-token': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({capacity: 1400, sales_end_at: '2026-11-08T23:59:00.000Z'})
};
fetch('https://public-api.sessionboard.com/v1/event/{eventId}/ticket-types/{ticketTypeId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://public-api.sessionboard.com/v1/event/{eventId}/ticket-types/{ticketTypeId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'capacity' => 1400,
'sales_end_at' => '2026-11-08T23:59:00.000Z'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-access-token: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://public-api.sessionboard.com/v1/event/{eventId}/ticket-types/{ticketTypeId}"
payload := strings.NewReader("{\n \"capacity\": 1400,\n \"sales_end_at\": \"2026-11-08T23:59:00.000Z\"\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("x-access-token", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.put("https://public-api.sessionboard.com/v1/event/{eventId}/ticket-types/{ticketTypeId}")
.header("x-access-token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"capacity\": 1400,\n \"sales_end_at\": \"2026-11-08T23:59:00.000Z\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://public-api.sessionboard.com/v1/event/{eventId}/ticket-types/{ticketTypeId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["x-access-token"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"capacity\": 1400,\n \"sales_end_at\": \"2026-11-08T23:59:00.000Z\"\n}"
response = http.request(request)
puts response.read_body{
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"event_id": 123,
"type": "ticket",
"name": "<string>",
"description": "<string>",
"price_cents": 123,
"currency": "<string>",
"capacity": 123,
"sold": 123,
"available": 123,
"min_per_order": 123,
"max_per_order": 123,
"sales_start_at": "2023-11-07T05:31:56Z",
"sales_end_at": "2023-11-07T05:31:56Z",
"visibility": "public",
"status": "active",
"sort_order": 123,
"settings": {}
}
}Update a ticket type
Change some fields of a ticket type. Send only the fields to change; the rest stay.
settings is merged one key deep: a top-level key you send (for example pricing)
replaces the stored one, keys you leave out stay.
To stop selling a ticket type, set status: archived. Lowering capacity below
sold does not cancel anything — available reads 0.
Recorded in the event’s History as an API change. Requires write:registrations.
curl --request PUT \
--url https://public-api.sessionboard.com/v1/event/{eventId}/ticket-types/{ticketTypeId} \
--header 'Content-Type: application/json' \
--header 'x-access-token: <api-key>' \
--data '
{
"capacity": 1400,
"sales_end_at": "2026-11-08T23:59:00.000Z"
}
'import requests
url = "https://public-api.sessionboard.com/v1/event/{eventId}/ticket-types/{ticketTypeId}"
payload = {
"capacity": 1400,
"sales_end_at": "2026-11-08T23:59:00.000Z"
}
headers = {
"x-access-token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {'x-access-token': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({capacity: 1400, sales_end_at: '2026-11-08T23:59:00.000Z'})
};
fetch('https://public-api.sessionboard.com/v1/event/{eventId}/ticket-types/{ticketTypeId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://public-api.sessionboard.com/v1/event/{eventId}/ticket-types/{ticketTypeId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'capacity' => 1400,
'sales_end_at' => '2026-11-08T23:59:00.000Z'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-access-token: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://public-api.sessionboard.com/v1/event/{eventId}/ticket-types/{ticketTypeId}"
payload := strings.NewReader("{\n \"capacity\": 1400,\n \"sales_end_at\": \"2026-11-08T23:59:00.000Z\"\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("x-access-token", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.put("https://public-api.sessionboard.com/v1/event/{eventId}/ticket-types/{ticketTypeId}")
.header("x-access-token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"capacity\": 1400,\n \"sales_end_at\": \"2026-11-08T23:59:00.000Z\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://public-api.sessionboard.com/v1/event/{eventId}/ticket-types/{ticketTypeId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["x-access-token"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"capacity\": 1400,\n \"sales_end_at\": \"2026-11-08T23:59:00.000Z\"\n}"
response = http.request(request)
puts response.read_body{
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"event_id": 123,
"type": "ticket",
"name": "<string>",
"description": "<string>",
"price_cents": 123,
"currency": "<string>",
"capacity": 123,
"sold": 123,
"available": 123,
"min_per_order": 123,
"max_per_order": 123,
"sales_start_at": "2023-11-07T05:31:56Z",
"sales_end_at": "2023-11-07T05:31:56Z",
"visibility": "public",
"status": "active",
"sort_order": 123,
"settings": {}
}
}Authorizations
Organization API token. Generate from Organization Settings → API Tokens.
Body
Body of Create a ticket type (where name is required) and Update a ticket type (where
every field is optional). Unknown keys are ignored.
Required on create. Longer names are cut to 255 characters.
255ticket, addon, booth, sponsorship, donation, bundle, session_fee x >= 0ISO 4217 code; upper-cased and cut to 3 characters.
null for unlimited.
x >= 0x >= 0x >= 0x >= 0public, hidden, code active, archived Ticket type settings. Keys may be snake_case or camelCase; unknown keys are dropped. On update, each top-level key you send replaces the stored one.
Show child attributes
Show child attributes
Response
OK
Show child attributes
Show child attributes

