Appointment API

This API lets external information systems and AI agents book appointments with Ceder Verwarming on behalf of customers. All requests over HTTPS.

Authentication

Every request needs an API key in the HTTP header:

X-Api-Key: <your-key>

Do not have a key yet? Request one below. Provide your company name, contact details and a short description of the intended use. After approval by Ceder Verwarming you will receive the key by email. Do not share your key publicly.

Base URL

https://cederverwarming.nl/wp-json/ceder/v1

Time slots

The arrival time is a 2-hour window. Appointments are possible on all days. Note: the evening slot (18:00-20:00) and the whole weekend (Sat + Sun) are available only for service: "storing" (fixing a breakdown).

blockarrival betweenbreakdown only
0800-100008:00 - 10:00no
0900-110009:00 - 11:00no
1000-120010:00 - 12:00no
1230-143012:30 - 14:30no
1330-153013:30 - 15:30no
1430-163014:30 - 16:30no
1800-200018:00 - 20:00yes (evening)

Evening, weekend and same-day rate

Evening, weekend and same-day appointments carry a rate (informational; the API does not charge any amounts). Rates do not stack, the highest percentage applies:

timerate
same-day (booked on the day itself)150%
weekday evening (18:00-20:00)150%
Saturday150%
Sunday200%

The fields storing_only and surcharge_pct are returned per slot in GET /availability and in the response of POST /appointments.

Endpoints

GET /blocks

Returns the fixed time slots.

GET /availability

Returns free slots. Optional query parameters from and to (format YYYY-MM-DD) and service (e.g. storing). With service you only get slots in which that service may be booked (without service all bookable slots are returned, with the storing_only flag).

curl -H "X-Api-Key: YOUR_KEY" \
  "https://cederverwarming.nl/wp-json/ceder/v1/availability?from=2026-07-01&to=2026-07-15"

Response:

{
  "count": 42,
  "window_until": "2026-07-26",
  "available_slots": [
    { "date": "2026-07-01", "block": "0800-1000",
      "label": "08:00 - 10:00", "arrival_from": "08:00", "arrival_to": "10:00" }
  ]
}

POST /appointments

Books an appointment on behalf of a customer. Body in JSON.

fieldrequireddescription
customer.nameyesname of the customer
customer.emailyesemail address (customer receives confirmation)
customer.phonenophone number
customer.addressyesvisiting address (must be within 40 km drive of Amsterdam)
customer.companynocompany name (business customer)
customer.kvknoChamber of Commerce (KvK) number
customer.invoice_addressnoseparate billing address
customer.invoice_emailnobilling email address (administration only)
dateyesdate YYYY-MM-DD
blockyestime slot, e.g. 1000-1200
servicenoonderhoud, storing, vervangen or anders. For weekend or evening slots only storing is allowed.
notesnonotes
curl -X POST "https://cederverwarming.nl/wp-json/ceder/v1/appointments" \
  -H "X-Api-Key: UW_SLEUTEL" \
  -H "Content-Type: application/json" \
  -d '{
    "customer": { "name": "Jan Jansen", "email": "jan@voorbeeld.nl",
                  "phone": "020 244 2926", "address": "Silvoldestraat 94, Amsterdam" },
    "date": "2026-07-02", "block": "1000-1200",
    "service": "onderhoud", "notes": "CV-ketel Nefit"
  }'

Response (201):

{
  "status": "ok",
  "appointment": {
    "id": 12, "date": "2026-07-02", "block": "1000-1200",
    "label": "10:00 - 12:00", "service": "Boiler or ventilation maintenance",
    "customer": { "name": "Jan Jansen", "email": "jan@voorbeeld.nl" }
  },
  "message": "Appointment scheduled. The customer receives a confirmation by email."
}

Error codes

statusmeaning
400required fields missing or invalid
401API key missing or invalid
403email address not allowed
409time slot unavailable or just taken
422address is outside the service area (more than 40 km)

An appointment via the API is final immediately (no email verification needed); the customer does receive a confirmation email.

Ceder Verwarming

Silvoldestraat 94
1107 TH Amsterdam

Opening hours

Monday to Friday: 08:30 to 17:00
Saturday and Sunday: closed
For emergency breakdowns we are reachable by phone in the evenings and at weekends.

© 2026 Ceder Verwarming
Web design by Laurean
Scroll to Top