Set availability rules
Set or replace availability rules for a human. This is a full replace — send all fields every time.
Availability rules define the human's base weekly schedule:
- **working_days** — which days of the week (1=Monday through 7=Sunday)
- **work_start / work_end** — working hours in HH:MM format (in the human's timezone)
- **meeting_durations** — allowed meeting lengths in minutes
For one-off changes (vacations, overtime, recurring meetings), use Schedule Overrides instead.
Authentication
AuthorizationBearer
API key authentication. Pass your key as a Bearer token:
```
Authorization: Bearer sk_live_xxxxxxxxxxxxxxxxxxxx
```
Get your API key from the [Slotflow Dashboard](https://app.slotflow.dev).
Path parameters
humanId
The ID of the human
Request
This endpoint expects an object.
working_days
Days of the week. 1=Monday through 7=Sunday.
work_start
Start of working hours in HH:MM format (in human’s timezone)
work_end
End of working hours in HH:MM format (in human’s timezone)
meeting_durations
Allowed meeting durations in minutes
Response
Human with updated availability rules
active
Whether the human is active and bookable
created_at
ISO 8601 creation timestamp
id
Unique identifier for the human
name
Full name of the human
timezone
IANA timezone identifier (e.g. “America/New_York”)
availability_rules
The human's base weekly schedule. Null if not yet configured.
email
Email address (optional)
role
Role or title (e.g. “sales_rep”, “interviewer”)