Read a host's Schedule configuration
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
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.
header
AuthorizationBearer <Relevate API key>Relevate API key scoped to the operation's product and environment.
actor*stringHost user ID in the key's workspace
Successful operation
application/json- response
availability_schedules*array<>event_types*array<>curl -X GET 'https://api.relevate.app/schedule/hosts/string'Example Response
{
"availability_schedules": [
{
"date_overrides": [
{
"intervals": [
{
"end_minute": 1,
"start_minute": 0
}
],
"local_date": "2019-08-24"
}
],
"id": "string",
"is_default": false,
"name": "string",
"revision": 1,
"timezone": "string",
"weekly_intervals": [
{
"end_minute": 1,
"start_minute": 0,
"weekday": 1
}
]
}
],
"event_types": [
{
"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"
}
]
}