Event Types
Define event categories
The tenant's event types, ordered by name. Pass an id as type_id when creating or updating an event. Only active types are accepted on write.
Required scope: events.read · Headers: X-API-Key (staging also X-Tenant)
Event types are global to the tenant, so the key's venue restriction does not filter them.
curl -X GET "$BASE_URL/api/external/event-types" \
-H "X-API-Key: $API_KEY" \
-H "X-Tenant: $TENANT" \
-H "Accept: application/json"200 A data array of event types.
{
"data": [
{
"id": 1,
"name": "Conference",
"default_duration_hours": 2,
"is_active": true,
"color": "#3B82F6",
"event_type_category": null,
"search_terms": null,
"schedule_of_events": false,
"created_at": "2026-11-24T07:14:41+00:00"
}
]
}401 Missing, unknown, inactive or expired API key.
{
"error": "Unauthorized",
"message": "Invalid or expired API key.",
"code": "UNAUTHORIZED",
"timestamp": "2026-11-24T07:16:04Z"
}403 The key lacks the required scope, or the venue is outside the key's venue restriction.
{
"message": "This API key is not permitted to read events."
}429 The key's per-minute rate limit was exceeded. Wait retry_after seconds.
{
"error": "Too Many Requests",
"message": "Rate limit exceeded.",
"code": "TOO_MANY_REQUESTS",
"timestamp": "2026-11-24T07:16:04Z",
"retry_after": 42
}