Update an event

PUT
/events/{id}

Partial update — send only the fields you are changing. Sending no recognised field is a 400 rather than a silent no-op. A successful update dispatches the event.updated webhook.

Authorization

bearerAuth
headerAuthorizationBearer <token>

Authorization: Bearer hh_live_.... Create and revoke keys in Organizer → Settings → API. A key carries full access to its partner's data, including refunds and promo codes — treat it as a production credential and keep it server-side.

Path Parameters

id*string

Event id.

Formatuuid

Request Body

application/json
  1. body

Partial. Sending no recognised field returns 400.

title?string
start_datetime?string
Formatdate-time
end_datetime?string
Formatdate-time
capacity?integer
Range1 <= value
ticket_price?number
Range0 <= value
status?EventStatus

An event that is selling may be active, hidden (reachable by link, absent from discovery) or paused. Treating active as "selling" and the rest as "not selling" undercounts.

Default"active"
Value in"draft""active""hidden""paused""cancelled""completed"
description?string
description_html?string
event_type?EventType
Value in"concert""workshop""conference""sports""social""food""nightlife""art""other"
venue_name?string
address?string
city?string
latitude?number
longitude?number
is_online?boolean

Switching to a venue event requires latitude and longitude in the same call.

online_url?string

Join link. Stored access-controlled

cover_image_url?string

Response Body

The updated event.

application/json
  1. response
data?
Example Request
curl -X PUT 'https://hanghut.com/api/v1/events/497f6eca-6276-4993-bfeb-53cbbbba6f08' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "data": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "title": "string",    "status": "draft",    "start_datetime": "2019-08-24T14:15:22Z",    "end_datetime": "2019-08-24T14:15:22Z",    "is_online": true,    "venue_name": "string",    "address": "string",    "city": "string",    "capacity": 0,    "cover_image_url": "string",    "ticket_price": 0,    "event_type": "concert",    "tickets_sold": 0,    "ticket_tiers": [      {        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "name": "string",        "price": 0,        "quantity_total": 0,        "quantity_sold": 0,        "is_active": true,        "sort_order": 0      }    ]  }}