Create, copy and edit events
Set up a publication event, copy selected configuration from an existing event, or edit its settings. Event configuration and ticket definitions are separate from purchased passes and admission decisions.
| Task | Operation | Success |
|---|---|---|
| Create a publication event | POST /api/v1/admin/ti-event | 201, root event object |
| Copy selected event configuration | POST /api/v1/admin/ti-event/{id}/copy | 201, root new event object |
| Edit an existing event | PUT /api/v1/admin/ti-event/{id} | 200, root event object |
Context and workflow
Use an existing token authorized for the intended publication with an admin or partner role; root is also permitted. Readonly, manager and support discovery permissions do not permit these writes. Service-account credentials are not supported. Keep privileged calls in trusted server code. The caller must be active and authorized for the selected publication.
| Name | Location / type | Requirement and meaning |
|---|---|---|
resource | Header, string | Required publication public key, supplied as RESOURCE_KEY. |
token | Header, string | Required existing eligible token, supplied as ADMIN_TOKEN. |
Content-Type | Header | Use application/json for create/update bodies. Copy needs no body. |
id | Update/copy path, decimal event ID | Required existing event in this publication. Find it with event discovery; do not use a ticket or pass ID. |
Examples use cURL, Node.js 18+ built-in fetch in an ES module (.mjs), and Python 3 urllib. Set WALLKIT_API_BASE to scheme and host only, plus RESOURCE_KEY and ADMIN_TOKEN. See example conventions. All examples are synthetic and unexecuted.
- Create an event with a title and dates, or copy selected configuration from an existing event.
- Use the returned event ID to inspect its stored settings, including activity, dates and URL.
- Edit the supported fields that need changing, then read the event again to confirm the result.
The create and edit examples use event 5001. The copy example uses a separate, already-inactive fictional event 6001. Copying an active event carries its active setting instead.
A new event can be active immediately. Copy keeps the source event's active setting and dates. Check the returned event before sharing its URL. These calls do not create purchased passes or decide admission.
Create and update fields
Create needs a JSON object with a title and both dates. Update accepts a JSON object containing the selected fields to change. For supported optional fields, omission or null leaves the field unassigned on create and preserves its existing value on update. Empty strings are not a universal clearing method; the field-specific rules below apply.
| Body field | Type / create requirement | Update behavior |
|---|---|---|
title | Required string, 3–250 characters; must remain nonempty after sanitation and trimming. | Optional string, 4–250 characters; must remain nonempty after sanitation/trimming. Omitted/null preserves. |
slug | Optional string, 3–64 characters when supplied; normalized and checked for uniqueness within the publication. If no usable slug is supplied, one is generated from title and new event ID. | Optional string, same length/normalization and uniqueness scope. Omitted/null leaves the slug unchanged. Changing the title does not regenerate it. |
start_date | Required nonempty date/time string. | Optional nonempty date/time string; omitted/null preserves. |
end_date | Required nonempty date/time string. | Optional nonempty date/time string; omitted/null preserves. |
description | Optional string, minimum 3 characters; no maximum specified here. Description content is stored as supplied. | Optional string, maximum 1500 characters. Omitted/null, empty string and string "0" preserve the current description. |
location | Optional string, minimum 3 characters; string-sanitized. | Same requirement if supplied; omitted/null preserves. |
is_virtual | Optional boolean; use JSON true/false. No creation default is guaranteed here. | Optional boolean; false is a supported change. Omitted/null preserves. |
timezone | Optional string, minimum 2 characters; stored separately from dates. | Optional string, minimum 3 characters; omitted/null preserves. |
registration_page | Optional string, minimum 3 characters; string-sanitized. | Same if supplied; omitted/null preserves. |
url | Optional string, minimum 3 characters; string-sanitized. Supply a valid event URL. | Same if supplied; omitted/null preserves. |
contact_email | Optional valid email string; string-sanitized. | Same if supplied; omitted/null preserves. |
status | Optional string, minimum 3 characters; a complete status enum is unspecified here. | Same if supplied; omitted/null preserves. |
active | Not a supported create input. Check the returned/stored setting. | Optional boolean; use true/false. Omitted/null preserves; false changes the setting. |
taxonomies | Optional array of taxonomy/term settings. Omitted/null/empty array adds no links. | Omitted/null/empty array preserves existing event term links. A nonempty array replaces them. |
content_types | Optional array of content-type settings. Omitted/null/empty array adds no links. | Omitted/null/empty array preserves existing event content-type links. A nonempty array replaces them. |
Use JSON booleans instead of words such as off or no. Supply ordinary explicit date/time values, as in the example. Create/update format supplied date values for storage as Y-m-d H:i:s; copy and unchanged dates retain their stored values. The separate timezone setting does not convert submitted dates. Provide coherent start/end dates and offsets consistent with your application.
Slug normalization lowercases/transliterates the value, converts whitespace/underscores to hyphens and removes other punctuation. Length requirements apply to the supplied value; do not assume the returned spelling is identical. To change a slug, supply a valid nonempty value unique within the publication.
Inline tickets, plan_discounts, photo, purchased-pass fields and body resource/record IDs are not create/update inputs for these event operations. The selected publication comes from the header. Ticket definitions and photos are managed separately.
Targeting inputs and shared records
Use complete objects with supported nonempty keys and term titles. Existing records are resolved by key in the selected publication; missing taxonomy, term and content-type records can be created. Supplied numeric IDs do not replace these keys.
A nonempty update replaces the event's corresponding links. Term titles supplied in taxonomies also update the shared term records in this publication. Other uses of those terms can therefore see the changed title. This is link replacement with shared records, not an independent copy of a classification catalog.
| Field path | Type / requirement | Meaning |
|---|---|---|
taxonomies[].key | Nonempty string | Taxonomy group key; use the intended stored key. |
taxonomies[].title | Optional nonempty string | Title used when creating a new taxonomy. It does not rename an existing taxonomy. |
taxonomies[].terms | Required nonempty array for a supplied taxonomy | Terms to link to the event under that group. |
taxonomies[].terms[].key | String; supply a nonempty stored key | Shared term key in this publication. |
taxonomies[].terms[].title | String; supply a complete nonempty title | Sets the title for both existing and new shared terms. Omission is not a preserve instruction. |
taxonomies[].terms[].exclude | Optional boolean | Exclusion setting on the new event link. Supply it explicitly when it matters; old link settings are not automatically retained. |
content_types[].key | String; supply a nonempty stored key | Content-type key in this publication. |
content_types[].exclude | Optional boolean | Exclusion setting on the new event link; supply explicitly when it matters. |
On update, taxonomies and content_types are independent: replacing one does not replace the other if it is omitted. Empty arrays preserve links; they are not a remove-all command. Use the event-detail result to inspect the resulting settings.
Returned event configuration
Successful create, update and copy responses put the event at the root, with the fields listed below. No items, data or paginator wrapper is added.
| Returned fields | Meaning and exact field definition |
|---|---|
Event scalars and photo | Shared event fields, including stored flags and dates. Photo is an array of slug/URL media objects, or []. |
tickets | Array of ticket definitions with stored discounts, or []. No purchased passes or computed remaining capacity. |
taxonomies, content_types | Targeting arrays, empty when no related settings are present. |
These definitions cover every returned field. Monetary units, stored scalar representations and access decisions are not inferred from configuration. Examples below are response excerpts, not complete object schemas.
Configured follow-up processing can occur. HTTP success confirms the response, not delivery of a notification or completion of an external integration. After an error or incomplete response, inspect stored state before retrying.
Create an event
POST /api/v1/admin/ti-event
Create the publication's event record. Supply a title and both dates; optionally provide a unique slug and the other supported settings. This call does not create ticket definitions or upload a photo.
Example: Create event 5001
Use an explicit date offset and a publication-specific slug. There is no active property in the request.
curl -X POST "${WALLKIT_API_BASE}/api/v1/admin/ti-event" \
-H "resource: ${RESOURCE_KEY}" \
-H "token: ${ADMIN_TOKEN}" \
-H "Content-Type: application/json" \
--data '{
"title": "Example Session",
"slug": "example-session-2027",
"start_date": "2027-02-20T18:00:00-08:00",
"end_date": "2027-02-20T20:00:00-08:00",
"timezone": "America/Los_Angeles",
"is_virtual": false
}'
const response = await fetch(`${process.env.WALLKIT_API_BASE}/api/v1/admin/ti-event`, {
method: "POST",
headers: {resource: process.env.RESOURCE_KEY, token: process.env.ADMIN_TOKEN, "Content-Type": "application/json"},
body: JSON.stringify({
"title": "Example Session",
"slug": "example-session-2027",
"start_date": "2027-02-20T18:00:00-08:00",
"end_date": "2027-02-20T20:00:00-08:00",
"timezone": "America/Los_Angeles",
"is_virtual": false
})
});
console.log(response.status, await response.json());
import os, json
from urllib.request import Request, urlopen
from urllib.error import HTTPError
payload = {
"title": "Example Session",
"slug": "example-session-2027",
"start_date": "2027-02-20T18:00:00-08:00",
"end_date": "2027-02-20T20:00:00-08:00",
"timezone": "America/Los_Angeles",
"is_virtual": False
}
request = Request(os.environ["WALLKIT_API_BASE"] + "/api/v1/admin/ti-event",
data=json.dumps(payload).encode("utf-8"),
headers={"resource": os.environ["RESOURCE_KEY"], "token": os.environ["ADMIN_TOKEN"], "Content-Type": "application/json"},
method="POST")
try:
with urlopen(request) as response:
print(response.status, json.load(response))
except HTTPError as error:
print(error.code, json.load(error))
Synthetic HTTP 201 excerpt:
{
"id": 5001,
"slug": "example-session-2027",
"title": "Example Session",
"start_date": "2027-02-20 18:00:00",
"end_date": "2027-02-20 20:00:00",
"timezone": "America/Los_Angeles",
"active": true,
"is_virtual": false,
"photo": [],
"tickets": [],
"taxonomies": [],
"content_types": []
}
In this fictional response the event is active. The value is illustrative, not a guaranteed creation default. Use the returned ID for event detail and later updates. Use a separate edit request for supported fields that need changing.
Duplicate slug and recovery
A supplied slug already used in this publication returns HTTP 409. Synthetic error excerpt:
{"error": "invalid_slug", "error_description": "Slug field must be unique"}
| HTTP status | API code / shape | Cause | Next action |
|---|---|---|---|
| 409 | incorrect_data | JSON body is missing or cannot be used. | Send a JSON object with title/start_date/end_date and the shared headers. |
| 409 | invalid_title, invalid_start_date, invalid_end_date, or another invalid_<field> | A supplied field does not meet its requirements. | Correct that field using the input table; do not add an unsupported active input. |
| 409 | invalid_slug | Supplied slug is already used in this publication. | Check the intended publication and choose a unique slug. |
| 412 | error, description and request reference | Creation could not complete normally. | Inspect stored state before retrying; an error does not prove that no record was saved. |
| Varies / no guaranteed JSON | Incomplete or failed response | The write or response could not be completed normally. | Follow state inspection, retaining any request reference. |
Also see shared credential errors, applying the write roles on this page. Next, inspect event 5001's settings or update selected fields.
Edit selected event settings
PUT /api/v1/admin/ti-event/{id}
Use an existing event ID in the selected publication. Send only the supported fields to change, applying the field-specific null/empty rules above. A response with unchanged fields does not mean the request replaced the whole event.
Example: Update event 5001 and its targeting links
This example changes the event title, description and active setting. It leaves its slug and dates unchanged. The publication already has the shared community taxonomy and local term; this request intentionally changes that term's title from Local to Local programme for all uses of that shared term. The event's taxonomy and content-type link sets are replaced with the supplied nonempty arrays.
curl -X PUT "${WALLKIT_API_BASE}/api/v1/admin/ti-event/5001" \
-H "resource: ${RESOURCE_KEY}" \
-H "token: ${ADMIN_TOKEN}" \
-H "Content-Type: application/json" \
--data '{
"title": "Example Evening Session",
"description": "An evening session for the publication community.",
"active": false,
"taxonomies": [
{
"key": "community",
"title": "Community",
"terms": [
{
"key": "local",
"title": "Local programme",
"exclude": false
}
]
}
],
"content_types": [
{
"key": "article",
"exclude": false
}
]
}'
const response = await fetch(`${process.env.WALLKIT_API_BASE}/api/v1/admin/ti-event/5001`, {
method: "PUT",
headers: {resource: process.env.RESOURCE_KEY, token: process.env.ADMIN_TOKEN, "Content-Type": "application/json"},
body: JSON.stringify({
"title": "Example Evening Session",
"description": "An evening session for the publication community.",
"active": false,
"taxonomies": [
{
"key": "community",
"title": "Community",
"terms": [
{
"key": "local",
"title": "Local programme",
"exclude": false
}
]
}
],
"content_types": [
{
"key": "article",
"exclude": false
}
]
})
});
console.log(response.status, await response.json());
import os, json
from urllib.request import Request, urlopen
from urllib.error import HTTPError
payload = {
"title": "Example Evening Session",
"description": "An evening session for the publication community.",
"active": False,
"taxonomies": [
{
"key": "community",
"title": "Community",
"terms": [
{
"key": "local",
"title": "Local programme",
"exclude": False
}
]
}
],
"content_types": [
{
"key": "article",
"exclude": False
}
]
}
request = Request(os.environ["WALLKIT_API_BASE"] + "/api/v1/admin/ti-event/5001",
data=json.dumps(payload).encode("utf-8"),
headers={"resource": os.environ["RESOURCE_KEY"], "token": os.environ["ADMIN_TOKEN"], "Content-Type": "application/json"},
method="PUT")
try:
with urlopen(request) as response:
print(response.status, json.load(response))
except HTTPError as error:
print(error.code, json.load(error))
Synthetic HTTP 200 excerpt; the full event fields are defined in the shared field tables:
{
"id": 5001,
"slug": "example-session-2027",
"title": "Example Evening Session",
"description": "An evening session for the publication community.",
"start_date": "2027-02-20 18:00:00",
"end_date": "2027-02-20 20:00:00",
"active": false,
"photo": [],
"tickets": [],
"taxonomies": [
{"id": 7101, "key": "community", "title": "Community", "terms": [
{"id": 7201, "key": "local", "title": "Local programme", "exclude": false}
]}
],
"content_types": [{"id": 7301, "key": "article", "exclude": false}]
}
Use event detail to check the saved configuration. This response contains no ticket definitions because this event has none; supplying event settings does not create them.
Preserved links and recovery
If an update supplies empty targeting arrays instead, existing event links are preserved. The empty request arrays do not imply an empty result. For event 5001 above, a subsequent successful update with empty arrays can still contain this targeting excerpt:
{
"id": 5001,
"taxonomies": [
{"id": 7101, "key": "community", "title": "Community", "terms": [
{"id": 7201, "key": "local", "title": "Local programme", "exclude": false}
]}
],
"content_types": [{"id": 7301, "key": "article", "exclude": false}]
}
| HTTP status | API code / shape | Cause | Next action |
|---|---|---|---|
| 200 | Existing targeting arrays remain | Empty or omitted input arrays preserve links. | Interpret this as preservation; do not assume a remove-all operation. |
| 409 | incorrect_data or invalid_<field> | Body/field validation or lookup could not be completed. | Check the field requirements and rediscover an existing event in the intended publication. |
| 409 | invalid_slug | Supplied slug belongs to another event in this publication. | Choose a unique slug, or omit it to preserve the current slug. |
| 409 | exception, description and request reference | Update could not complete normally. | Inspect the event and shared term settings before retrying; do not assume all changes were undone. |
| Varies / no guaranteed JSON | Failed or incomplete response | The target could not be updated or the response could not be completed. | Confirm the existing event/publication and inspect stored state. A missing event is not promised a uniform 404 response here. |
Also see shared credential errors, applying this page's write roles. Next, check the event's stored configuration; reading that configuration does not establish a person's purchased access.
Copy selected event configuration
POST /api/v1/admin/ti-event/{id}/copy
Copy an existing event in the selected publication. Use the source event ID and no request body. The new event receives a new ID, with copied ticket definitions, their discounts and event targeting links.
| Part | Copy behavior | Review or configure separately |
|---|---|---|
| Event identity/text | New ID; title starts Copy of , slug starts copy_of_, URL starts copy-of-. Copies description, location, timezone, registration page, contact email and status. | Prefixes are literal, not validation. Check title/slug and URL; a prefixed URL is not guaranteed to be usable. |
| Event dates/activity | Source start/end dates and active setting carry over. | Dates are not shifted or renewed. An active source produces copied active configuration. |
| Event virtual setting | Source is_virtual is not inherited by this operation. | Check and configure the copy's virtual-event setting. No particular default is promised here. |
| Ticket definitions | New ticket IDs linked to the new event. Copy title/slug/description, price/currency, quantity/order settings, status, dates, active and extra. | Source privacy and VAT settings (is_private, is_applied_vat, vat_percent) are not inherited. Review/configure them separately; do not assume preserved privacy or tax behavior. |
| Ticket discounts | New discount IDs linked to the new tickets; retain stored values and Plan references. | No independent Plan/catalog or discount eligibility calculation. |
| Targeting | New event links reuse existing content-type and taxonomy-term references and their exclusion settings. | Shared classification records are reused, not cloned. |
| Photos and purchased state | Photos, passes, owners, invitations and authentication tokens are not copied. | Configure photos and any separate attendee workflow through their supported processes; no purchased access is created by copying. |
Use the ticket field definitions to review the stored ticket values and the event fields to interpret the new event response.
Example: Copy an already-inactive fictional event
Source fixture 6001 already exists with title Example Workshop, slug example-workshop, URL https://events.example.com/workshop, active=false, and dates shown below. Its ticket 6101 is also inactive and has discount 6201 referencing Plan 5301. These are the starting conditions for this fictional example.
The new event is 6002, its new ticket 6102, and its new discount 6202. The source event is unchanged. Copying other source activity settings would carry those settings instead.
curl -X POST "${WALLKIT_API_BASE}/api/v1/admin/ti-event/6001/copy" \
-H "resource: ${RESOURCE_KEY}" \
-H "token: ${ADMIN_TOKEN}"
const response = await fetch(`${process.env.WALLKIT_API_BASE}/api/v1/admin/ti-event/6001/copy`, {
method: "POST",
headers: {resource: process.env.RESOURCE_KEY, token: process.env.ADMIN_TOKEN}
});
console.log(response.status, await response.json());
import os, json
from urllib.request import Request, urlopen
from urllib.error import HTTPError
request = Request(os.environ["WALLKIT_API_BASE"] + "/api/v1/admin/ti-event/6001/copy",
headers={"resource": os.environ["RESOURCE_KEY"], "token": os.environ["ADMIN_TOKEN"]},
method="POST")
try:
with urlopen(request) as response:
print(response.status, json.load(response))
except HTTPError as error:
print(error.code, json.load(error))
Synthetic HTTP 201 excerpt:
{
"id": 6002,
"title": "Copy of Example Workshop",
"slug": "copy_of_example-workshop",
"url": "copy-of-https://events.example.com/workshop",
"start_date": "2027-03-18 10:00:00",
"end_date": "2027-03-18 12:00:00",
"active": false,
"photo": [],
"tickets": [
{
"id": 6102,
"ti_event_id": 6002,
"title": "Workshop entry",
"start_date": "2027-03-18 10:00:00",
"end_date": "2027-03-18 12:00:00",
"active": false,
"plan_discounts": [{"id": 6202, "ti_event_ticket_id": 6102, "plan_id": 5301}]
}
],
"taxonomies": [],
"content_types": []
}
The prefixed URL above is the literal returned configuration, not a working-link promise. The excerpt omits virtual/privacy/VAT values because this operation does not inherit those settings. Read the full result and review the copy's settings before use. No pass or attendee record is created.
Missing source and recovery
A source event not found in the selected publication returns HTTP 404. Synthetic error excerpt:
{"error": "invalid_ti_event", "error_description": "TiEvent not found"}
| HTTP status | API code / shape | Cause | Next action |
|---|---|---|---|
| 404 | invalid_ti_event; TiEvent not found | No source event matches this publication and ID. | Confirm the resource key and rediscover the source event ID. |
| Varies | invalid_ti_event, other description | Copying could not complete normally. | Inspect the publication's events before retrying. A copy may already exist; no uniform 409 response is promised. |
| Varies / no guaranteed JSON | Failed or incomplete response | Copy or response could not be completed normally. | Retain any request reference and inspect stored state before deciding on another request. |
Also see shared credential errors, applying this page's write roles. Next, read event 6002's configuration and review its URL, dates, activity, virtual setting and ticket privacy/VAT settings. Copied configuration does not decide admission.
Inspect stored state before retrying
If a request fails or the response is lost, changes may already be saved. Check the event before sending the request again.
For create/copy, browse events to check whether a new record exists, then inspect its detail and tickets. For a known update ID, read event detail and check the settings affected, including any shared term title changes. If the state or outcome is unclear, retain the request reference and ask the integration operator before submitting another write.