APIv1.4.0

API reference

Every endpoint of API v1, generated from the same OpenAPI specification the API serves.

Base URL
https://www.callyndar.com/api/v1
Authentication
Send the publishable key in the header Authorization: Bearer cal_pk_live_… — never in the URL.
Version
1.4.0 · openapi.json · Changelog

Venue

The venue, its services and its staff: everything to draw the first screen.

Venue info and booking settings

GET/api/v1/venue

Name, contact details, timezone, opening hours, booking rules, privacy/terms links and the Turnstile site key.

Response 200

Response fields (39 fields)
  • venueobjectrequired
  • venue.namestringrequired
  • venue.descriptionstring | nullrequired
  • venue.business_type"restaurant" | "generic" | "salon" | "barber" | "clinic" | "carwash"required
  • venue.booking_mode"party_size" | "services"required

    "services": pick services → staff or wash bay → time (salon, barber, clinic, carwash). "party_size": pick guests → time (restaurant).

  • venue.addressstring | nullrequired
  • venue.citystring | nullrequired
  • venue.countrystring | nullrequired
  • venue.phonestring | nullrequired
  • venue.emailstring | nullrequired
  • venue.websitestring | nullrequired
  • venue.logo_urlstring | nullrequired

    Absolute URL of the logo (or null).

  • venue.timezonestringrequired

    IANA zone. All dates/times of the API are venue-local.

  • venue.currencystringrequired
  • venue.default_locale"nl" | "en" | "fr"required

    Language of the guest e-mails and the manage page.

  • venue.opening_hoursobject[]required
  • venue.opening_hours[].weekdayintegerrequired

    0 = Monday … 6 = Sunday.

  • venue.opening_hours[].openbooleanrequired
  • venue.opening_hours[].periodsobject[]required
  • venue.opening_hours[].periods[].fromstringrequired

    Venue-local time, HH:MM (24h).

  • venue.opening_hours[].periods[].untilstringrequired

    Venue-local time, HH:MM (24h).

  • venue.bookingobjectrequired
  • venue.booking.min_party_sizeintegerrequired
  • venue.booking.max_party_sizeintegerrequired
  • venue.booking.max_advance_daysintegerrequired
  • venue.booking.holds_enabledbooleanrequired

    true: POST /holds really reserves the time (capacity_reserved). false: it returns a signed confirmation only.

  • venue.booking.hold_secondsintegerrequired
  • venue.booking.auto_confirmbooleanrequired
  • venue.booking.auto_confirm_max_party_sizeinteger | nullrequired
  • venue.booking.cancellation_cutoff_hoursinteger | nullrequired
  • venue.booking.allow_service_combosbooleanrequired
  • venue.booking.service_picker_mode"list" | "guided"required
  • venue.booking.phone_required"never" | "always" | "conditional"required
  • venue.booking.phone_required_min_party_sizeintegerrequired
  • venue.booking.deposits_enabledbooleanrequired

    The venue can take online deposits (Stripe connected).

  • venue.privacy_urlstringrequired

    Show this link next to the booking button (GDPR notice, mandatory).

  • venue.terms_urlstringrequired

    Show this link next to the booking button (mandatory).

  • venue.turnstile_site_keystring | nullrequired

    Callyndar Turnstile site key to render on your page when turnstile_required is true.

  • venue.turnstile_requiredbooleanrequired

    The key asks for the optional Callyndar Turnstile token on bookings and deposits (off by default).

Errors

What your site does for each code is in Errors and limits.

Request
bash
curl 'https://www.callyndar.com/api/v1/venue' \
  -H 'Authorization: Bearer cal_pk_live_YOUR_KEY'
js
const res = await fetch('https://www.callyndar.com/api/v1/venue', {
  headers: {
    Authorization: 'Bearer cal_pk_live_YOUR_KEY',
  },
});
const data = await res.json();
if (!res.ok) throw new Error(`${data.error.code}: ${data.error.message}`);
php
<?php
$ch = curl_init('https://www.callyndar.com/api/v1/venue');
curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER => [
        'Authorization: Bearer cal_pk_live_YOUR_KEY',
    ],
]);
$data = json_decode(curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) {
    throw new RuntimeException($data['error']['code'] . ': ' . $data['error']['message']);
}
python
import requests

headers = {
    "Authorization": "Bearer cal_pk_live_YOUR_KEY",
}
res = requests.get("https://www.callyndar.com/api/v1/venue", headers=headers)
data = res.json()
if not res.ok:
    raise RuntimeError(f"{data['error']['code']}: {data['error']['message']}")
Response
json
{
  "venue": {
    "name": "Studio Voorbeeld",
    "description": "Hair salon in the centre of Antwerp.",
    "business_type": "salon",
    "booking_mode": "services",
    "address": "Meir 1",
    "city": "Antwerpen",
    "country": "BE",
    "phone": "+32 3 123 45 67",
    "email": "hallo@studio-voorbeeld.be",
    "website": "https://www.studio-voorbeeld.be",
    "logo_url": "https://callyndar.com/media/logos/studio-voorbeeld.png",
    "timezone": "Europe/Brussels",
    "currency": "EUR",
    "default_locale": "nl",
    "opening_hours": [
      {
        "weekday": 0,
        "open": false,
        "periods": []
      },
      {
        "weekday": 1,
        "open": true,
        "periods": [
          {
            "from": "09:00",
            "until": "18:00"
          }
        ]
      },
      {
        "weekday": 2,
        "open": true,
        "periods": [
          {
            "from": "09:00",
            "until": "12:30"
          },
          {
            "from": "13:30",
            "until": "20:00"
          }
        ]
      },
      {
        "weekday": 3,
        "open": true,
        "periods": [
          {
            "from": "09:00",
            "until": "18:00"
          }
        ]
      },
      {
        "weekday": 4,
        "open": true,
        "periods": [
          {
            "from": "09:00",
            "until": "18:00"
          }
        ]
      },
      {
        "weekday": 5,
        "open": true,
        "periods": [
          {
            "from": "09:00",
            "until": "16:00"
          }
        ]
      },
      {
        "weekday": 6,
        "open": false,
        "periods": []
      }
    ],
    "booking": {
      "min_party_size": 1,
      "max_party_size": 1,
      "max_advance_days": 60,
      "holds_enabled": true,
      "hold_seconds": 600,
      "auto_confirm": true,
      "auto_confirm_max_party_size": null,
      "cancellation_cutoff_hours": 24,
      "allow_service_combos": true,
      "service_picker_mode": "list",
      "phone_required": "always",
      "phone_required_min_party_size": 1,
      "deposits_enabled": false
    },
    "privacy_url": "https://callyndar.com/sites/studio-voorbeeld/privacy",
    "terms_url": "https://callyndar.com/sites/studio-voorbeeld/terms",
    "turnstile_site_key": null,
    "turnstile_required": false
  }
}

Services, categories and variants

GET/api/v1/services

Everything the guest can pick, with duration, price and deposit as the venue set them.

Response 200

Response fields (31 fields)
  • currencystringrequired
  • service_picker_mode"list" | "guided"required
  • allow_service_combosbooleanrequired
  • categoriesobject[]required
  • categories[].idstringrequired
  • categories[].parent_idstring | nullrequired
  • categories[].namestringrequired
  • categories[].sort_orderintegerrequired
  • categories[].image_urlstring | nullrequired
  • servicesobject[]required
  • services[].idstringrequired
  • services[].namestringrequired
  • services[].descriptionstring | nullrequired
  • services[].category_idstring | nullrequired
  • services[].duration_minutesinteger | nullrequired

    Base duration of the service. For a service with variants, show duration_min_minutes–duration_max_minutes instead.

  • services[].price_centsinteger | nullrequired

    null when the venue hides the price. Base price; for a service with variants, show price_from_cents instead.

  • services[].duration_min_minutesinteger | nullrequired

    Shortest variant duration, or duration_minutes for a service without variants. Show "min–max min", or one value when both are equal.

  • services[].duration_max_minutesinteger | nullrequired

    Longest variant duration, or duration_minutes for a service without variants.

  • services[].price_from_centsinteger | nullrequired

    Lowest variant price ("from …"), or price_cents for a service without variants. null when the venue hides the price.

  • services[].price_notestring | nullrequired
  • services[].deposit_centsinteger | nullrequired

    Deposit of this service (null without online payments).

  • services[].variant_mode"customer" | "staff" | nullrequired

    "customer": the guest picks a variant. "staff": the venue decides later (send the service id in pending_ids).

  • services[].variant_questionstring | nullrequired
  • services[].required_providersintegerrequired

    Staff members this service needs at once (1 for most services). A service with 2 or more is a multi-staff treatment: it is booked on its own (never in a combination) and the venue assigns the extra staff.

  • services[].variantsobject[]required
  • services[].variants[].idstringrequired
  • services[].variants[].namestringrequired
  • services[].variants[].help_textstring | nullrequired
  • services[].variants[].duration_minutesinteger | nullrequired
  • services[].variants[].price_centsinteger | nullrequired
  • services[].variants[].deposit_centsinteger | nullrequired

Errors

What your site does for each code is in Errors and limits.

Request
bash
curl 'https://www.callyndar.com/api/v1/services' \
  -H 'Authorization: Bearer cal_pk_live_YOUR_KEY'
js
const res = await fetch('https://www.callyndar.com/api/v1/services', {
  headers: {
    Authorization: 'Bearer cal_pk_live_YOUR_KEY',
  },
});
const data = await res.json();
if (!res.ok) throw new Error(`${data.error.code}: ${data.error.message}`);
php
<?php
$ch = curl_init('https://www.callyndar.com/api/v1/services');
curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER => [
        'Authorization: Bearer cal_pk_live_YOUR_KEY',
    ],
]);
$data = json_decode(curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) {
    throw new RuntimeException($data['error']['code'] . ': ' . $data['error']['message']);
}
python
import requests

headers = {
    "Authorization": "Bearer cal_pk_live_YOUR_KEY",
}
res = requests.get("https://www.callyndar.com/api/v1/services", headers=headers)
data = res.json()
if not res.ok:
    raise RuntimeError(f"{data['error']['code']}: {data['error']['message']}")
Response
json
{
  "currency": "EUR",
  "service_picker_mode": "list",
  "allow_service_combos": true,
  "categories": [
    {
      "id": "2d7e9f1a-3c5b-4d8e-b6a1-0c2d3e4f5a6b",
      "parent_id": null,
      "name": "Haar",
      "sort_order": 0,
      "image_url": null
    }
  ],
  "services": [
    {
      "id": "5b6f0c3e-2a4d-4f1b-9c7e-1d2a3b4c5d6e",
      "name": "Knippen",
      "description": "Wassen, knippen en drogen.",
      "category_id": "2d7e9f1a-3c5b-4d8e-b6a1-0c2d3e4f5a6b",
      "duration_minutes": 45,
      "price_cents": 4500,
      "duration_min_minutes": 45,
      "duration_max_minutes": 45,
      "price_from_cents": 4500,
      "price_note": null,
      "deposit_cents": null,
      "variant_mode": null,
      "variant_question": null,
      "required_providers": 1,
      "variants": []
    },
    {
      "id": "8e1d4a72-6c3b-4e9f-a2d5-7f0b1c2d3e4f",
      "name": "Kleuren",
      "description": null,
      "category_id": "2d7e9f1a-3c5b-4d8e-b6a1-0c2d3e4f5a6b",
      "duration_minutes": 90,
      "price_cents": 7500,
      "duration_min_minutes": 60,
      "duration_max_minutes": 120,
      "price_from_cents": 6500,
      "price_note": "vanaf",
      "deposit_cents": null,
      "variant_mode": "customer",
      "variant_question": "Hoe lang is je haar?",
      "required_providers": 1,
      "variants": [
        {
          "id": "b3f8d6c1-0a2e-4f5b-9d4c-8e9f0a1b2c3d",
          "name": "Kort haar",
          "help_text": null,
          "duration_minutes": 60,
          "price_cents": 6500,
          "deposit_cents": null
        },
        {
          "id": "c4a9e7d2-1b3f-4a6c-8e5d-9f0a1b2c3d4e",
          "name": "Lang haar",
          "help_text": "Voorbij de schouders",
          "duration_minutes": 120,
          "price_cents": 9500,
          "deposit_cents": null
        }
      ]
    }
  ]
}

Staff for a selection

GET/api/v1/providers

Active staff members (salon, barber, clinic) or wash bays (carwash) that can do all given services. Empty for restaurants.

Query parameters

  • service_idsstring

    Comma-separated service ids; only staff who can do ALL of them are returned.

Response 200

Response fields (6 fields)
  • providersobject[]required
  • providers[].idstringrequired
  • providers[].namestringrequired
  • providers[].specialtystring | nullrequired
  • providers[].biostring | nullrequired
  • providers[].avatar_urlstring | nullrequired

Errors

What your site does for each code is in Errors and limits.

Request
bash
curl 'https://www.callyndar.com/api/v1/providers?service_ids=5b6f0c3e-2a4d-4f1b-9c7e-1d2a3b4c5d6e' \
  -H 'Authorization: Bearer cal_pk_live_YOUR_KEY'
js
const res = await fetch('https://www.callyndar.com/api/v1/providers?service_ids=5b6f0c3e-2a4d-4f1b-9c7e-1d2a3b4c5d6e', {
  headers: {
    Authorization: 'Bearer cal_pk_live_YOUR_KEY',
  },
});
const data = await res.json();
if (!res.ok) throw new Error(`${data.error.code}: ${data.error.message}`);
php
<?php
$ch = curl_init('https://www.callyndar.com/api/v1/providers?service_ids=5b6f0c3e-2a4d-4f1b-9c7e-1d2a3b4c5d6e');
curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER => [
        'Authorization: Bearer cal_pk_live_YOUR_KEY',
    ],
]);
$data = json_decode(curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) {
    throw new RuntimeException($data['error']['code'] . ': ' . $data['error']['message']);
}
python
import requests

headers = {
    "Authorization": "Bearer cal_pk_live_YOUR_KEY",
}
res = requests.get("https://www.callyndar.com/api/v1/providers?service_ids=5b6f0c3e-2a4d-4f1b-9c7e-1d2a3b4c5d6e", headers=headers)
data = res.json()
if not res.ok:
    raise RuntimeError(f"{data['error']['code']}: {data['error']['message']}")
Response
json
{
  "providers": [
    {
      "id": "9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d",
      "name": "Lisa",
      "specialty": "Kleurspecialist",
      "bio": null,
      "avatar_url": null
    },
    {
      "id": "1f2e3d4c-5b6a-4978-8a6b-5c4d3e2f1a09",
      "name": "Tom",
      "specialty": null,
      "bio": null,
      "avatar_url": null
    }
  ]
}

Availability

Open days, free times and whether a deposit is due.

Open and closed days

GET/api/v1/calendar

Per day open/closed with the reason (weekly closed, holiday, owner day block with message, beyond the booking window) and full days off of staff. Max. 92 days per request.

Query parameters

  • fromstring

    First day (default: today in the venue timezone).

  • tostring

    Last day, inclusive (default: from + 30 days, max. 92 days span).

  • provider_idstring

    Salon: also report full days off of this staff member as closed.

Response 200

Response fields (12 fields)
  • fromstringrequired

    Venue-local date, YYYY-MM-DD.

  • tostringrequired

    Venue-local date, YYYY-MM-DD.

  • timezonestringrequired
  • daysobject[]required
  • days[].datestringrequired

    Venue-local date, YYYY-MM-DD.

  • days[].openbooleanrequired
  • days[].reason"past" | "weekly_closed" | "online_day_disabled" | "holiday" | "day_block" | "beyond_max_advance" | "provider_leave" | "provider_not_working" | nullrequired
  • days[].messagestring | nullrequired

    Message of the owner for a blocked day (or a holiday label).

  • provider_leaveobject[]required
  • provider_leave[].provider_idstringrequired
  • provider_leave[].fromstringrequired

    Venue-local date, YYYY-MM-DD.

  • provider_leave[].tostringrequired

    Venue-local date, YYYY-MM-DD.

Errors

What your site does for each code is in Errors and limits.

Request
bash
curl 'https://www.callyndar.com/api/v1/calendar?from=2026-12-01&to=2026-12-07' \
  -H 'Authorization: Bearer cal_pk_live_YOUR_KEY'
js
const res = await fetch('https://www.callyndar.com/api/v1/calendar?from=2026-12-01&to=2026-12-07', {
  headers: {
    Authorization: 'Bearer cal_pk_live_YOUR_KEY',
  },
});
const data = await res.json();
if (!res.ok) throw new Error(`${data.error.code}: ${data.error.message}`);
php
<?php
$ch = curl_init('https://www.callyndar.com/api/v1/calendar?from=2026-12-01&to=2026-12-07');
curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER => [
        'Authorization: Bearer cal_pk_live_YOUR_KEY',
    ],
]);
$data = json_decode(curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) {
    throw new RuntimeException($data['error']['code'] . ': ' . $data['error']['message']);
}
python
import requests

headers = {
    "Authorization": "Bearer cal_pk_live_YOUR_KEY",
}
res = requests.get("https://www.callyndar.com/api/v1/calendar?from=2026-12-01&to=2026-12-07", headers=headers)
data = res.json()
if not res.ok:
    raise RuntimeError(f"{data['error']['code']}: {data['error']['message']}")
Response
json
{
  "from": "2026-12-01",
  "to": "2026-12-07",
  "timezone": "Europe/Brussels",
  "days": [
    {
      "date": "2026-12-01",
      "open": true,
      "reason": null,
      "message": null
    },
    {
      "date": "2026-12-02",
      "open": true,
      "reason": null,
      "message": null
    },
    {
      "date": "2026-12-03",
      "open": false,
      "reason": "day_block",
      "message": "Opleiding — we zijn gesloten."
    },
    {
      "date": "2026-12-04",
      "open": true,
      "reason": null,
      "message": null
    },
    {
      "date": "2026-12-05",
      "open": true,
      "reason": null,
      "message": null
    },
    {
      "date": "2026-12-06",
      "open": false,
      "reason": "weekly_closed",
      "message": null
    },
    {
      "date": "2026-12-07",
      "open": false,
      "reason": "weekly_closed",
      "message": null
    }
  ],
  "provider_leave": [
    {
      "provider_id": "1f2e3d4c-5b6a-4978-8a6b-5c4d3e2f1a09",
      "from": "2026-12-04",
      "to": "2026-12-05"
    }
  ]
}

Free times on one day

GET/api/v1/availability

The same slots as the Callyndar booking widget, for this party size / selection / staff member.

Query parameters

  • datestringrequired

    Venue-local date, YYYY-MM-DD.

  • party_sizeintegerdefault: 1

    Number of guests (restaurants) — 1 for an appointment.

  • service_idsstring

    Comma-separated service ids (provider sectors: required to size the appointment).

  • variant_idsstring

    Comma-separated variant ids aligned with service_ids; leave an entry empty ("a,,b") for a service without a variant.

  • pending_idsstring

    Comma-separated service ids whose variant the venue decides (variant_mode "staff").

  • provider_idstring

    A specific staff member; omit for "no preference".

Response 200

Response fields (11 fields)
  • datestringrequired

    Venue-local date, YYYY-MM-DD.

  • duration_minutesinteger | nullrequired

    Length of the appointment the slots are measured with.

  • required_providersintegerrequired

    Staff members the chosen treatment needs at once (1 unless it is a multi-staff treatment).

  • slotsobject[]required
  • slots[].timestringrequired

    Venue-local time, HH:MM (24h).

  • slots[].end_timestringrequired

    Venue-local time, HH:MM (24h).

  • slots[].next_daybooleanrequired

    true for an after-midnight slot of a late opening window.

  • slots[].availableintegerrequired

    Free places (restaurant) or free staff members (salon) at this time; for a multi-staff treatment, how many such appointments still fit. Always 1 when the venue hides the remaining-seats count.

  • slots[].provider_idsstring[]required

    Salon: staff free at this time (empty for restaurants, and empty when the venue hides the remaining-seats count).

  • reason"past_date" | "same_day_disabled" | "same_day_closed" | "party_size" | "online_booking_closed_day" | "online_booking_hours" | "closed_day" | "blocked_date" | "day_block" | "holiday" | "beyond_max_advance" | "not_enough_staff" | nullrequired

    Why the day has no slots (null when it has some, or simply is full).

  • reason_paramsobject (map) | nullrequired

Errors

What your site does for each code is in Errors and limits.

Request
bash
curl 'https://www.callyndar.com/api/v1/availability?date=2026-12-04&service_ids=5b6f0c3e-2a4d-4f1b-9c7e-1d2a3b4c5d6e&provider_id=9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d' \
  -H 'Authorization: Bearer cal_pk_live_YOUR_KEY'
js
const res = await fetch('https://www.callyndar.com/api/v1/availability?date=2026-12-04&service_ids=5b6f0c3e-2a4d-4f1b-9c7e-1d2a3b4c5d6e&provider_id=9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d', {
  headers: {
    Authorization: 'Bearer cal_pk_live_YOUR_KEY',
  },
});
const data = await res.json();
if (!res.ok) throw new Error(`${data.error.code}: ${data.error.message}`);
php
<?php
$ch = curl_init('https://www.callyndar.com/api/v1/availability?date=2026-12-04&service_ids=5b6f0c3e-2a4d-4f1b-9c7e-1d2a3b4c5d6e&provider_id=9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d');
curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER => [
        'Authorization: Bearer cal_pk_live_YOUR_KEY',
    ],
]);
$data = json_decode(curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) {
    throw new RuntimeException($data['error']['code'] . ': ' . $data['error']['message']);
}
python
import requests

headers = {
    "Authorization": "Bearer cal_pk_live_YOUR_KEY",
}
res = requests.get("https://www.callyndar.com/api/v1/availability?date=2026-12-04&service_ids=5b6f0c3e-2a4d-4f1b-9c7e-1d2a3b4c5d6e&provider_id=9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d", headers=headers)
data = res.json()
if not res.ok:
    raise RuntimeError(f"{data['error']['code']}: {data['error']['message']}")
Response
json
{
  "date": "2026-12-04",
  "duration_minutes": 45,
  "required_providers": 1,
  "slots": [
    {
      "time": "09:00",
      "end_time": "09:45",
      "next_day": false,
      "available": 1,
      "provider_ids": [
        "9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d"
      ]
    },
    {
      "time": "09:15",
      "end_time": "10:00",
      "next_day": false,
      "available": 1,
      "provider_ids": [
        "9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d"
      ]
    },
    {
      "time": "14:30",
      "end_time": "15:15",
      "next_day": false,
      "available": 1,
      "provider_ids": [
        "9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d"
      ]
    }
  ],
  "reason": null,
  "reason_params": null
}

Is a deposit due?

GET/api/v1/deposit-policy

Whether this selection needs an online deposit and how much.

Query parameters

  • party_sizeintegerdefault: 1

    Number of guests (restaurants) — 1 for an appointment.

  • service_idsstring

    Comma-separated service ids.

  • variant_idsstring

    Comma-separated variant ids aligned with service_ids.

  • pending_idsstring

    Comma-separated pending service ids.

Response 200

Response fields (4 fields)
  • requiredbooleanrequired
  • amount_centsintegerrequired
  • currencystringrequired
  • refund_window_hoursintegerrequired

Errors

What your site does for each code is in Errors and limits.

Request
bash
curl 'https://www.callyndar.com/api/v1/deposit-policy?service_ids=5b6f0c3e-2a4d-4f1b-9c7e-1d2a3b4c5d6e' \
  -H 'Authorization: Bearer cal_pk_live_YOUR_KEY'
js
const res = await fetch('https://www.callyndar.com/api/v1/deposit-policy?service_ids=5b6f0c3e-2a4d-4f1b-9c7e-1d2a3b4c5d6e', {
  headers: {
    Authorization: 'Bearer cal_pk_live_YOUR_KEY',
  },
});
const data = await res.json();
if (!res.ok) throw new Error(`${data.error.code}: ${data.error.message}`);
php
<?php
$ch = curl_init('https://www.callyndar.com/api/v1/deposit-policy?service_ids=5b6f0c3e-2a4d-4f1b-9c7e-1d2a3b4c5d6e');
curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER => [
        'Authorization: Bearer cal_pk_live_YOUR_KEY',
    ],
]);
$data = json_decode(curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) {
    throw new RuntimeException($data['error']['code'] . ': ' . $data['error']['message']);
}
python
import requests

headers = {
    "Authorization": "Bearer cal_pk_live_YOUR_KEY",
}
res = requests.get("https://www.callyndar.com/api/v1/deposit-policy?service_ids=5b6f0c3e-2a4d-4f1b-9c7e-1d2a3b4c5d6e", headers=headers)
data = res.json()
if not res.ok:
    raise RuntimeError(f"{data['error']['code']}: {data['error']['message']}")
Response
json
{
  "required": true,
  "amount_cents": 1500,
  "currency": "EUR",
  "refund_window_hours": 24
}

Holds

Hold a time while the guest fills in the form, release it, start a deposit payment.

Hold a time

POST/api/v1/holds

Re-checks the time with every rule and holds it (capacity_reserved: true) or returns a signed confirmation (false) for venues without holds.

Body (JSON)

  • datestringrequired

    Venue-local date, YYYY-MM-DD.

  • timestringrequired

    Venue-local time, HH:MM (24h).

  • party_sizeintegerdefault: 1

    Number of guests (restaurants) — 1 for an appointment.

  • service_idsstring[]

    Chosen services, in the order the guest picked them.

  • variant_ids(string | null)[]

    Chosen variant per service_ids entry (same index), null when that service has no variant choice.

  • pending_idsstring[]

    Services with variant_mode "staff" whose variant the venue decides later.

  • provider_idstring | null

    A specific staff member; omit or null for "no preference".

  • session_idstringrequired

    One random id per visitor/browser tab (e.g. crypto.randomUUID()). A new hold of the same session replaces the previous one.

Response 201

Response fields (14 fields)
  • hold_idstringrequired

    Pass to POST /bookings. A UUID (real hold) or "nh_…" (signed confirmation).

  • expires_atstringrequired

    ISO timestamp; show a countdown and ask a new hold after it.

  • capacity_reservedbooleanrequired

    true: the time is really held for you until expires_at. false: it was free when checked but is not held.

  • datestringrequired

    Venue-local date, YYYY-MM-DD.

  • timestringrequired

    Venue-local time, HH:MM (24h).

  • end_timestringrequired

    Venue-local time, HH:MM (24h).

  • duration_minutesintegerrequired
  • party_sizeintegerrequired
  • provider_idstring | nullrequired
  • extra_provider_idsstring[]required

    Additional staff a multi-staff treatment reserved (empty otherwise).

  • depositobjectrequired
  • deposit.requiredbooleanrequired
  • deposit.amount_centsintegerrequired
  • deposit.currencystringrequired

Errors

What your site does for each code is in Errors and limits.

Request
bash
curl -X POST 'https://www.callyndar.com/api/v1/holds' \
  -H 'Authorization: Bearer cal_pk_live_YOUR_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "date": "2026-12-04",
  "time": "14:30",
  "party_size": 1,
  "service_ids": [
    "5b6f0c3e-2a4d-4f1b-9c7e-1d2a3b4c5d6e"
  ],
  "provider_id": "9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d",
  "session_id": "c1d7c0f0-4f7e-4c55-8f0a-6f8c2b7d9e01"
}'
js
const res = await fetch('https://www.callyndar.com/api/v1/holds', {
  method: 'POST',
  headers: {
    Authorization: 'Bearer cal_pk_live_YOUR_KEY',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    "date": "2026-12-04",
    "time": "14:30",
    "party_size": 1,
    "service_ids": [
      "5b6f0c3e-2a4d-4f1b-9c7e-1d2a3b4c5d6e"
    ],
    "provider_id": "9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d",
    "session_id": "c1d7c0f0-4f7e-4c55-8f0a-6f8c2b7d9e01"
  }),
});
const data = await res.json();
if (!res.ok) throw new Error(`${data.error.code}: ${data.error.message}`);
php
<?php
$ch = curl_init('https://www.callyndar.com/api/v1/holds');
curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_CUSTOMREQUEST => 'POST',
    CURLOPT_HTTPHEADER => [
        'Authorization: Bearer cal_pk_live_YOUR_KEY',
        'Content-Type: application/json',
    ],
    CURLOPT_POSTFIELDS => json_encode([
            'date' => '2026-12-04',
            'time' => '14:30',
            'party_size' => 1,
            'service_ids' => [
                '5b6f0c3e-2a4d-4f1b-9c7e-1d2a3b4c5d6e',
            ],
            'provider_id' => '9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d',
            'session_id' => 'c1d7c0f0-4f7e-4c55-8f0a-6f8c2b7d9e01',
        ]),
]);
$data = json_decode(curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) {
    throw new RuntimeException($data['error']['code'] . ': ' . $data['error']['message']);
}
python
import requests

headers = {
    "Authorization": "Bearer cal_pk_live_YOUR_KEY",
    "Content-Type": "application/json",
}
payload = {
    "date": "2026-12-04",
    "time": "14:30",
    "party_size": 1,
    "service_ids": [
        "5b6f0c3e-2a4d-4f1b-9c7e-1d2a3b4c5d6e",
    ],
    "provider_id": "9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d",
    "session_id": "c1d7c0f0-4f7e-4c55-8f0a-6f8c2b7d9e01",
}
res = requests.post("https://www.callyndar.com/api/v1/holds", headers=headers, json=payload)
data = res.json()
if not res.ok:
    raise RuntimeError(f"{data['error']['code']}: {data['error']['message']}")
Response
json
{
  "hold_id": "3f0c2a5e-8b1d-4c7e-9a40-2d6f1e9b7c11",
  "expires_at": "2026-12-01T13:40:00.000Z",
  "capacity_reserved": true,
  "date": "2026-12-04",
  "time": "14:30",
  "end_time": "15:15",
  "duration_minutes": 45,
  "party_size": 1,
  "provider_id": "9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d",
  "extra_provider_ids": [],
  "deposit": {
    "required": false,
    "amount_cents": 0,
    "currency": "EUR"
  }
}

Release a hold

DELETE/api/v1/holds/{id}

Gives the time back (guest goes back or closes the flow). Idempotent.

Path parameters

  • idstringrequired

    hold_id from POST /holds

Response 200

Response fields (1 fields)
  • releasedbooleanrequired

Errors

What your site does for each code is in Errors and limits.

Request
bash
curl -X DELETE 'https://www.callyndar.com/api/v1/holds/3f0c2a5e-8b1d-4c7e-9a40-2d6f1e9b7c11' \
  -H 'Authorization: Bearer cal_pk_live_YOUR_KEY'
js
const res = await fetch('https://www.callyndar.com/api/v1/holds/3f0c2a5e-8b1d-4c7e-9a40-2d6f1e9b7c11', {
  method: 'DELETE',
  headers: {
    Authorization: 'Bearer cal_pk_live_YOUR_KEY',
  },
});
const data = await res.json();
if (!res.ok) throw new Error(`${data.error.code}: ${data.error.message}`);
php
<?php
$ch = curl_init('https://www.callyndar.com/api/v1/holds/3f0c2a5e-8b1d-4c7e-9a40-2d6f1e9b7c11');
curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_CUSTOMREQUEST => 'DELETE',
    CURLOPT_HTTPHEADER => [
        'Authorization: Bearer cal_pk_live_YOUR_KEY',
    ],
]);
$data = json_decode(curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) {
    throw new RuntimeException($data['error']['code'] . ': ' . $data['error']['message']);
}
python
import requests

headers = {
    "Authorization": "Bearer cal_pk_live_YOUR_KEY",
}
res = requests.delete("https://www.callyndar.com/api/v1/holds/3f0c2a5e-8b1d-4c7e-9a40-2d6f1e9b7c11", headers=headers)
data = res.json()
if not res.ok:
    raise RuntimeError(f"{data['error']['code']}: {data['error']['message']}")
Response
json
{
  "released": true
}

Start the deposit payment

POST/api/v1/holds/{id}/deposit

Creates the Stripe PaymentIntent on the venue's account for this hold. Mount the Payment Element with client_secret and stripe_account.

Send turnstile_token only when the key has the optional Callyndar Turnstile switched on (GET /venue → turnstile_required, off by default).

Path parameters

  • idstringrequired

    hold_id from POST /holds

Body (JSON)

  • guestobjectrequired
  • guest.first_namestringrequired
  • guest.last_namestringrequired
  • guest.emailstring (email)required
  • guest.phonestring

    Required when the venue asks for it (GET /venue → booking.phone_required).

  • companyobject

    Optional: the guest books for a company. Leave out for a private booking.

  • company.namestringrequired

    Company name the invoice should be made out to.

  • company.vat_numberstring

    EU VAT number with country prefix (spaces and dots allowed). Checked against VIES after the booking; an unreachable VIES never refuses the booking.

  • company.referencestring

    Purchase order or reference for the invoice.

  • notesstring
  • locale"nl" | "en" | "fr"

    Language of the guest e-mails and the manage page.

  • turnstile_tokenstring

    Cloudflare Turnstile token — only when the key has the optional Callyndar Turnstile switched on (GET /venue → turnstile_required; off by default). Protecting your form against bots is your own job (your own captcha or Turnstile).

Response 201

Response fields (6 fields)
  • payment_intent_idstringrequired
  • client_secretstringrequired

    For stripe.elements({ clientSecret }) — never store it.

  • amount_centsintegerrequired
  • currencystringrequired
  • stripe_publishable_keystringrequired
  • stripe_accountstringrequired

    Connected account: Stripe(stripe_publishable_key, { stripeAccount }).

Errors

What your site does for each code is in Errors and limits.

Request
bash
curl -X POST 'https://www.callyndar.com/api/v1/holds/3f0c2a5e-8b1d-4c7e-9a40-2d6f1e9b7c11/deposit' \
  -H 'Authorization: Bearer cal_pk_live_YOUR_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "guest": {
    "first_name": "Test",
    "last_name": "Gast",
    "email": "test.gast@example.com",
    "phone": "+32 470 12 34 56"
  },
  "locale": "nl"
}'
js
const res = await fetch('https://www.callyndar.com/api/v1/holds/3f0c2a5e-8b1d-4c7e-9a40-2d6f1e9b7c11/deposit', {
  method: 'POST',
  headers: {
    Authorization: 'Bearer cal_pk_live_YOUR_KEY',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    "guest": {
      "first_name": "Test",
      "last_name": "Gast",
      "email": "test.gast@example.com",
      "phone": "+32 470 12 34 56"
    },
    "locale": "nl"
  }),
});
const data = await res.json();
if (!res.ok) throw new Error(`${data.error.code}: ${data.error.message}`);
php
<?php
$ch = curl_init('https://www.callyndar.com/api/v1/holds/3f0c2a5e-8b1d-4c7e-9a40-2d6f1e9b7c11/deposit');
curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_CUSTOMREQUEST => 'POST',
    CURLOPT_HTTPHEADER => [
        'Authorization: Bearer cal_pk_live_YOUR_KEY',
        'Content-Type: application/json',
    ],
    CURLOPT_POSTFIELDS => json_encode([
            'guest' => [
                'first_name' => 'Test',
                'last_name' => 'Gast',
                'email' => 'test.gast@example.com',
                'phone' => '+32 470 12 34 56',
            ],
            'locale' => 'nl',
        ]),
]);
$data = json_decode(curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) {
    throw new RuntimeException($data['error']['code'] . ': ' . $data['error']['message']);
}
python
import requests

headers = {
    "Authorization": "Bearer cal_pk_live_YOUR_KEY",
    "Content-Type": "application/json",
}
payload = {
    "guest": {
        "first_name": "Test",
        "last_name": "Gast",
        "email": "test.gast@example.com",
        "phone": "+32 470 12 34 56",
    },
    "locale": "nl",
}
res = requests.post("https://www.callyndar.com/api/v1/holds/3f0c2a5e-8b1d-4c7e-9a40-2d6f1e9b7c11/deposit", headers=headers, json=payload)
data = res.json()
if not res.ok:
    raise RuntimeError(f"{data['error']['code']}: {data['error']['message']}")
Response
json
{
  "payment_intent_id": "pi_3QxTESTa1b2c3d4e5f6g7h8",
  "client_secret": "pi_3QxTESTa1b2c3d4e5f6g7h8_secret_TESTabc123",
  "amount_cents": 1500,
  "currency": "EUR",
  "stripe_publishable_key": "pk_live_TESTexamplekey",
  "stripe_account": "acct_1TESTexample"
}

Bookings

Turn a hold into a booking, also after a payment redirect.

Book

POST/api/v1/bookings

Turns the hold into a booking with the guest details. Requires an Idempotency-Key per booking attempt.

Send turnstile_token only when the key has the optional Callyndar Turnstile switched on (GET /venue → turnstile_required, off by default).

Use a new Idempotency-Key per booking attempt; the same key + body returns the first answer again.

Headers

  • Idempotency-Keystringrequired

    A new random value per booking attempt (8–128 chars). Retrying with the same key and body returns the first answer.

Body (JSON)

  • hold_idstringrequired

    hold_id from POST /holds (a UUID, or an "nh_…" slot confirmation).

  • guestobjectrequired
  • guest.first_namestringrequired
  • guest.last_namestringrequired
  • guest.emailstring (email)required
  • guest.phonestring

    Required when the venue asks for it (GET /venue → booking.phone_required).

  • companyobject

    Optional: the guest books for a company. Leave out for a private booking.

  • company.namestringrequired

    Company name the invoice should be made out to.

  • company.vat_numberstring

    EU VAT number with country prefix (spaces and dots allowed). Checked against VIES after the booking; an unreachable VIES never refuses the booking.

  • company.referencestring

    Purchase order or reference for the invoice.

  • notesstring

    Remarks of the guest (allergies, wishes).

  • locale"nl" | "en" | "fr"

    Language of the guest e-mails and the manage page.

  • payment_intent_idstring

    The PaymentIntent of a paid deposit (POST /holds/{id}/deposit).

  • turnstile_tokenstring

    Cloudflare Turnstile token — only when the key has the optional Callyndar Turnstile switched on (GET /venue → turnstile_required; off by default). Protecting your form against bots is your own job (your own captcha or Turnstile).

Response 201

Response fields (22 fields)
  • bookingobjectrequired
  • booking.idstringrequired
  • booking.status"confirmed" | "pending" | "waitlisted"required

    confirmed = booked; pending = the venue confirms it; waitlisted = full, on the waiting list.

  • booking.datestringrequired

    Venue-local date, YYYY-MM-DD.

  • booking.timestringrequired

    Venue-local time, HH:MM (24h).

  • booking.end_timestringrequired

    Venue-local time, HH:MM (24h).

  • booking.party_sizeintegerrequired
  • booking.provider_idstring | nullrequired
  • booking.extra_provider_idsstring[]required
  • booking.servicesobject[]required
  • booking.services[].idstringrequired
  • booking.services[].namestringrequired
  • booking.services[].variant_idstring | nullrequired
  • booking.services[].variant_namestring | nullrequired
  • booking.services[].duration_minutesinteger | nullrequired
  • booking.services[].price_centsinteger | nullrequired
  • booking.deposit_paidbooleanrequired
  • booking.companyobject | nullrequired

    The company block sent with the booking, or null.

  • booking.company.namestringrequired
  • booking.company.vat_numberstring | nullrequired

    Normalised (BE0123456749).

  • booking.company.referencestring | nullrequired
  • booking.manage_urlstringrequired

    Page where the guest cancels or reschedules (also in the confirmation e-mail).

Errors

What your site does for each code is in Errors and limits.

Request
bash
curl -X POST 'https://www.callyndar.com/api/v1/bookings' \
  -H 'Authorization: Bearer cal_pk_live_YOUR_KEY' \
  -H 'Content-Type: application/json' \
  -H 'Idempotency-Key: 6f1c9a52-0d3e-4b8a-9c71-2e5d4f3a1b90' \
  -d '{
  "hold_id": "3f0c2a5e-8b1d-4c7e-9a40-2d6f1e9b7c11",
  "guest": {
    "first_name": "Test",
    "last_name": "Gast",
    "email": "test.gast@example.com",
    "phone": "+32 470 12 34 56"
  },
  "notes": "Graag een stille plek.",
  "locale": "nl",
  "company": {
    "name": "TEST Studio BV",
    "vat_number": "BE 0123.456.749",
    "reference": "PO-2026-118"
  }
}'
js
const res = await fetch('https://www.callyndar.com/api/v1/bookings', {
  method: 'POST',
  headers: {
    Authorization: 'Bearer cal_pk_live_YOUR_KEY',
    'Content-Type': 'application/json',
    'Idempotency-Key': crypto.randomUUID(),
  },
  body: JSON.stringify({
    "hold_id": "3f0c2a5e-8b1d-4c7e-9a40-2d6f1e9b7c11",
    "guest": {
      "first_name": "Test",
      "last_name": "Gast",
      "email": "test.gast@example.com",
      "phone": "+32 470 12 34 56"
    },
    "notes": "Graag een stille plek.",
    "locale": "nl",
    "company": {
      "name": "TEST Studio BV",
      "vat_number": "BE 0123.456.749",
      "reference": "PO-2026-118"
    }
  }),
});
const data = await res.json();
if (!res.ok) throw new Error(`${data.error.code}: ${data.error.message}`);
php
<?php
$ch = curl_init('https://www.callyndar.com/api/v1/bookings');
curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_CUSTOMREQUEST => 'POST',
    CURLOPT_HTTPHEADER => [
        'Authorization: Bearer cal_pk_live_YOUR_KEY',
        'Content-Type: application/json',
        'Idempotency-Key: 6f1c9a52-0d3e-4b8a-9c71-2e5d4f3a1b90',
    ],
    CURLOPT_POSTFIELDS => json_encode([
            'hold_id' => '3f0c2a5e-8b1d-4c7e-9a40-2d6f1e9b7c11',
            'guest' => [
                'first_name' => 'Test',
                'last_name' => 'Gast',
                'email' => 'test.gast@example.com',
                'phone' => '+32 470 12 34 56',
            ],
            'notes' => 'Graag een stille plek.',
            'locale' => 'nl',
            'company' => [
                'name' => 'TEST Studio BV',
                'vat_number' => 'BE 0123.456.749',
                'reference' => 'PO-2026-118',
            ],
        ]),
]);
$data = json_decode(curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) {
    throw new RuntimeException($data['error']['code'] . ': ' . $data['error']['message']);
}
python
import uuid
import requests

headers = {
    "Authorization": "Bearer cal_pk_live_YOUR_KEY",
    "Content-Type": "application/json",
    "Idempotency-Key": str(uuid.uuid4()),
}
payload = {
    "hold_id": "3f0c2a5e-8b1d-4c7e-9a40-2d6f1e9b7c11",
    "guest": {
        "first_name": "Test",
        "last_name": "Gast",
        "email": "test.gast@example.com",
        "phone": "+32 470 12 34 56",
    },
    "notes": "Graag een stille plek.",
    "locale": "nl",
    "company": {
        "name": "TEST Studio BV",
        "vat_number": "BE 0123.456.749",
        "reference": "PO-2026-118",
    },
}
res = requests.post("https://www.callyndar.com/api/v1/bookings", headers=headers, json=payload)
data = res.json()
if not res.ok:
    raise RuntimeError(f"{data['error']['code']}: {data['error']['message']}")
Response
json
{
  "booking": {
    "id": "7c1e5a9d-3b2f-4e8a-9d6c-0b1a2c3d4e5f",
    "status": "confirmed",
    "date": "2026-12-04",
    "time": "14:30",
    "end_time": "15:15",
    "party_size": 1,
    "provider_id": "9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d",
    "extra_provider_ids": [],
    "services": [
      {
        "id": "5b6f0c3e-2a4d-4f1b-9c7e-1d2a3b4c5d6e",
        "name": "Knippen",
        "variant_id": null,
        "variant_name": null,
        "duration_minutes": 45,
        "price_cents": 4500
      }
    ],
    "deposit_paid": false,
    "company": {
      "name": "TEST Studio BV",
      "vat_number": "BE0123456749",
      "reference": "PO-2026-118"
    },
    "manage_url": "https://callyndar.com/r/7c1e5a9d-3b2f-4e8a-9d6c-0b1a2c3d4e5f"
  }
}

Finish a booking after a payment redirect

POST/api/v1/bookings/recover

After iDEAL/Bancontact the guest comes back to your return_url. Call this with the payment_intent from the URL to finish (or fetch) the booking. Only works for payments started with this key.

Body (JSON)

  • payment_intent_idstringrequired

Response 200

Response fields (22 fields)
  • bookingobjectrequired
  • booking.idstringrequired
  • booking.status"confirmed" | "pending" | "waitlisted"required

    confirmed = booked; pending = the venue confirms it; waitlisted = full, on the waiting list.

  • booking.datestringrequired

    Venue-local date, YYYY-MM-DD.

  • booking.timestringrequired

    Venue-local time, HH:MM (24h).

  • booking.end_timestringrequired

    Venue-local time, HH:MM (24h).

  • booking.party_sizeintegerrequired
  • booking.provider_idstring | nullrequired
  • booking.extra_provider_idsstring[]required
  • booking.servicesobject[]required
  • booking.services[].idstringrequired
  • booking.services[].namestringrequired
  • booking.services[].variant_idstring | nullrequired
  • booking.services[].variant_namestring | nullrequired
  • booking.services[].duration_minutesinteger | nullrequired
  • booking.services[].price_centsinteger | nullrequired
  • booking.deposit_paidbooleanrequired
  • booking.companyobject | nullrequired

    The company block sent with the booking, or null.

  • booking.company.namestringrequired
  • booking.company.vat_numberstring | nullrequired

    Normalised (BE0123456749).

  • booking.company.referencestring | nullrequired
  • booking.manage_urlstringrequired

    Page where the guest cancels or reschedules (also in the confirmation e-mail).

Errors

What your site does for each code is in Errors and limits.

Request
bash
curl -X POST 'https://www.callyndar.com/api/v1/bookings/recover' \
  -H 'Authorization: Bearer cal_pk_live_YOUR_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "payment_intent_id": "pi_3QxTESTa1b2c3d4e5f6g7h8"
}'
js
const res = await fetch('https://www.callyndar.com/api/v1/bookings/recover', {
  method: 'POST',
  headers: {
    Authorization: 'Bearer cal_pk_live_YOUR_KEY',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    "payment_intent_id": "pi_3QxTESTa1b2c3d4e5f6g7h8"
  }),
});
const data = await res.json();
if (!res.ok) throw new Error(`${data.error.code}: ${data.error.message}`);
php
<?php
$ch = curl_init('https://www.callyndar.com/api/v1/bookings/recover');
curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_CUSTOMREQUEST => 'POST',
    CURLOPT_HTTPHEADER => [
        'Authorization: Bearer cal_pk_live_YOUR_KEY',
        'Content-Type: application/json',
    ],
    CURLOPT_POSTFIELDS => json_encode([
            'payment_intent_id' => 'pi_3QxTESTa1b2c3d4e5f6g7h8',
        ]),
]);
$data = json_decode(curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) {
    throw new RuntimeException($data['error']['code'] . ': ' . $data['error']['message']);
}
python
import requests

headers = {
    "Authorization": "Bearer cal_pk_live_YOUR_KEY",
    "Content-Type": "application/json",
}
payload = {
    "payment_intent_id": "pi_3QxTESTa1b2c3d4e5f6g7h8",
}
res = requests.post("https://www.callyndar.com/api/v1/bookings/recover", headers=headers, json=payload)
data = res.json()
if not res.ok:
    raise RuntimeError(f"{data['error']['code']}: {data['error']['message']}")
Response
json
{
  "booking": {
    "id": "7c1e5a9d-3b2f-4e8a-9d6c-0b1a2c3d4e5f",
    "status": "confirmed",
    "date": "2026-12-04",
    "time": "14:30",
    "end_time": "15:15",
    "party_size": 1,
    "provider_id": "9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d",
    "extra_provider_ids": [],
    "services": [
      {
        "id": "5b6f0c3e-2a4d-4f1b-9c7e-1d2a3b4c5d6e",
        "name": "Knippen",
        "variant_id": null,
        "variant_name": null,
        "duration_minutes": 45,
        "price_cents": 4500
      }
    ],
    "deposit_paid": false,
    "company": {
      "name": "TEST Studio BV",
      "vat_number": "BE0123456749",
      "reference": "PO-2026-118"
    },
    "manage_url": "https://callyndar.com/r/7c1e5a9d-3b2f-4e8a-9d6c-0b1a2c3d4e5f"
  }
}

Specification

The machine-readable OpenAPI document.

This specification (OpenAPI 3.1)

GET/api/v1/openapi.json

No key needed.

No key needed.

Request
bash
curl 'https://www.callyndar.com/api/v1/openapi.json'
js
const res = await fetch('https://www.callyndar.com/api/v1/openapi.json', {
});
const data = await res.json();
if (!res.ok) throw new Error(`${data.error.code}: ${data.error.message}`);
php
<?php
$ch = curl_init('https://www.callyndar.com/api/v1/openapi.json');
curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
]);
$data = json_decode(curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
if ($status >= 400) {
    throw new RuntimeException($data['error']['code'] . ': ' . $data['error']['message']);
}
python
import requests

res = requests.get("https://www.callyndar.com/api/v1/openapi.json")
data = res.json()
if not res.ok:
    raise RuntimeError(f"{data['error']['code']}: {data['error']['message']}")
Response
json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Callyndar Booking API"
  },
  "paths": {}
}

This page as Markdown: /developers/en/reference.mdEverything in one file: /developers/en/llms-full.txt