List event types, every host's or one host's

Workspace comes from the API key. The host must be a workspace member. Use schedule:read for reads and schedule:write for mutations. Active, paused and archived event types are supported; no calendar or booking fulfillment is exposed yet.

GET
/schedule/event-types

Workspace comes from the API key. The host must be a workspace member. Use schedule:read for reads and schedule:write for mutations. Active, paused and archived event types are supported; no calendar or booking fulfillment is exposed yet.

Authorization

headerAuthorizationBearer <Relevate API key>

Relevate API key scoped to the operation's product and environment.

Query Parameters

host_id?string

Only this host's; every host's in the workspace when left out

Response Body

Successful operation

application/json
  1. response
data*array<>
Example Request
curl -X GET 'https://api.relevate.app/schedule/event-types'
Example Response
{
  "data": [
    {
      "allow_booking_view_switch": true,
      "availability_schedule_id": "string",
      "booking_horizon_days": 1,
      "booking_questions": [],
      "booking_view": "month",
      "buffer_after_minutes": 0,
      "buffer_before_minutes": 0,
      "calendar_title": "string",
      "cancellation_notice_minutes": 0,
      "capacity_limits": {
        "day": {
          "count": 1,
          "minutes": 1
        },
        "month": {
          "count": 1,
          "minutes": 1
        },
        "week": {
          "count": 1,
          "minutes": 1
        }
      },
      "description": "string",
      "duration_minutes": 1,
      "id": "string",
      "max_active_bookings_per_booker": 1,
      "minimum_notice_minutes": 0,
      "name": "string",
      "reschedule_notice_minutes": 0,
      "revision": 1,
      "slot_interval_minutes": 1,
      "slug": "string",
      "state": "active",
      "success_redirect": {
        "forward_parameters": [
          "utm_source"
        ],
        "url": "http://example.com"
      },
      "visibility": "listed",
      "host_id": "string"
    }
  ]
}