TelefonAIv1
Calendar setup

The four rules for when bookings are allowed: minimum notice, how far ahead, the gap after each appointment, and the cancellation deadline

The four rules for when bookings are allowed: minimum notice, how far ahead, the gap after each appointment, and the cancellation deadline. null means NO rule — not zero: zero minutes of notice is a stance, a missing notice is the absence of one. window_days always answers with the number actually in force; window_days_set says whether the clinic chose it.

GET/v1/booking-rules

Authentication

Authorizationstringheaderrequired

Your API key as a Bearer token.

Request

curl --request GET \
  --url "https://api.telefonai.dk/v1/booking-rules" \
  --header "Authorization: Bearer $API_NOEGLE"

Response

application/json

Success.

object

401Missing key
{
  "error": {
    "code": "unauthorized",
    "message": "Missing or invalid API key."
  }
}