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.

TaskOperationSuccess
Create a publication eventPOST /api/v1/admin/ti-event201, root event object
Copy selected event configurationPOST /api/v1/admin/ti-event/{id}/copy201, root new event object
Edit an existing eventPUT /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.

NameLocation / typeRequirement and meaning
resourceHeader, stringRequired publication public key, supplied as RESOURCE_KEY.
tokenHeader, stringRequired existing eligible token, supplied as ADMIN_TOKEN.
Content-TypeHeaderUse application/json for create/update bodies. Copy needs no body.
idUpdate/copy path, decimal event IDRequired 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.

  1. Create an event with a title and dates, or copy selected configuration from an existing event.
  2. Use the returned event ID to inspect its stored settings, including activity, dates and URL.
  3. 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 fieldType / create requirementUpdate behavior
titleRequired 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.
slugOptional 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_dateRequired nonempty date/time string.Optional nonempty date/time string; omitted/null preserves.
end_dateRequired nonempty date/time string.Optional nonempty date/time string; omitted/null preserves.
descriptionOptional 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.
locationOptional string, minimum 3 characters; string-sanitized.Same requirement if supplied; omitted/null preserves.
is_virtualOptional boolean; use JSON true/false. No creation default is guaranteed here.Optional boolean; false is a supported change. Omitted/null preserves.
timezoneOptional string, minimum 2 characters; stored separately from dates.Optional string, minimum 3 characters; omitted/null preserves.
registration_pageOptional string, minimum 3 characters; string-sanitized.Same if supplied; omitted/null preserves.
urlOptional string, minimum 3 characters; string-sanitized. Supply a valid event URL.Same if supplied; omitted/null preserves.
contact_emailOptional valid email string; string-sanitized.Same if supplied; omitted/null preserves.
statusOptional string, minimum 3 characters; a complete status enum is unspecified here.Same if supplied; omitted/null preserves.
activeNot a supported create input. Check the returned/stored setting.Optional boolean; use true/false. Omitted/null preserves; false changes the setting.
taxonomiesOptional 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_typesOptional 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 pathType / requirementMeaning
taxonomies[].keyNonempty stringTaxonomy group key; use the intended stored key.
taxonomies[].titleOptional nonempty stringTitle used when creating a new taxonomy. It does not rename an existing taxonomy.
taxonomies[].termsRequired nonempty array for a supplied taxonomyTerms to link to the event under that group.
taxonomies[].terms[].keyString; supply a nonempty stored keyShared term key in this publication.
taxonomies[].terms[].titleString; supply a complete nonempty titleSets the title for both existing and new shared terms. Omission is not a preserve instruction.
taxonomies[].terms[].excludeOptional booleanExclusion setting on the new event link. Supply it explicitly when it matters; old link settings are not automatically retained.
content_types[].keyString; supply a nonempty stored keyContent-type key in this publication.
content_types[].excludeOptional booleanExclusion 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 fieldsMeaning and exact field definition
Event scalars and photoShared event fields, including stored flags and dates. Photo is an array of slug/URL media objects, or [].
ticketsArray of ticket definitions with stored discounts, or []. No purchased passes or computed remaining capacity.
taxonomies, content_typesTargeting 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 statusAPI code / shapeCauseNext action
409incorrect_dataJSON body is missing or cannot be used.Send a JSON object with title/start_date/end_date and the shared headers.
409invalid_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.
409invalid_slugSupplied slug is already used in this publication.Check the intended publication and choose a unique slug.
412error, description and request referenceCreation could not complete normally.Inspect stored state before retrying; an error does not prove that no record was saved.
Varies / no guaranteed JSONIncomplete or failed responseThe 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.

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.

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 statusAPI code / shapeCauseNext action
200Existing targeting arrays remainEmpty or omitted input arrays preserve links.Interpret this as preservation; do not assume a remove-all operation.
409incorrect_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.
409invalid_slugSupplied slug belongs to another event in this publication.Choose a unique slug, or omit it to preserve the current slug.
409exception, description and request referenceUpdate could not complete normally.Inspect the event and shared term settings before retrying; do not assume all changes were undone.
Varies / no guaranteed JSONFailed or incomplete responseThe 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.

PartCopy behaviorReview or configure separately
Event identity/textNew 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/activitySource start/end dates and active setting carry over.Dates are not shifted or renewed. An active source produces copied active configuration.
Event virtual settingSource is_virtual is not inherited by this operation.Check and configure the copy's virtual-event setting. No particular default is promised here.
Ticket definitionsNew 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 discountsNew discount IDs linked to the new tickets; retain stored values and Plan references.No independent Plan/catalog or discount eligibility calculation.
TargetingNew event links reuse existing content-type and taxonomy-term references and their exclusion settings.Shared classification records are reused, not cloned.
Photos and purchased statePhotos, 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 statusAPI code / shapeCauseNext action
404invalid_ti_event; TiEvent not foundNo source event matches this publication and ID.Confirm the resource key and rediscover the source event ID.
Variesinvalid_ti_event, other descriptionCopying 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 JSONFailed or incomplete responseCopy 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.

Full diagram

Use the arrow keys to scroll. Escape closes this view.

Search documentation

Enter at least 2 characters.

    ↑ ↓ move through results · Enter opens · Escape closes