Create schedule availability
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.
POST
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.
application/json- body
date_overrides*array<>Items
items <= 366host_id*stringHost user ID in the key's workspace
is_default?booleanFirst schedule becomes default automatically; selecting another default preserves existing link references.
Default
falsename*stringLength
1 <= length <= 100timezone*stringLength
1 <= length <= 100weekly_intervals*array<>Items
items <= 168Successful operation
application/json- response
id*stringcurl -X POST 'https://api.relevate.app/schedule/schedules' \
-H 'Content-Type: application/json' \
-d '{
"date_overrides": [
{
"intervals": [
{
"end_minute": 1,
"start_minute": 0
}
],
"local_date": "2019-08-24"
}
],
"host_id": "string",
"name": "string",
"timezone": "string",
"weekly_intervals": [
{
"end_minute": 1,
"start_minute": 0,
"weekday": 1
}
]
}'Example Response
{
"id": "string"
}