Skip to content

Event Updated

The event.updated event is triggered when an existing event is updated in the system.

Event Properties

PropertyTypeDescription
idstringUnique identifier for the event (UUID)
namestringName of the event
statestringCurrent state of the event
started_atstringStart date and time of the event
ended_atstringEnd date and time of the event
created_atstringTimestamp when the event was created
updated_atstringTimestamp when the event was last updated
max_attendee_capacityintegerMaximum number of attendees allowed
descriptionstringDetailed description of the event
slugstringURL-friendly identifier for the event
hosting_typeintegerType of hosting for the event
hosting_idstringIdentifier for the hosting platform or location
join_urlstringURL for attendees to join the event
publishedbooleanIndicates whether the event is published (true) or draft (false)
ticketsarrayList of ticket types available for the event

Ticket Properties

Each ticket in the tickets array contains the following properties:

PropertyTypeDescription
idstringUnique identifier for the ticket (UUID)
levelintegerTicket level or tier
namestringName of the ticket type
quantityintegerNumber of tickets available
currencystringCurrency code for the ticket price (default: “TWD”)
amountnumberPrice of the ticket
created_atstringTimestamp when the ticket was created
updated_atstringTimestamp when the ticket was last updated

Hosting Types

The hosting_type property indicates the platform or method used to host the event. It can have the following values:

  • "zoom": The event is hosted using Zoom. In this case, the hosting_id will contain the Zoom meeting ID.
  • "live_session": The event uses Teachify’s built-in live session feature. The hosting_id will be the internal identifier for the live session.
  • "custom": A custom hosting solution is used, such as Google Meet or any other platform. For custom hosting, the join_url property will contain the link for attendees to join the event.

The hosting_type determines how attendees will access the event and what kind of integration or preparation is needed on the organizer’s side.

Example Payload

{
"type": "event.updated",
"data": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"name": "Annual Tech Conference 2024 (Updated)",
"state": "scheduled",
"started_at": "2024-09-16T09:00:00Z",
"ended_at": "2024-09-18T18:00:00Z",
"created_at": "2024-03-01T10:30:00Z",
"updated_at": "2024-03-15T14:45:00Z",
"max_attendee_capacity": 600,
"description": "Join us for the biggest tech conference of the year! Now with extended dates and increased capacity.",
"slug": "annual-tech-conference-2024-updated",
"hosting_type": "live_session",
"hosting_id": "venue-123",
"join_url": "https://example.com/events/annual-tech-conference-2024-updated",
"published": true,
"tickets": [
{
"id": "550e8400-e29b-41d4-a716-446655440001",
"level": 1,
"name": "Early Bird",
"quantity": 100,
"currency": "TWD",
"amount": 2500,
"created_at": "2024-03-01T10:35:00Z",
"updated_at": "2024-03-15T14:45:00Z"
},
{
"id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
"level": 2,
"name": "Regular",
"quantity": 400,
"currency": "TWD",
"amount": 3500,
"created_at": "2024-03-01T10:36:00Z",
"updated_at": "2024-03-15T14:45:00Z"
},
{
"id": "a1b2c3d4-e5f6-4a5b-9c8d-7e6f5a4b3c2d",
"level": 3,
"name": "Last Minute",
"quantity": 100,
"currency": "TWD",
"amount": 4000,
"created_at": "2024-03-15T14:45:00Z",
"updated_at": "2024-03-15T14:45:00Z"
}
]
}
}