Skip to main content

Events

Overview

Events represent online or offline gatherings for a company. The API supports listing, creating, updating events, and managing cohosts. Organizing events also expose event page and comms template endpoints. Ticket types and orders are nested under organizing events — see Ticket types and Orders. Subscription: All plans, including Free.

Public event URL

Use slug from companies and id from the event resource. Not returned by the API — see Conventions — Public URLs.

Event ID and slug behavior

On create, the event id is derived from name (e.g. "AI Demo Days · HR Edition" → ai-demo-days-hr-edition). A slug sent in the request body is ignored. On update, slug can be set explicitly via PATCH. This differs from ticket types, where the supplied slug is honored on create. See Conventions — Slug behavior.

Endpoints

List events

  • Method: GET
  • Path: /api/v1/{company}/events
  • Scope: events:read
  • Subscription: All plans, including Free

Path parameters

Query parameters

Response 200

Response fields

Errors


Create event

  • Method: POST
  • Path: /api/v1/{company}/events/create
  • Scope: events:create (in addition to events:read on the route group)
  • Subscription: All plans, including Free

Request body

See the request body table below for field requirements.

Events the company attends

An event the company goes to but does not organize — a trade show, a conference, another organizer’s meetup — is created on this same endpoint with company_role: "attending".
  • Every other field means the same as for an organizing event: offline needs city, province and country, online needs timezone.
  • requires_ticket_assignment is refused, as the request table says. Leave it out; the created event carries it as false.
  • The event has no event page, ticket types, discount codes, schedule, comms, orders or co-hosts. Every endpoint under /api/v1/{company}/event/{event}/… answers 404 for it.
  • It is read and updated like any other event, through GET and PATCH /api/v1/{company}/events/{event}, and it is listed by GET /api/v1/{company}/events with company_role telling the two kinds apart.
Response 201:

Response 201

Returns a single EventResource in the data envelope.

Errors


Show event

  • Method: GET
  • Path: /api/v1/{company}/events/{event}
  • Scope: events:read
  • Subscription: All plans, including Free

Path parameters

Response 200

Same shape as a single item from the list response. Organizing events include a nested page object.

Update event

  • Method: PATCH
  • Path: /api/v1/{company}/events/{event}
  • Scope: events:update
  • Subscription: All plans, including Free

Request body

All fields are optional (partial update). See the request body table below for field requirements.

cohosts

Sending cohosts replaces the whole list in one call — it is the same thing the Event settings page does with its add, edit, delete and drag-to-sort controls. Read the event first and send the co-hosts you are keeping back alongside the new ones.
  • Array order is display order.
  • Co-hosts left out of the list are deleted. [] removes every one of them.
  • null, or omitting the key, leaves the list untouched.
  • Nothing is written if any entry fails validation.
  • Only an event the company organizes can have co-hosts. Sending them for an attending event is 422 — nothing reads co-hosts off one.

requires_ticket_assignment

Only an event the company organizes has ticket assignment. Sending the field for an attending event is 422 and nothing is written — unless the same request also sets company_role to organizing.

Response 200

Returns the updated EventResource.

The cohost object

A co-host is another organization presented as hosting the event. Its name and privacy policy link are shown beside the consent copy when someone registers.
Manage them either as a whole list through Update event, or one at a time with the three endpoints below. Only an event the company organizes can have co-hosts — nothing reads them off an attending event — so the three endpoints answer 404 for one.

Add cohost

  • Method: POST
  • Path: /api/v1/{company}/event/{event}/cohosts
  • Scope: events:update
  • Subscription: All plans, including Free

Request body

Response 200

Returns the parent event with updated cohosts array.

Errors


Update cohost

  • Method: PATCH
  • Path: /api/v1/{company}/event/{event}/cohosts/{cohost}
  • Scope: events:update
  • Subscription: All plans, including Free

Request body

Same fields as add cohost; name is optional on update. "privacy_policy": null clears the link.

Response 200

Returns the parent event with updated cohosts array.

Errors


Delete cohost

  • Method: DELETE
  • Path: /api/v1/{company}/event/{event}/cohosts/{cohost}
  • Scope: events:update
  • Subscription: All plans, including Free

Response 200

Returns the parent event with the cohost removed.

Errors

Not implemented

  • DELETE /api/v1/{company}/events/{event} — not exposed