Skip to main content
POST
/
api
/
v1
/
calendars
/
{calendar_id}
/
availability-rules
# 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"
  }'
{
  "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"
  }
}

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

calendar_id
string
required
Calendar UUID.

Request Headers

Authorization
string
required
Bearer token. Format: Bearer talq_your_environment_token_here
Content-Type
string
required
Must be application/json.

Request Body

type
string
required
Rule type. Options: recurring, exception.

When type: "recurring"

days_of_week
array
required
Array of weekday numbers (1=Mon … 7=Sun).
start_time
string
required
Window start. Format: HH:MM.
end_time
string
required
Window end. Format: HH:MM.
timezone
string
IANA timezone. Defaults to calendar’s timezone.

When type: "exception"

date
string
required
Date of exception. Format: YYYY-MM-DD.
available
boolean
required
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"
  }
}