Documentation Index
Fetch the complete documentation index at: https://docs.talkover.ai/llms.txt
Use this file to discover all available pages before exploring further.
Create Availability Rule
Add an availability rule (recurring window or exception date) to a calendar.
Endpoint
POST /api/v1/calendars/{calendar_id}/availability-rules
Path Parameters
Bearer token. Format: Bearer talq_your_environment_token_here
Must be application/json.
Request Body
Rule type. Options: recurring, exception.
When type: "recurring"
Array of weekday numbers (1=Mon … 7=Sun).
Window start. Format: HH:MM.
Window end. Format: HH:MM.
IANA timezone. Defaults to calendar’s timezone.
When type: "exception"
Date of exception. Format: YYYY-MM-DD.
Whether this date is available (overrides recurring rules) or blocked.
Examples
# Recurring weekday window
curl -X POST "https://app.talkover.ai/api/v1/calendars/calendar-uuid-1/availability-rules" \
-H "Authorization: Bearer talq_your_environment_token_here" \
-H "Content-Type: application/json" \
-d '{
"type": "recurring",
"days_of_week": [1, 2, 3, 4, 5],
"start_time": "09:00",
"end_time": "17:00"
}'
Response
{
"success": true,
"data": {
"id": "rule-uuid-1",
"type": "recurring",
"days_of_week": [1, 2, 3, 4, 5],
"start_time": "09:00",
"end_time": "17:00"
}
}