API-Referenz

Public API v1

Deutsch · English · OpenAPI herunterladen · Browser-Tracking einbauen

API und Webhooks stehen allen Beta-Workspaces zur Verfügung. Betreiber können den Zugriff je Workspace sperren. Nach der Beta ist der Zugriff im Pro-Tarif vorgesehen.

Sende Authorization: Bearer <API-Key>. Keys werden unter Entwicklung angelegt und nur bei der Anlage angezeigt. Key-Verwaltung benötigt eine Owner-/Admin-Session; Cookie-Schreibzugriffe zusätzlich Origin, X-CSRF-Token und X-Workspace-Id.

Jeder schreibende Aufruf benötigt einen Idempotency-Key. Wiederhole bei unklarem Ergebnis denselben Schlüssel mit demselben Inhalt. Ein anderer Inhalt ergibt 409 idempotency_conflict.

Grenzen gelten je Key und Workspace. Bei 429 beachte Retry-After; RateLimit-Limit, RateLimit-Remaining und RateLimit-Reset beschreiben das geprüfte Budget. Fehler enthalten error.code und request_id.

Listen sind paginiert mit limit/offset. updated_since ist ein inklusiver Zeitpunkt mit explizitem Offset; verwende lead_id bzw. booking_id zum Deduplizieren überlappender Abfragen. Lead-Listen erlauben zusätzlich status und funnelId. Das Lead-Delta erfasst Lead-/Capture-Änderungen und die Anlage zugehöriger Buchungen; spätere Umbuchungen oder Stornierungen gehören zum Buchungs-Delta. GET /v1/bookings mit updated_since ist Beta, ohne Stabilitätszusage.

Die v1-Zusage umfasst Slots, Buchung anlegen/verschieben/stornieren, Leads anlegen/lesen und Funnels lesen. Weitere erreichbare Operationen sind Beta. Webhook-Verwaltung und Zustell-Log gehören zur stabilen v1-API; verwende read:webhooks bzw. write:webhooks.

Browser-Tracking: form_started (entfällt Headless), lead_captured und booking_confirmed sind unveränderliche Embed-/UI-Events in window.dataLayer. Nur event, funnel_id, mode, language, lead_id, booking_id; keine Kontaktangaben, Antworten oder Hashes. Standardmäßig gesperrt bis Consent Mode v2 analytics_storage ODER ad_storage freigibt oder setTrackingConsent(true) am geladenen Embed aufgerufen wird; false verwirft wartende und während der Ablehnung entstehende Events endgültig. Für Framer Cookie Banner und Borlabs ausdrücklich tracking-consent="callback" verwenden und gespeicherte Entscheidungen nach Reload erneut liefern; Herstellerrezepte: /docs?lang=de#tracking. tracking-consent="callback" ignoriert Consent-Befehle und nutzt ausschließlich echte Banner-Callbacks. Vor erster Zustimmung bleibt Tracking-Zustand nur im Arbeitsspeicher. tracking-consent="host" delegiert die Tag-Freigabe ausdrücklich an das GTM des Hosts; eigene Deduplizierungs-Marker dürfen dann über Reload gespeichert werden. GTM-Trigger: Benutzerdefiniertes Ereignis mit Regex ^(form_started|lead_captured|booking_confirmed)$. Retry/Reload werden in derselben Browsersitzung anhand Lead-/Booking-ID dedupliziert; ohne Sitzungsspeicher nur im Dokument. Framer-srcdoc nutzt den geprüften gleichursprünglichen Elternkontext und dessen Consent. Die gehostete Seite lädt keine Tag-IDs pro Funnel; ohne Host-Code/Consent-Anbindung bleiben ihre Events in M4 gesperrt im Arbeitsspeicher. Bei eigenem API-UI gelten dieselben Invarianten.

Browser-Tracking einbauen

Events und Payload

Die Events sind eine Invariante: nicht entfernen, umbenennen oder durch eigene Pushes duplizieren. form_started entsteht bei der ersten echten Feldänderung je Formularvorgang und entfällt Headless. lead_captured folgt der bestätigten Capture-Antwort oder validiertem Prefill; bei gemeinsamer Anlage kommt es vor booking_confirmed. booking_confirmed folgt der erfolgreichen Buchungsantwort, auch bei ausstehender Interessentenbestätigung. Erlaubt sind ausschließlich die sechs gezeigten Felder, unbekannte IDs sind null. Keine Kontaktdaten, Antworten, Hashes, Tokens, URLs oder Attribution ergänzen. Ein eigenes API-UI wahrt denselben Vertrag.

{
  event: 'booking_confirmed',
  funnel_id: 'fn_example',
  mode: 'calendar_first', // form_first | calendar_first | headless
  language: 'de',         // de | en
  lead_id: 'ld_example',
  booking_id: 'bk_example'
}

Callback-Modus und gespeicherte Entscheidungen

Framer Cookie Banner und Borlabs ausdrücklich mit tracking-consent="callback" anbinden. Ebenso CookieYes/Complianz-Varianten, die bei jedem Aufruf bereits für unentschiedene Besucher update denied senden, sowie reine GTM-CMP-Templates. Dieser Modus ignoriert Consent-Mode-Befehle. Echte Zustimmung zu Analytics oder Werbung liefert true, entschiedene Ablehnung beider false; bei noch fehlender Entscheidung erfolgt kein Aufruf. Ablehnung verwirft wartende und währenddessen entstehende Events. Gespeicherte Entscheidungen nach CMP-Bereitschaft und nach jedem Embed-Remount erneut liefern; beim Widerruf false. Hooks vor CMP-Start registrieren. Das Attribut vor der ersten Verbindung des Elements setzen. Ohne Callback bleibt das Embed gesperrt. Für ein natives Embed:

<booking-embed src="https://book.example.invalid/coach/intro"
  tracking-consent="callback"></booking-embed>
<script>
async function onActualBannerDecision(choice) {
  if (typeof choice !== 'boolean') return;
  await customElements.whenDefined('booking-embed');
  document.querySelector('booking-embed')?.setTrackingConsent?.(choice);
}
</script>

CookieYes

Für die Web-App bzw. das verbundene WordPress-Plugin: nach cookieyes_banner_load und cookieyes_consent_update lesen; erst isUserActionCompleted unterscheidet eine echte Entscheidung vom Erstbesuch. Das unverbundene WordPress-Plugin unterstützt diese Events nicht.

function syncCookieYes() {
  const consent = window.getCkyConsent?.();
  if (consent?.isUserActionCompleted === true)
    onActualBannerDecision(consent.categories.analytics === true ||
      consent.categories.advertisement === true);
}
document.addEventListener('cookieyes_banner_load', syncCookieYes);
document.addEventListener('cookieyes_consent_update', syncCookieYes);
syncCookieYes();

Herstellerdokumentation

Complianz

Gespeicherte Entscheidungen nach Banner-Bereitschaft und Statusänderung lesen; dismissed ist der Entscheidungsnachweis. Echten Widerruf als false melden. Bei älteren jQuery-basierten Versionen die Hooks entsprechend der installierten Version registrieren.

function syncComplianz() {
  if (window.cmplz_get_banner_status?.() !== 'dismissed') return;
  onActualBannerDecision(window.cmplz_has_consent('statistics') === true ||
    window.cmplz_has_consent('marketing') === true);
}
document.addEventListener('cmplz_cookie_warning_loaded', syncComplianz);
document.addEventListener('cmplz_status_change', syncComplianz);
document.addEventListener('cmplz_revoke', () => onActualBannerDecision(false));
syncComplianz();

Herstellerdokumentation

Borlabs 3

analyticsServiceId und adServiceId auf die eigenen Dienst-IDs setzen. consent-saved meldet eine echte Entscheidung. Nach after-init ist ein vorhandener gespeicherter Entscheid erneut zu liefern. hasSavedBorlabsDecision() im Beispiel ist ein vom Host zu implementierender Adapter, keine Borlabs-API: Die öffentliche v3-API hat keinen allgemeinen Hat-entschieden-Getter. hasConsent(...) === false allein kann auch Erstbesuch heißen. Den gespeicherten Entscheidungsnachweis der installierten Cookie-/CMP-Konfiguration verwenden; ohne verlässlichen Nachweis eine CMP mit dokumentierter Callback-/Restore-API einsetzen, nicht auf einen gtag-Default ausweichen.

function readBorlabsDecision() {
  const consents = window.BorlabsCookie?.Consents;
  if (!consents) return;
  onActualBannerDecision(consents.hasConsent(analyticsServiceId) ||
    consents.hasConsent(adServiceId));
}
window.addEventListener('borlabs-cookie-consent-saved', readBorlabsDecision);
window.addEventListener('borlabs-cookie-after-init', () => {
  // Implement using the saved-decision proof of YOUR installed CMP version.
  // false from hasConsent alone does not prove that a visitor decided.
  if (hasSavedBorlabsDecision()) readBorlabsDecision();
});

Herstellerdokumentation

Framer Cookie Banner und srcdoc

Die GTM-Container-ID im Banner ist Voraussetzung seiner Consent-Mode-Anbindung. Die allgemeine Framer-Anleitung dokumentiert keinen universellen JS-Callback. Im eigenen GTM-Adapter das tatsächlich gelieferte cookie_consent_update und den versionsabhängigen Nachweis der gespeicherten Entscheidung lesen: undefined = unentschieden, false = abgelehnt, true = Analytics oder Werbung erlaubt. default denied allein beweist keine Entscheidung. Ohne verlässlichen Nachweis eine CMP mit dokumentierter Callback-/Restore-API verwenden. Das Kind-Snippet enthält von Anfang an tracking-consent="callback". Für srcdoc den nativen onActualBannerDecision durch folgenden Elternseiten-Adapter ersetzen; #booking-frame durch den fest vergebenen Frame-Selektor ersetzen:

let currentChoice; // true | false | undefined; memory only
async function syncFramerEmbed() {
  const frame = document.querySelector('#booking-frame');
  try {
    const child = frame?.contentWindow;
    if (!child || frame.contentDocument?.URL !== 'about:srcdoc') return;
    await child.customElements.whenDefined('booking-embed');
    if (!frame.isConnected || frame.contentWindow !== child) return;
    if (typeof currentChoice === 'boolean')
      child.document.querySelector('booking-embed')?.setTrackingConsent?.(currentChoice);
  } catch { /* Unsupported/cross-origin frames stay gated. */ }
}
function onActualBannerDecision(choice) {
  if (typeof choice !== 'boolean') return;
  currentChoice = choice;
  void syncFramerEmbed();
}
// Bind this listener again to EVERY new frame created by the host.
document.querySelector('#booking-frame')?.addEventListener('load', syncFramerEmbed);
void syncFramerEmbed();

Herstellerdokumentation

Bridge-Grenzen und Remounts

Framer rendert regulär srcdoc ohne sandbox. Nur der direkte, vom Browser geprüfte gleichursprüngliche Elternkontext erhält Events; keine Broadcasts oder offenen postMessage-Kanäle. Opaque, fremde und verschachtelte Frames bleiben gesperrt. whenDefined im Elternfenster wartet nicht auf das Kind. Bei Navigation oder Breakpoint-Neuanlage Load-Listener am neuen Frame registrieren und den aktuellen CMP-Entscheid erneut liefern. Der Eltern-dataLayer und wartende Events überleben den entfernten Frame. Ohne nachfolgendes Embed gibt es keinen lokalen Gate-Listener zum Freigeben dieser Vormerkungen. Ein Trackingfehler verhindert keine Buchung.

Explizite Host-Delegation

Nur wenn das eigene GTM die Einwilligung der Tags vollständig steuert, ausdrücklich tracking-consent="host" setzen. Dann wird sofort gepusht; der Host verantwortet die Einwilligung. Eigene Deduplizierungsmarker dürfen auch vor separater Tracking-Freigabe gespeichert werden. Andere gesperrte Embeds erhalten dadurch weder Freigabe noch allgemeine Speicherung. Attribut vor der ersten Verbindung setzen. Kein Bestandteil des Standardsnippets.

<booking-embed src="https://book.example.invalid/coach/intro"
  tracking-consent="host"></booking-embed>

GTM-Trigger

Trigger: Benutzerdefiniertes Ereignis, regulären Ausdruck aktivieren und den folgenden Ausdruck verwenden. Data-Layer-Variablen für funnel_id, mode, language, lead_id und booking_id anlegen. GA4-/Conversion-Tags damit verbinden und deren Consent-Prüfungen erhalten; keine Kontaktfelder oder erweiterten Conversions ergänzen.

^(form_started|lead_captured|booking_confirmed)$

Gerätespeicher und Deduplizierung

booking-tracking:v1 im sessionStorage der Host-Origin (bei Framer der Eltern-Origin) enthält nur technische Formular-/Lead-/Booking-Anker und die Event-Allowlist, keine Kontaktdaten. Allgemeine Tracking-Schreibzugriffe erst nach erster Zustimmung; bei Host-Delegation nur eigene Marker. Consent-Freigaben bleiben flüchtig. Version 2 enthält nur delegierte sent/forms; Version 1 belegt eine frühere erste Zustimmung, niemals aktuelle Freigabe. Separat enthält booking:<funnel_id> den funktionalen Draft mit Kontaktdaten, Antworten und Capture-Receipt samt Lead-Capability, unabhängig von Tracking-Consent. Der funktionale Draft enthält außerdem den ursprünglichen Buchungsrequest (Kontaktdaten, Antworten, Attribution, gegebenenfalls Lead-Capability), Slot/Zone, Key, Erstellzeit und Frist für bewusste Wiederholung. Der optionale Header X-Booking-Attempt-Max-Age des öffentlichen GET liefert die konfigurierte Frist in Sekunden; abgelaufene Versuche werden verworfen. Ohne bekannte Frist bleibt ein inaktiver Entwurf: Nach Reload ist vor dem Versand eine bestätigte Frist nötig. Er wird nach erfolgreicher Buchung entfernt. Sonst reicht die Lebensdauer bis Tab-Ende bzw. Speicherlöschung. Ohne Sitzungsspeicher gilt Deduplizierung nur im Dokument. Ein Formularvorgang endet nach erfolgreicher Buchung. Je Funnel/Lead-ID ein Capture-Event, je Funnel/Booking-ID ein Booking-Event. Keine globale Exactly-once-Zustellgarantie.

Gehostete Seite und verlorene Antworten

Die gehostete Buchungsseite lädt keine Tag-IDs pro Funnel und bietet derzeit keinen Host-Code-/CMP-Einbau. Ihre Events bleiben ohne Consent-Anbindung im Arbeitsspeicher gesperrt. Tracking löst niemals Buchungen aus und sendet nach Reload nicht automatisch erneut. Geht die Antwort vor Bekanntwerden der Booking-ID verloren, kann Tracking das unbekannte Booking-Event nicht nachliefern.

WordPress, Webflow und veröffentlichte Seiten

Snippet in einen HTML-/Code-Block einfügen und JavaScript auf der veröffentlichten Seite erlauben. dataLayer und CMP gehören zu dieser Seite. Bei einer zusätzlichen Framer-Sandbox ist Same-Origin-Zugriff erforderlich. Alle drei Events erscheinen ausschließlich im Eltern-dataLayer. Die lokale Fixture ersetzt die Prüfung der veröffentlichten Zielseite nicht. GTM am Embed auf einer eigenen veröffentlichten Testseite prüfen: ?sandbox aktiviert dort keinen Testmodus, das Embed bucht regulär. Testbuchungen anschließend stornieren. window.bookingTracking.setConsent ist erst nach Bridge-Installation verfügbar und kein Bereitschaftssignal.

GTM-Vorschau-Checkliste

Den Event-Namen liefert die integrierte GTM-Variable Event. Unentschieden: keine Pushes. Zustimmung: wartende Events werden freigegeben. Ablehnung: wartende Events endgültig verworfen. Nach Ablehnung buchen, später zustimmen und neu laden: kein Nachholen (akzeptierte Origin-/Rückkehrgrenze unten beachten). Keine Kontaktfelder oder erweiterten Conversions ergänzen. Nach erfolgreicher Buchung und Reload keine doppelten Lead-/Booking-Events. Auf der veröffentlichten WordPress-, Webflow- bzw. Framer-Seite einschließlich Navigation und Breakpoints prüfen.

Grenze beim Zustimmen auf einer anderen Seite

Vor erster Zustimmung wird kein Ablehnungsmarker gespeichert (Ausnahme: ausdrücklich delegierte eigene Deduplizierungsmarker). Nach Ablehnung mitten im Formular, Zustimmung auf einer anderen Seite ohne Embed oder bei einem anderen Funnel und Rückkehr ist die frühere Ablehnung nicht mehr von früherer Unentschiedenheit unterscheidbar. Beim Bearbeiten des wiederhergestellten Formulars können form_started und lead_captured dann erscheinen, auch wenn die CMP ihre Zustimmung asynchron liefert. Diese Grenze ist bewusst akzeptiert; es gibt dafür keine Speicherung vor erster Zustimmung. Weiterhin vorhandene und erneut gelieferte Ablehnung verwirft die wiederhergestellten Anker wie bisher.

Stabil (v1)

GET /v1/funnels/{funnelId}/slots

getFunnelSlots

Berechtigungen: ["read:funnels"]

Anfrage und Antworten
{
  "operationId": "getFunnelSlots",
  "parameters": [
    {
      "schema": {
        "type": "string",
        "format": "date-time",
        "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
      },
      "in": "query",
      "name": "from",
      "required": true
    },
    {
      "schema": {
        "type": "string",
        "format": "date-time",
        "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
      },
      "in": "query",
      "name": "to",
      "required": true
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 100,
        "default": "UTC"
      },
      "in": "query",
      "name": "timeZone",
      "required": false
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 80
      },
      "in": "path",
      "name": "funnelId",
      "required": true
    },
    {
      "schema": {
        "type": "string"
      },
      "in": "header",
      "name": "x-workspace-id",
      "required": false,
      "description": "Workspace ID. Required for session authentication when the user has multiple memberships; must name one of their workspaces. API keys remain bound to their own workspace."
    }
  ],
  "security": [
    {
      "apiKey": []
    },
    {
      "session": []
    }
  ],
  "x-required-scopes": [
    "read:funnels"
  ],
  "x-public-api": true,
  "x-api-stability": "stable",
  "responses": {
    "200": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "required": [
              "slots"
            ],
            "properties": {
              "slots": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "start",
                    "end",
                    "timeZone",
                    "local"
                  ],
                  "properties": {
                    "start": {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                    },
                    "end": {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                    },
                    "timeZone": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 100
                    },
                    "local": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "date",
                        "time",
                        "offset"
                      ],
                      "properties": {
                        "date": {
                          "type": "string",
                          "format": "date"
                        },
                        "time": {
                          "type": "string",
                          "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                        },
                        "offset": {
                          "type": "string",
                          "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "401": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "403": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "404": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "409": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "410": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "413": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "415": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "422": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
      "headers": {
        "Retry-After": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Limit": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Remaining": {
          "schema": {
            "type": "integer",
            "minimum": 0
          }
        },
        "RateLimit-Reset": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "rate_limited"
                    ]
                  },
                  "message": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "500": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "503": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
Stabil (v1)

GET /v1/slots

getSlots

Berechtigungen: ["read:funnels"]

Anfrage und Antworten
{
  "operationId": "getSlots",
  "parameters": [
    {
      "schema": {
        "type": "string",
        "format": "date-time",
        "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
      },
      "in": "query",
      "name": "from",
      "required": true
    },
    {
      "schema": {
        "type": "string",
        "format": "date-time",
        "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
      },
      "in": "query",
      "name": "to",
      "required": true
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 100,
        "default": "UTC"
      },
      "in": "query",
      "name": "timeZone",
      "required": false
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 80
      },
      "in": "query",
      "name": "funnelId",
      "required": true
    },
    {
      "schema": {
        "type": "string"
      },
      "in": "header",
      "name": "x-workspace-id",
      "required": false,
      "description": "Workspace ID. Required for session authentication when the user has multiple memberships; must name one of their workspaces. API keys remain bound to their own workspace."
    }
  ],
  "security": [
    {
      "apiKey": []
    },
    {
      "session": []
    }
  ],
  "x-required-scopes": [
    "read:funnels"
  ],
  "x-public-api": true,
  "x-api-stability": "stable",
  "responses": {
    "200": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "required": [
              "slots"
            ],
            "properties": {
              "slots": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "start",
                    "end",
                    "timeZone",
                    "local"
                  ],
                  "properties": {
                    "start": {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                    },
                    "end": {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                    },
                    "timeZone": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 100
                    },
                    "local": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "date",
                        "time",
                        "offset"
                      ],
                      "properties": {
                        "date": {
                          "type": "string",
                          "format": "date"
                        },
                        "time": {
                          "type": "string",
                          "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                        },
                        "offset": {
                          "type": "string",
                          "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "401": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "403": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "404": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "409": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "410": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "413": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "415": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "422": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
      "headers": {
        "Retry-After": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Limit": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Remaining": {
          "schema": {
            "type": "integer",
            "minimum": 0
          }
        },
        "RateLimit-Reset": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "rate_limited"
                    ]
                  },
                  "message": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "500": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "503": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
Stabil (v1)

POST /v1/bookings

createBooking

Berechtigungen: ["write:bookings"]

Anfrage und Antworten
{
  "operationId": "createBooking",
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "funnelId",
            "start",
            "timeZone",
            "invitee",
            "consent"
          ],
          "properties": {
            "funnelId": {
              "type": "string",
              "minLength": 1,
              "maxLength": 80
            },
            "leadId": {
              "type": "string",
              "minLength": 1,
              "maxLength": 80
            },
            "leadToken": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            },
            "start": {
              "type": "string",
              "format": "date-time",
              "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
            },
            "timeZone": {
              "type": "string",
              "minLength": 1,
              "maxLength": 100
            },
            "invitee": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "name",
                "email"
              ],
              "properties": {
                "name": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 200
                },
                "email": {
                  "type": "string",
                  "format": "email",
                  "maxLength": 320
                },
                "phone": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 40
                }
              }
            },
            "consent": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "followup"
              ],
              "properties": {
                "followup": {
                  "type": "boolean"
                },
                "text": {
                  "type": "string",
                  "nullable": true,
                  "maxLength": 4000
                },
                "timestamp": {
                  "type": "string",
                  "format": "date-time",
                  "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$",
                  "nullable": true
                }
              }
            },
            "responses": {
              "type": "object",
              "additionalProperties": true
            },
            "attribution": {
              "type": "object",
              "additionalProperties": {
                "type": "string",
                "maxLength": 2000
              }
            },
            "formVersion": {
              "type": "integer",
              "minimum": 1
            }
          }
        }
      }
    }
  },
  "parameters": [
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "idempotency-key",
      "required": true
    },
    {
      "schema": {
        "type": "string"
      },
      "in": "header",
      "name": "x-workspace-id",
      "required": false,
      "description": "Workspace ID. Required for session authentication when the user has multiple memberships; must name one of their workspaces. API keys remain bound to their own workspace."
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "x-csrf-token",
      "required": false,
      "description": "Required for cookie session mutations; not required for API keys."
    }
  ],
  "security": [
    {
      "apiKey": []
    },
    {
      "session": []
    }
  ],
  "x-required-scopes": [
    "write:bookings"
  ],
  "x-public-api": true,
  "x-api-stability": "stable",
  "responses": {
    "201": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "id",
              "workspaceId",
              "funnelId",
              "hostId",
              "leadId",
              "start",
              "end",
              "timeZone",
              "inviteeTimeZone",
              "status",
              "createdAt",
              "formVersion"
            ],
            "properties": {
              "id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 80
              },
              "workspaceId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 80
              },
              "funnelId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 80
              },
              "hostId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 80
              },
              "teamId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 80
              },
              "leadId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 80
              },
              "start": {
                "type": "string",
                "format": "date-time",
                "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
              },
              "end": {
                "type": "string",
                "format": "date-time",
                "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
              },
              "timeZone": {
                "type": "string",
                "minLength": 1,
                "maxLength": 100
              },
              "inviteeTimeZone": {
                "type": "string",
                "minLength": 1,
                "maxLength": 100
              },
              "status": {
                "type": "string",
                "enum": [
                  "pending_confirmation",
                  "confirmed",
                  "rescheduled",
                  "cancelled",
                  "expired",
                  "completed",
                  "no_show"
                ]
              },
              "createdAt": {
                "type": "string",
                "format": "date-time",
                "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
              },
              "rescheduleUrl": {
                "type": "string",
                "format": "uri",
                "description": "Only returned with write:bookings."
              },
              "cancelUrl": {
                "type": "string",
                "format": "uri",
                "description": "Only returned with write:bookings."
              },
              "confirmationUrl": {
                "type": "string",
                "format": "uri",
                "description": "Only returned with write:bookings."
              },
              "confirmationExpiresAt": {
                "type": "string",
                "format": "date-time",
                "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
              },
              "bookingChangeHint": {
                "type": "string",
                "description": "Host-provided contact instruction when modification links are unavailable."
              },
              "meetingUrl": {
                "type": "string",
                "format": "uri"
              },
              "version": {
                "type": "integer",
                "minimum": 1
              },
              "updatedAt": {
                "type": "string",
                "format": "date-time",
                "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
              },
              "formVersion": {
                "type": "integer",
                "minimum": 1
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "401": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "403": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "404": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "409": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "410": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "413": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "415": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "422": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
      "headers": {
        "Retry-After": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Limit": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Remaining": {
          "schema": {
            "type": "integer",
            "minimum": 0
          }
        },
        "RateLimit-Reset": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "rate_limited"
                    ]
                  },
                  "message": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "500": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "503": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
Beta, ohne Stabilitätszusage

GET /v1/bookings

listBookings

Berechtigungen: ["read:bookings"]

Anfrage und Antworten
{
  "operationId": "listBookings",
  "parameters": [
    {
      "schema": {
        "type": "integer",
        "minimum": 1,
        "maximum": 100,
        "default": 25
      },
      "in": "query",
      "name": "limit",
      "required": false
    },
    {
      "schema": {
        "type": "integer",
        "minimum": 0,
        "maximum": 2147483647,
        "default": 0
      },
      "in": "query",
      "name": "offset",
      "required": false
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 80
      },
      "in": "query",
      "name": "leadId",
      "required": false
    },
    {
      "schema": {
        "type": "boolean"
      },
      "in": "query",
      "name": "invitation_failed",
      "required": false,
      "description": "Filter bookings whose latest invitation operation failed."
    },
    {
      "schema": {
        "type": "string",
        "maxLength": 200
      },
      "in": "query",
      "name": "search",
      "required": false,
      "description": "Case-insensitive substring match on invitee name, email or funnel name."
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 80
      },
      "in": "query",
      "name": "funnelId",
      "required": false
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 80
      },
      "in": "query",
      "name": "hostId",
      "required": false
    },
    {
      "schema": {
        "type": "string",
        "enum": [
          "pending_confirmation",
          "confirmed",
          "rescheduled",
          "cancelled",
          "expired",
          "completed",
          "no_show"
        ]
      },
      "in": "query",
      "name": "status",
      "required": false
    },
    {
      "schema": {
        "type": "string",
        "format": "date-time",
        "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
      },
      "in": "query",
      "name": "from",
      "required": false,
      "description": "Inclusive booking start."
    },
    {
      "schema": {
        "type": "string",
        "format": "date-time",
        "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
      },
      "in": "query",
      "name": "to",
      "required": false,
      "description": "Exclusive booking start."
    },
    {
      "schema": {
        "type": "string",
        "format": "date-time",
        "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
      },
      "in": "query",
      "name": "updated_since",
      "required": false,
      "description": "Inclusive update instant; creation time for legacy rows without updatedAt."
    },
    {
      "schema": {
        "type": "string",
        "enum": [
          "start",
          "created_at",
          "updated_at"
        ],
        "default": "start"
      },
      "in": "query",
      "name": "sort",
      "required": false
    },
    {
      "schema": {
        "type": "string",
        "enum": [
          "asc",
          "desc"
        ],
        "default": "asc"
      },
      "in": "query",
      "name": "order",
      "required": false
    },
    {
      "schema": {
        "type": "string"
      },
      "in": "header",
      "name": "x-workspace-id",
      "required": false,
      "description": "Workspace ID. Required for session authentication when the user has multiple memberships; must name one of their workspaces. API keys remain bound to their own workspace."
    }
  ],
  "security": [
    {
      "apiKey": []
    },
    {
      "session": []
    }
  ],
  "x-required-scopes": [
    "read:bookings"
  ],
  "x-public-api": true,
  "x-api-stability": "beta",
  "responses": {
    "200": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "data",
              "total",
              "limit",
              "offset"
            ],
            "properties": {
              "data": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "id",
                    "workspaceId",
                    "funnelId",
                    "hostId",
                    "leadId",
                    "start",
                    "end",
                    "timeZone",
                    "inviteeTimeZone",
                    "status",
                    "createdAt",
                    "formVersion",
                    "invitee",
                    "funnelName"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 80
                    },
                    "workspaceId": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 80
                    },
                    "funnelId": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 80
                    },
                    "hostId": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 80
                    },
                    "teamId": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 80
                    },
                    "leadId": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 80
                    },
                    "start": {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                    },
                    "end": {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                    },
                    "timeZone": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 100
                    },
                    "inviteeTimeZone": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 100
                    },
                    "status": {
                      "type": "string",
                      "enum": [
                        "pending_confirmation",
                        "confirmed",
                        "rescheduled",
                        "cancelled",
                        "expired",
                        "completed",
                        "no_show"
                      ]
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                    },
                    "rescheduleUrl": {
                      "type": "string",
                      "format": "uri",
                      "description": "Only returned with write:bookings."
                    },
                    "cancelUrl": {
                      "type": "string",
                      "format": "uri",
                      "description": "Only returned with write:bookings."
                    },
                    "confirmationUrl": {
                      "type": "string",
                      "format": "uri",
                      "description": "Only returned with write:bookings."
                    },
                    "confirmationExpiresAt": {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                    },
                    "bookingChangeHint": {
                      "type": "string",
                      "description": "Host-provided contact instruction when modification links are unavailable."
                    },
                    "meetingUrl": {
                      "type": "string",
                      "format": "uri"
                    },
                    "version": {
                      "type": "integer",
                      "minimum": 1
                    },
                    "updatedAt": {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                    },
                    "formVersion": {
                      "type": "integer",
                      "minimum": 1
                    },
                    "funnelName": {
                      "type": "string",
                      "description": "The booking's link name, including archived links."
                    },
                    "calendarDisconnected": {
                      "type": "boolean",
                      "description": "Calendar access ended when the host left the workspace. Synchronization is suspended, not terminally failed; the owner must reassign the booking."
                    },
                    "invitationFailed": {
                      "type": "boolean",
                      "description": "The latest invitation could not be delivered; shown only in the authenticated host listing."
                    },
                    "invitee": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "name",
                        "email"
                      ],
                      "properties": {
                        "name": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 200
                        },
                        "email": {
                          "type": "string",
                          "format": "email"
                        }
                      }
                    }
                  }
                }
              },
              "total": {
                "type": "integer",
                "minimum": 0,
                "maximum": 2147483647
              },
              "limit": {
                "type": "integer",
                "minimum": 0,
                "maximum": 2147483647
              },
              "offset": {
                "type": "integer",
                "minimum": 0,
                "maximum": 2147483647
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "401": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "403": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "404": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "409": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "410": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "413": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "415": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "422": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
      "headers": {
        "Retry-After": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Limit": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Remaining": {
          "schema": {
            "type": "integer",
            "minimum": 0
          }
        },
        "RateLimit-Reset": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "rate_limited"
                    ]
                  },
                  "message": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "500": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "503": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
Beta, ohne Stabilitätszusage

GET /v1/bookings/{bookingId}

getBooking

Berechtigungen: ["read:bookings"]

Anfrage und Antworten
{
  "operationId": "getBooking",
  "parameters": [
    {
      "schema": {
        "type": "string"
      },
      "in": "path",
      "name": "bookingId",
      "required": true
    },
    {
      "schema": {
        "type": "string"
      },
      "in": "header",
      "name": "x-workspace-id",
      "required": false,
      "description": "Workspace ID. Required for session authentication when the user has multiple memberships; must name one of their workspaces. API keys remain bound to their own workspace."
    }
  ],
  "security": [
    {
      "apiKey": []
    },
    {
      "session": []
    }
  ],
  "x-required-scopes": [
    "read:bookings"
  ],
  "x-public-api": true,
  "x-api-stability": "beta",
  "responses": {
    "200": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "id",
              "workspaceId",
              "funnelId",
              "hostId",
              "leadId",
              "start",
              "end",
              "timeZone",
              "inviteeTimeZone",
              "status",
              "createdAt",
              "formVersion"
            ],
            "properties": {
              "id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 80
              },
              "workspaceId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 80
              },
              "funnelId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 80
              },
              "hostId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 80
              },
              "teamId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 80
              },
              "leadId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 80
              },
              "start": {
                "type": "string",
                "format": "date-time",
                "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
              },
              "end": {
                "type": "string",
                "format": "date-time",
                "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
              },
              "timeZone": {
                "type": "string",
                "minLength": 1,
                "maxLength": 100
              },
              "inviteeTimeZone": {
                "type": "string",
                "minLength": 1,
                "maxLength": 100
              },
              "status": {
                "type": "string",
                "enum": [
                  "pending_confirmation",
                  "confirmed",
                  "rescheduled",
                  "cancelled",
                  "expired",
                  "completed",
                  "no_show"
                ]
              },
              "createdAt": {
                "type": "string",
                "format": "date-time",
                "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
              },
              "rescheduleUrl": {
                "type": "string",
                "format": "uri",
                "description": "Only returned with write:bookings."
              },
              "cancelUrl": {
                "type": "string",
                "format": "uri",
                "description": "Only returned with write:bookings."
              },
              "confirmationUrl": {
                "type": "string",
                "format": "uri",
                "description": "Only returned with write:bookings."
              },
              "confirmationExpiresAt": {
                "type": "string",
                "format": "date-time",
                "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
              },
              "bookingChangeHint": {
                "type": "string",
                "description": "Host-provided contact instruction when modification links are unavailable."
              },
              "meetingUrl": {
                "type": "string",
                "format": "uri"
              },
              "version": {
                "type": "integer",
                "minimum": 1
              },
              "updatedAt": {
                "type": "string",
                "format": "date-time",
                "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
              },
              "formVersion": {
                "type": "integer",
                "minimum": 1
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "401": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "403": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "404": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "409": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "410": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "413": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "415": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "422": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
      "headers": {
        "Retry-After": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Limit": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Remaining": {
          "schema": {
            "type": "integer",
            "minimum": 0
          }
        },
        "RateLimit-Reset": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "rate_limited"
                    ]
                  },
                  "message": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "500": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "503": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
Stabil (v1)

GET /v1/funnels/{funnelId}

getFunnel

Berechtigungen: ["read:funnels"]

Anfrage und Antworten
{
  "operationId": "getFunnel",
  "parameters": [
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 80
      },
      "in": "path",
      "name": "funnelId",
      "required": true
    },
    {
      "schema": {
        "type": "string"
      },
      "in": "header",
      "name": "x-workspace-id",
      "required": false,
      "description": "Workspace ID. Required for session authentication when the user has multiple memberships; must name one of their workspaces. API keys remain bound to their own workspace."
    }
  ],
  "security": [
    {
      "apiKey": []
    },
    {
      "session": []
    }
  ],
  "x-required-scopes": [
    "read:funnels"
  ],
  "x-public-api": true,
  "x-api-stability": "stable",
  "responses": {
    "200": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "required": [
              "id",
              "name",
              "durationMinutes",
              "formVersion",
              "phoneRequired"
            ],
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "timeZone": {
                "type": "string"
              },
              "teamId": {
                "type": "string"
              },
              "durationMinutes": {
                "type": "integer"
              },
              "formVersion": {
                "type": "integer"
              },
              "phoneRequired": {
                "type": "boolean"
              },
              "confirmationRequired": {
                "type": "boolean"
              },
              "rescheduleCutoffHours": {
                "type": "number",
                "minimum": 0,
                "description": "Invitee rescheduling cutoff in hours; zero allows rescheduling at any time. Applies to current and already-issued booking links."
              },
              "cancellationCutoffHours": {
                "type": "number",
                "minimum": 0,
                "description": "Invitee cancellation cutoff in hours; zero allows cancellation at any time. When absent, inherits rescheduleCutoffHours or the configured default."
              },
              "allowRescheduling": {
                "type": "boolean"
              },
              "allowCancellation": {
                "type": "boolean"
              },
              "bookingChangeHint": {
                "type": "string"
              },
              "locale": {
                "type": "string",
                "enum": [
                  "de",
                  "en"
                ]
              },
              "video": {
                "oneOf": [
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "kind"
                    ],
                    "properties": {
                      "kind": {
                        "type": "string",
                        "enum": [
                          "google_meet"
                        ]
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "kind",
                      "url"
                    ],
                    "properties": {
                      "kind": {
                        "type": "string",
                        "enum": [
                          "custom"
                        ]
                      },
                      "url": {
                        "type": "string",
                        "format": "uri"
                      }
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "401": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "403": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "404": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "409": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "410": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "413": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "415": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "422": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
      "headers": {
        "Retry-After": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Limit": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Remaining": {
          "schema": {
            "type": "integer",
            "minimum": 0
          }
        },
        "RateLimit-Reset": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "rate_limited"
                    ]
                  },
                  "message": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "500": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "503": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
Beta, ohne Stabilitätszusage

PATCH /v1/funnels/{funnelId}

updateFunnel

Every assigned host must have a non-empty name; otherwise returns 422 host_name_required.

Berechtigungen: ["write:funnels"]

Anfrage und Antworten
{
  "operationId": "updateFunnel",
  "description": "Every assigned host must have a non-empty name; otherwise returns 422 host_name_required.",
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "mode": {
              "type": "string",
              "enum": [
                "form_first",
                "calendar_first",
                "headless"
              ]
            },
            "captureAbandoned": {
              "type": "boolean",
              "description": "Available only in form_first. calendar_first and headless always use false and reject explicit true."
            },
            "bookingWindowDays": {
              "type": "integer",
              "minimum": 1,
              "maximum": 36500
            },
            "fields": {
              "type": "array",
              "maxItems": 100,
              "items": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "id",
                  "type",
                  "required",
                  "label"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "pattern": "^[a-z][a-z0-9_]{0,79}$"
                  },
                  "type": {
                    "type": "string",
                    "enum": [
                      "text",
                      "email",
                      "phone",
                      "select",
                      "multiselect",
                      "scale",
                      "number",
                      "textarea",
                      "boolean",
                      "consent"
                    ]
                  },
                  "required": {
                    "type": "boolean"
                  },
                  "hidden": {
                    "type": "boolean"
                  },
                  "label": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "de",
                      "en"
                    ],
                    "properties": {
                      "de": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      },
                      "en": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      }
                    }
                  },
                  "min": {
                    "type": "number",
                    "description": "Required integer lower bound for a scale; optional numeric lower bound for a number field."
                  },
                  "max": {
                    "type": "number",
                    "description": "Required integer upper bound greater than min for a scale; optional numeric upper bound for a number field."
                  },
                  "options": {
                    "type": "array",
                    "minItems": 1,
                    "maxItems": 100,
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "value",
                        "label"
                      ],
                      "properties": {
                        "value": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 80
                        },
                        "label": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "de",
                            "en"
                          ],
                          "properties": {
                            "de": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 2000
                            },
                            "en": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 2000
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            },
            "bookingCopy": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "headline",
                "subheadline",
                "submitLabel",
                "confirmation",
                "consent",
                "privacyLinkLabel",
                "privacyLinkSuffix",
                "captureNotice"
              ],
              "properties": {
                "headline": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "de",
                    "en"
                  ],
                  "properties": {
                    "de": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 2000
                    },
                    "en": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 2000
                    }
                  }
                },
                "subheadline": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "de",
                    "en"
                  ],
                  "properties": {
                    "de": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 2000
                    },
                    "en": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 2000
                    }
                  }
                },
                "submitLabel": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "de",
                    "en"
                  ],
                  "properties": {
                    "de": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 2000
                    },
                    "en": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 2000
                    }
                  }
                },
                "confirmation": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "de",
                    "en"
                  ],
                  "properties": {
                    "de": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 2000
                    },
                    "en": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 2000
                    }
                  }
                },
                "consent": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "de",
                    "en"
                  ],
                  "properties": {
                    "de": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 2000
                    },
                    "en": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 2000
                    }
                  }
                },
                "privacyLinkLabel": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "de",
                    "en"
                  ],
                  "properties": {
                    "de": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 2000
                    },
                    "en": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 2000
                    }
                  }
                },
                "privacyLinkSuffix": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "de",
                    "en"
                  ],
                  "properties": {
                    "de": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 2000
                    },
                    "en": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 2000
                    }
                  }
                },
                "captureNotice": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "de",
                    "en"
                  ],
                  "properties": {
                    "de": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 2000
                    },
                    "en": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 2000
                    }
                  }
                }
              }
            },
            "descriptionFormat": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "de",
                "en"
              ],
              "properties": {
                "de": {
                  "type": "string",
                  "enum": [
                    "plain",
                    "markdown"
                  ]
                },
                "en": {
                  "type": "string",
                  "enum": [
                    "plain",
                    "markdown"
                  ]
                }
              }
            },
            "name": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            },
            "labels": {
              "type": "array",
              "maxItems": 3,
              "items": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "name",
                  "color"
                ],
                "properties": {
                  "name": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 32
                  },
                  "color": {
                    "type": "string",
                    "enum": [
                      "blue",
                      "cyan",
                      "green",
                      "orange",
                      "pink",
                      "purple",
                      "gray"
                    ]
                  }
                }
              }
            },
            "slug": {
              "type": "string",
              "minLength": 1,
              "maxLength": 63,
              "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$"
            },
            "hostId": {
              "type": "string",
              "minLength": 1,
              "maxLength": 80
            },
            "teamId": {
              "type": "string",
              "minLength": 1,
              "maxLength": 80
            },
            "availabilityProfileId": {
              "type": "string",
              "minLength": 1,
              "maxLength": 80,
              "nullable": true
            },
            "availability": {
              "type": "array",
              "items": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "days",
                  "startTime",
                  "endTime"
                ],
                "properties": {
                  "days": {
                    "type": "array",
                    "minItems": 1,
                    "items": {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 6
                    }
                  },
                  "startTime": {
                    "type": "string",
                    "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                  },
                  "endTime": {
                    "type": "string",
                    "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                  }
                }
              },
              "nullable": true,
              "deprecated": true,
              "description": "Unsupported. Select an availability profile with availabilityProfileId instead (422)."
            },
            "durationMinutes": {
              "type": "integer",
              "minimum": 1,
              "maximum": 2147483647
            },
            "intervalMinutes": {
              "type": "integer",
              "minimum": 1,
              "maximum": 2147483647
            },
            "bufferBeforeMinutes": {
              "type": "integer",
              "minimum": 0,
              "maximum": 2147483647
            },
            "bufferAfterMinutes": {
              "type": "integer",
              "minimum": 0,
              "maximum": 2147483647
            },
            "minimumNoticeMinutes": {
              "type": "integer",
              "minimum": 0,
              "maximum": 2147483647
            },
            "maxBookingsPerDay": {
              "type": "integer",
              "minimum": 1,
              "maximum": 2147483647
            },
            "phoneRequired": {
              "type": "boolean"
            },
            "confirmationRequired": {
              "type": "boolean",
              "description": "Require invitee confirmation before the configured expiry; an unconfirmed booking expires and releases its slot."
            },
            "locale": {
              "type": "string",
              "enum": [
                "de",
                "en"
              ]
            },
            "rescheduleCutoffHours": {
              "type": "number",
              "minimum": 0,
              "description": "Invitee rescheduling cutoff in hours. Zero permits rescheduling at any time."
            },
            "cancellationCutoffHours": {
              "type": "number",
              "minimum": 0,
              "description": "Invitee cancellation cutoff in hours. Zero permits cancellation at any time. When omitted on creation, inherits the rescheduling cutoff; existing settings are preserved on updates."
            },
            "allowRescheduling": {
              "type": "boolean",
              "description": "Allow invitees to reschedule, subject to the change cutoff. Defaults to true; hosts are exempt."
            },
            "allowCancellation": {
              "type": "boolean",
              "description": "Allow invitees to cancel, subject to the change cutoff. Defaults to true; hosts are exempt."
            },
            "bookingChangeHint": {
              "type": "string",
              "minLength": 1,
              "maxLength": 2000
            },
            "video": {
              "oneOf": [
                {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "kind"
                  ],
                  "properties": {
                    "kind": {
                      "type": "string",
                      "enum": [
                        "google_meet"
                      ]
                    }
                  }
                },
                {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "kind",
                    "url"
                  ],
                  "properties": {
                    "kind": {
                      "type": "string",
                      "enum": [
                        "custom"
                      ]
                    },
                    "url": {
                      "type": "string",
                      "format": "uri",
                      "pattern": "^https://",
                      "maxLength": 2000
                    }
                  }
                }
              ]
            }
          }
        }
      }
    }
  },
  "parameters": [
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 80
      },
      "in": "path",
      "name": "funnelId",
      "required": true
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "idempotency-key",
      "required": true
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 2048
      },
      "in": "header",
      "name": "x-booking-token",
      "required": false
    },
    {
      "schema": {
        "type": "string"
      },
      "in": "header",
      "name": "x-workspace-id",
      "required": false,
      "description": "Workspace ID. Required for session authentication when the user has multiple memberships; must name one of their workspaces. API keys remain bound to their own workspace."
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "x-csrf-token",
      "required": false,
      "description": "Required for cookie session mutations; not required for API keys."
    }
  ],
  "security": [
    {
      "apiKey": []
    },
    {
      "session": []
    }
  ],
  "x-required-scopes": [
    "write:funnels"
  ],
  "x-public-api": true,
  "x-api-stability": "beta",
  "responses": {
    "200": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "id",
              "workspaceId",
              "createdAt",
              "name",
              "slug",
              "publicationStatus",
              "publicUrl",
              "durationMinutes",
              "intervalMinutes",
              "bufferBeforeMinutes",
              "bufferAfterMinutes",
              "minimumNoticeMinutes",
              "maxBookingsPerDay",
              "phoneRequired",
              "confirmationRequired",
              "locale",
              "rescheduleCutoffHours",
              "formVersion",
              "availabilityProfileId",
              "mode",
              "captureAbandoned",
              "bookingWindowDays",
              "fields",
              "bookingCopy"
            ],
            "properties": {
              "mode": {
                "type": "string",
                "enum": [
                  "form_first",
                  "calendar_first",
                  "headless"
                ]
              },
              "captureAbandoned": {
                "type": "boolean",
                "description": "Available only in form_first. calendar_first and headless always use false and reject explicit true."
              },
              "bookingWindowDays": {
                "type": "integer",
                "minimum": 1,
                "maximum": 36500
              },
              "fields": {
                "type": "array",
                "maxItems": 100,
                "items": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "id",
                    "type",
                    "required",
                    "label"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "pattern": "^[a-z][a-z0-9_]{0,79}$"
                    },
                    "type": {
                      "type": "string",
                      "enum": [
                        "text",
                        "email",
                        "phone",
                        "select",
                        "multiselect",
                        "scale",
                        "number",
                        "textarea",
                        "boolean",
                        "consent"
                      ]
                    },
                    "required": {
                      "type": "boolean"
                    },
                    "hidden": {
                      "type": "boolean"
                    },
                    "label": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "de",
                        "en"
                      ],
                      "properties": {
                        "de": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 2000
                        },
                        "en": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 2000
                        }
                      }
                    },
                    "min": {
                      "type": "number",
                      "description": "Required integer lower bound for a scale; optional numeric lower bound for a number field."
                    },
                    "max": {
                      "type": "number",
                      "description": "Required integer upper bound greater than min for a scale; optional numeric upper bound for a number field."
                    },
                    "options": {
                      "type": "array",
                      "minItems": 1,
                      "maxItems": 100,
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "value",
                          "label"
                        ],
                        "properties": {
                          "value": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 80
                          },
                          "label": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "de",
                              "en"
                            ],
                            "properties": {
                              "de": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 2000
                              },
                              "en": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 2000
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              },
              "bookingCopy": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "headline",
                  "subheadline",
                  "submitLabel",
                  "confirmation",
                  "consent",
                  "privacyLinkLabel",
                  "privacyLinkSuffix",
                  "captureNotice"
                ],
                "properties": {
                  "headline": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "de",
                      "en"
                    ],
                    "properties": {
                      "de": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      },
                      "en": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      }
                    }
                  },
                  "subheadline": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "de",
                      "en"
                    ],
                    "properties": {
                      "de": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      },
                      "en": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      }
                    }
                  },
                  "submitLabel": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "de",
                      "en"
                    ],
                    "properties": {
                      "de": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      },
                      "en": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      }
                    }
                  },
                  "confirmation": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "de",
                      "en"
                    ],
                    "properties": {
                      "de": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      },
                      "en": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      }
                    }
                  },
                  "consent": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "de",
                      "en"
                    ],
                    "properties": {
                      "de": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      },
                      "en": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      }
                    }
                  },
                  "privacyLinkLabel": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "de",
                      "en"
                    ],
                    "properties": {
                      "de": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      },
                      "en": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      }
                    }
                  },
                  "privacyLinkSuffix": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "de",
                      "en"
                    ],
                    "properties": {
                      "de": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      },
                      "en": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      }
                    }
                  },
                  "captureNotice": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "de",
                      "en"
                    ],
                    "properties": {
                      "de": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      },
                      "en": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      }
                    }
                  }
                }
              },
              "descriptionFormat": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "de",
                  "en"
                ],
                "properties": {
                  "de": {
                    "type": "string",
                    "enum": [
                      "plain",
                      "markdown"
                    ]
                  },
                  "en": {
                    "type": "string",
                    "enum": [
                      "plain",
                      "markdown"
                    ]
                  }
                }
              },
              "name": {
                "type": "string",
                "minLength": 1,
                "maxLength": 200
              },
              "labels": {
                "type": "array",
                "maxItems": 3,
                "items": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "name",
                    "color"
                  ],
                  "properties": {
                    "name": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 32
                    },
                    "color": {
                      "type": "string",
                      "enum": [
                        "blue",
                        "cyan",
                        "green",
                        "orange",
                        "pink",
                        "purple",
                        "gray"
                      ]
                    }
                  }
                }
              },
              "slug": {
                "type": "string",
                "minLength": 1,
                "maxLength": 63,
                "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
                "nullable": true
              },
              "hostId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 80
              },
              "teamId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 80
              },
              "availabilityProfileId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 80,
                "nullable": true
              },
              "durationMinutes": {
                "type": "integer",
                "minimum": 1,
                "maximum": 2147483647
              },
              "intervalMinutes": {
                "type": "integer",
                "minimum": 1,
                "maximum": 2147483647
              },
              "bufferBeforeMinutes": {
                "type": "integer",
                "minimum": 0,
                "maximum": 2147483647
              },
              "bufferAfterMinutes": {
                "type": "integer",
                "minimum": 0,
                "maximum": 2147483647
              },
              "minimumNoticeMinutes": {
                "type": "integer",
                "minimum": 0,
                "maximum": 2147483647
              },
              "maxBookingsPerDay": {
                "type": "integer",
                "minimum": 1,
                "maximum": 2147483647
              },
              "phoneRequired": {
                "type": "boolean"
              },
              "confirmationRequired": {
                "type": "boolean",
                "description": "Require invitee confirmation before the configured expiry; an unconfirmed booking expires and releases its slot."
              },
              "locale": {
                "type": "string",
                "enum": [
                  "de",
                  "en"
                ]
              },
              "rescheduleCutoffHours": {
                "type": "number",
                "minimum": 0,
                "description": "Invitee rescheduling cutoff in hours. Zero permits rescheduling at any time."
              },
              "cancellationCutoffHours": {
                "type": "number",
                "minimum": 0,
                "description": "Invitee cancellation cutoff in hours. Zero permits cancellation at any time. When omitted on creation, inherits the rescheduling cutoff; existing settings are preserved on updates."
              },
              "allowRescheduling": {
                "type": "boolean",
                "description": "Allow invitees to reschedule, subject to the change cutoff. Defaults to true; hosts are exempt."
              },
              "allowCancellation": {
                "type": "boolean",
                "description": "Allow invitees to cancel, subject to the change cutoff. Defaults to true; hosts are exempt."
              },
              "bookingChangeHint": {
                "type": "string",
                "minLength": 1,
                "maxLength": 2000
              },
              "video": {
                "oneOf": [
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "kind"
                    ],
                    "properties": {
                      "kind": {
                        "type": "string",
                        "enum": [
                          "google_meet"
                        ]
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "kind",
                      "url"
                    ],
                    "properties": {
                      "kind": {
                        "type": "string",
                        "enum": [
                          "custom"
                        ]
                      },
                      "url": {
                        "type": "string",
                        "format": "uri",
                        "pattern": "^https://",
                        "maxLength": 2000
                      }
                    }
                  }
                ]
              },
              "publicationStatus": {
                "type": "string",
                "enum": [
                  "draft",
                  "published"
                ]
              },
              "publicUrl": {
                "type": "string",
                "nullable": true,
                "format": "uri"
              },
              "templateId": {
                "type": "string",
                "enum": [
                  "coaching_intro"
                ]
              },
              "id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 80
              },
              "workspaceId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 80
              },
              "createdAt": {
                "type": "string",
                "format": "date-time",
                "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
              },
              "formVersion": {
                "type": "integer",
                "minimum": 1,
                "maximum": 2147483647
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "401": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "403": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "404": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "409": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "410": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "413": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "415": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "422": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
      "headers": {
        "Retry-After": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Limit": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Remaining": {
          "schema": {
            "type": "integer",
            "minimum": 0
          }
        },
        "RateLimit-Reset": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "rate_limited"
                    ]
                  },
                  "message": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "500": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "503": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
Beta, ohne Stabilitätszusage

DELETE /v1/funnels/{funnelId}

deleteFunnel

Removes the booking link while retaining existing leads and bookings.

Berechtigungen: ["write:funnels"]

Anfrage und Antworten
{
  "operationId": "deleteFunnel",
  "description": "Removes the booking link while retaining existing leads and bookings.",
  "parameters": [
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 80
      },
      "in": "path",
      "name": "funnelId",
      "required": true
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "idempotency-key",
      "required": true
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 2048
      },
      "in": "header",
      "name": "x-booking-token",
      "required": false
    },
    {
      "schema": {
        "type": "string"
      },
      "in": "header",
      "name": "x-workspace-id",
      "required": false,
      "description": "Workspace ID. Required for session authentication when the user has multiple memberships; must name one of their workspaces. API keys remain bound to their own workspace."
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "x-csrf-token",
      "required": false,
      "description": "Required for cookie session mutations; not required for API keys."
    }
  ],
  "security": [
    {
      "apiKey": []
    },
    {
      "session": []
    }
  ],
  "x-required-scopes": [
    "write:funnels"
  ],
  "x-public-api": true,
  "x-api-stability": "beta",
  "responses": {
    "200": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "id",
              "workspaceId",
              "createdAt",
              "name",
              "slug",
              "publicationStatus",
              "publicUrl",
              "durationMinutes",
              "intervalMinutes",
              "bufferBeforeMinutes",
              "bufferAfterMinutes",
              "minimumNoticeMinutes",
              "maxBookingsPerDay",
              "phoneRequired",
              "confirmationRequired",
              "locale",
              "rescheduleCutoffHours",
              "formVersion",
              "availabilityProfileId",
              "mode",
              "captureAbandoned",
              "bookingWindowDays",
              "fields",
              "bookingCopy"
            ],
            "properties": {
              "mode": {
                "type": "string",
                "enum": [
                  "form_first",
                  "calendar_first",
                  "headless"
                ]
              },
              "captureAbandoned": {
                "type": "boolean",
                "description": "Available only in form_first. calendar_first and headless always use false and reject explicit true."
              },
              "bookingWindowDays": {
                "type": "integer",
                "minimum": 1,
                "maximum": 36500
              },
              "fields": {
                "type": "array",
                "maxItems": 100,
                "items": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "id",
                    "type",
                    "required",
                    "label"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "pattern": "^[a-z][a-z0-9_]{0,79}$"
                    },
                    "type": {
                      "type": "string",
                      "enum": [
                        "text",
                        "email",
                        "phone",
                        "select",
                        "multiselect",
                        "scale",
                        "number",
                        "textarea",
                        "boolean",
                        "consent"
                      ]
                    },
                    "required": {
                      "type": "boolean"
                    },
                    "hidden": {
                      "type": "boolean"
                    },
                    "label": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "de",
                        "en"
                      ],
                      "properties": {
                        "de": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 2000
                        },
                        "en": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 2000
                        }
                      }
                    },
                    "min": {
                      "type": "number",
                      "description": "Required integer lower bound for a scale; optional numeric lower bound for a number field."
                    },
                    "max": {
                      "type": "number",
                      "description": "Required integer upper bound greater than min for a scale; optional numeric upper bound for a number field."
                    },
                    "options": {
                      "type": "array",
                      "minItems": 1,
                      "maxItems": 100,
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "value",
                          "label"
                        ],
                        "properties": {
                          "value": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 80
                          },
                          "label": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "de",
                              "en"
                            ],
                            "properties": {
                              "de": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 2000
                              },
                              "en": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 2000
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              },
              "bookingCopy": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "headline",
                  "subheadline",
                  "submitLabel",
                  "confirmation",
                  "consent",
                  "privacyLinkLabel",
                  "privacyLinkSuffix",
                  "captureNotice"
                ],
                "properties": {
                  "headline": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "de",
                      "en"
                    ],
                    "properties": {
                      "de": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      },
                      "en": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      }
                    }
                  },
                  "subheadline": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "de",
                      "en"
                    ],
                    "properties": {
                      "de": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      },
                      "en": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      }
                    }
                  },
                  "submitLabel": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "de",
                      "en"
                    ],
                    "properties": {
                      "de": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      },
                      "en": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      }
                    }
                  },
                  "confirmation": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "de",
                      "en"
                    ],
                    "properties": {
                      "de": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      },
                      "en": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      }
                    }
                  },
                  "consent": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "de",
                      "en"
                    ],
                    "properties": {
                      "de": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      },
                      "en": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      }
                    }
                  },
                  "privacyLinkLabel": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "de",
                      "en"
                    ],
                    "properties": {
                      "de": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      },
                      "en": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      }
                    }
                  },
                  "privacyLinkSuffix": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "de",
                      "en"
                    ],
                    "properties": {
                      "de": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      },
                      "en": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      }
                    }
                  },
                  "captureNotice": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "de",
                      "en"
                    ],
                    "properties": {
                      "de": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      },
                      "en": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      }
                    }
                  }
                }
              },
              "descriptionFormat": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "de",
                  "en"
                ],
                "properties": {
                  "de": {
                    "type": "string",
                    "enum": [
                      "plain",
                      "markdown"
                    ]
                  },
                  "en": {
                    "type": "string",
                    "enum": [
                      "plain",
                      "markdown"
                    ]
                  }
                }
              },
              "name": {
                "type": "string",
                "minLength": 1,
                "maxLength": 200
              },
              "labels": {
                "type": "array",
                "maxItems": 3,
                "items": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "name",
                    "color"
                  ],
                  "properties": {
                    "name": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 32
                    },
                    "color": {
                      "type": "string",
                      "enum": [
                        "blue",
                        "cyan",
                        "green",
                        "orange",
                        "pink",
                        "purple",
                        "gray"
                      ]
                    }
                  }
                }
              },
              "slug": {
                "type": "string",
                "minLength": 1,
                "maxLength": 63,
                "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
                "nullable": true
              },
              "hostId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 80
              },
              "teamId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 80
              },
              "availabilityProfileId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 80,
                "nullable": true
              },
              "durationMinutes": {
                "type": "integer",
                "minimum": 1,
                "maximum": 2147483647
              },
              "intervalMinutes": {
                "type": "integer",
                "minimum": 1,
                "maximum": 2147483647
              },
              "bufferBeforeMinutes": {
                "type": "integer",
                "minimum": 0,
                "maximum": 2147483647
              },
              "bufferAfterMinutes": {
                "type": "integer",
                "minimum": 0,
                "maximum": 2147483647
              },
              "minimumNoticeMinutes": {
                "type": "integer",
                "minimum": 0,
                "maximum": 2147483647
              },
              "maxBookingsPerDay": {
                "type": "integer",
                "minimum": 1,
                "maximum": 2147483647
              },
              "phoneRequired": {
                "type": "boolean"
              },
              "confirmationRequired": {
                "type": "boolean",
                "description": "Require invitee confirmation before the configured expiry; an unconfirmed booking expires and releases its slot."
              },
              "locale": {
                "type": "string",
                "enum": [
                  "de",
                  "en"
                ]
              },
              "rescheduleCutoffHours": {
                "type": "number",
                "minimum": 0,
                "description": "Invitee rescheduling cutoff in hours. Zero permits rescheduling at any time."
              },
              "cancellationCutoffHours": {
                "type": "number",
                "minimum": 0,
                "description": "Invitee cancellation cutoff in hours. Zero permits cancellation at any time. When omitted on creation, inherits the rescheduling cutoff; existing settings are preserved on updates."
              },
              "allowRescheduling": {
                "type": "boolean",
                "description": "Allow invitees to reschedule, subject to the change cutoff. Defaults to true; hosts are exempt."
              },
              "allowCancellation": {
                "type": "boolean",
                "description": "Allow invitees to cancel, subject to the change cutoff. Defaults to true; hosts are exempt."
              },
              "bookingChangeHint": {
                "type": "string",
                "minLength": 1,
                "maxLength": 2000
              },
              "video": {
                "oneOf": [
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "kind"
                    ],
                    "properties": {
                      "kind": {
                        "type": "string",
                        "enum": [
                          "google_meet"
                        ]
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "kind",
                      "url"
                    ],
                    "properties": {
                      "kind": {
                        "type": "string",
                        "enum": [
                          "custom"
                        ]
                      },
                      "url": {
                        "type": "string",
                        "format": "uri",
                        "pattern": "^https://",
                        "maxLength": 2000
                      }
                    }
                  }
                ]
              },
              "publicationStatus": {
                "type": "string",
                "enum": [
                  "draft",
                  "published"
                ]
              },
              "publicUrl": {
                "type": "string",
                "nullable": true,
                "format": "uri"
              },
              "templateId": {
                "type": "string",
                "enum": [
                  "coaching_intro"
                ]
              },
              "id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 80
              },
              "workspaceId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 80
              },
              "createdAt": {
                "type": "string",
                "format": "date-time",
                "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
              },
              "formVersion": {
                "type": "integer",
                "minimum": 1,
                "maximum": 2147483647
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "401": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "403": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "404": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "409": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "410": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "413": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "415": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "422": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
      "headers": {
        "Retry-After": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Limit": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Remaining": {
          "schema": {
            "type": "integer",
            "minimum": 0
          }
        },
        "RateLimit-Reset": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "rate_limited"
                    ]
                  },
                  "message": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "500": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "503": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
Beta, ohne Stabilitätszusage

POST /v1/integrations/google/connect

connectGoogleCalendar

Berechtigungen: ["write:bookings"]

Anfrage und Antworten
{
  "operationId": "connectGoogleCalendar",
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "properties": {},
          "additionalProperties": false
        }
      }
    }
  },
  "parameters": [
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "idempotency-key",
      "required": true
    },
    {
      "schema": {
        "type": "string"
      },
      "in": "header",
      "name": "x-workspace-id",
      "required": false,
      "description": "Workspace ID. Required for session authentication when the user has multiple memberships; must name one of their workspaces. API keys remain bound to their own workspace."
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "x-csrf-token",
      "required": false,
      "description": "Required for cookie session mutations; not required for API keys."
    }
  ],
  "security": [
    {
      "apiKey": []
    },
    {
      "session": []
    }
  ],
  "x-required-scopes": [
    "write:bookings"
  ],
  "x-public-api": true,
  "x-api-stability": "beta",
  "responses": {
    "201": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "authorizationUrl",
              "expiresAt"
            ],
            "properties": {
              "authorizationUrl": {
                "type": "string",
                "format": "uri"
              },
              "expiresAt": {
                "type": "string",
                "format": "date-time"
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "401": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "403": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "404": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "409": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "410": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "413": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "415": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "422": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
      "headers": {
        "Retry-After": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Limit": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Remaining": {
          "schema": {
            "type": "integer",
            "minimum": 0
          }
        },
        "RateLimit-Reset": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "rate_limited"
                    ]
                  },
                  "message": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "500": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "503": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
Beta, ohne Stabilitätszusage

GET /v1/integrations/google

getGoogleCalendarConnection

Berechtigungen: ["read:bookings"]

Anfrage und Antworten
{
  "operationId": "getGoogleCalendarConnection",
  "parameters": [
    {
      "schema": {
        "type": "string"
      },
      "in": "header",
      "name": "x-workspace-id",
      "required": false,
      "description": "Workspace ID. Required for session authentication when the user has multiple memberships; must name one of their workspaces. API keys remain bound to their own workspace."
    }
  ],
  "security": [
    {
      "apiKey": []
    },
    {
      "session": []
    }
  ],
  "x-required-scopes": [
    "read:bookings"
  ],
  "x-public-api": true,
  "x-api-stability": "beta",
  "responses": {
    "200": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "connected"
            ],
            "properties": {
              "connected": {
                "type": "boolean"
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "401": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "403": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "404": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "409": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "410": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "413": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "415": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "422": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
      "headers": {
        "Retry-After": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Limit": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Remaining": {
          "schema": {
            "type": "integer",
            "minimum": 0
          }
        },
        "RateLimit-Reset": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "rate_limited"
                    ]
                  },
                  "message": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "500": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "503": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
Beta, ohne Stabilitätszusage

POST /v1/hosts/{hostId}/google/connect

connectHostGoogleCalendar

Berechtigungen: ["write:hosts"]

Anfrage und Antworten
{
  "operationId": "connectHostGoogleCalendar",
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "additionalProperties": false,
          "properties": {}
        }
      }
    }
  },
  "parameters": [
    {
      "schema": {
        "type": "string",
        "pattern": "^hs_[0-7][0-9A-HJKMNP-TV-Z]{25}$"
      },
      "in": "path",
      "name": "hostId",
      "required": true
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "idempotency-key",
      "required": true
    },
    {
      "schema": {
        "type": "string"
      },
      "in": "header",
      "name": "x-workspace-id",
      "required": false,
      "description": "Workspace ID. Required for session authentication when the user has multiple memberships; must name one of their workspaces. API keys remain bound to their own workspace."
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "x-csrf-token",
      "required": false,
      "description": "Required for cookie session mutations; not required for API keys."
    }
  ],
  "security": [
    {
      "apiKey": []
    },
    {
      "session": []
    }
  ],
  "x-required-scopes": [
    "write:hosts"
  ],
  "x-public-api": true,
  "x-api-stability": "beta",
  "responses": {
    "201": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "required": [
              "authorizationUrl",
              "expiresAt"
            ],
            "properties": {
              "authorizationUrl": {
                "type": "string",
                "format": "uri"
              },
              "expiresAt": {
                "type": "string",
                "format": "date-time"
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "401": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "403": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "404": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "409": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "410": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "413": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "415": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "422": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
      "headers": {
        "Retry-After": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Limit": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Remaining": {
          "schema": {
            "type": "integer",
            "minimum": 0
          }
        },
        "RateLimit-Reset": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "rate_limited"
                    ]
                  },
                  "message": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "500": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "503": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
Beta, ohne Stabilitätszusage

GET /v1/hosts/{hostId}/google

getHostGoogleCalendarConnection

Berechtigungen: ["read:hosts"]

Anfrage und Antworten
{
  "operationId": "getHostGoogleCalendarConnection",
  "parameters": [
    {
      "schema": {
        "type": "string",
        "pattern": "^hs_[0-7][0-9A-HJKMNP-TV-Z]{25}$"
      },
      "in": "path",
      "name": "hostId",
      "required": true
    },
    {
      "schema": {
        "type": "string"
      },
      "in": "header",
      "name": "x-workspace-id",
      "required": false,
      "description": "Workspace ID. Required for session authentication when the user has multiple memberships; must name one of their workspaces. API keys remain bound to their own workspace."
    }
  ],
  "security": [
    {
      "apiKey": []
    },
    {
      "session": []
    }
  ],
  "x-required-scopes": [
    "read:hosts"
  ],
  "x-public-api": true,
  "x-api-stability": "beta",
  "responses": {
    "200": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "connected"
            ],
            "properties": {
              "connected": {
                "type": "boolean"
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "401": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "403": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "404": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "409": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "410": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "413": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "415": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "422": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
      "headers": {
        "Retry-After": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Limit": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Remaining": {
          "schema": {
            "type": "integer",
            "minimum": 0
          }
        },
        "RateLimit-Reset": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "rate_limited"
                    ]
                  },
                  "message": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "500": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "503": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
Beta, ohne Stabilitätszusage

POST /v1/bookings/{bookingId}/confirm

confirmBooking

Berechtigungen: ["write:bookings"]

Anfrage und Antworten
{
  "operationId": "confirmBooking",
  "parameters": [
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 80
      },
      "in": "path",
      "name": "bookingId",
      "required": true
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "idempotency-key",
      "required": true
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 2048
      },
      "in": "header",
      "name": "x-booking-token",
      "required": false
    },
    {
      "schema": {
        "type": "string"
      },
      "in": "header",
      "name": "x-workspace-id",
      "required": false,
      "description": "Workspace ID. Required for session authentication when the user has multiple memberships; must name one of their workspaces. API keys remain bound to their own workspace."
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "x-csrf-token",
      "required": false,
      "description": "Required for cookie session mutations; not required for API keys."
    }
  ],
  "security": [
    {
      "apiKey": []
    },
    {
      "bookingLink": []
    },
    {
      "session": []
    }
  ],
  "x-required-scopes": [
    "write:bookings"
  ],
  "x-booking-link-action": "confirm",
  "x-public-api": true,
  "x-api-stability": "beta",
  "responses": {
    "200": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "id",
              "workspaceId",
              "funnelId",
              "hostId",
              "leadId",
              "start",
              "end",
              "timeZone",
              "inviteeTimeZone",
              "status",
              "createdAt",
              "formVersion"
            ],
            "properties": {
              "id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 80
              },
              "workspaceId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 80
              },
              "funnelId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 80
              },
              "hostId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 80
              },
              "teamId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 80
              },
              "leadId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 80
              },
              "start": {
                "type": "string",
                "format": "date-time",
                "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
              },
              "end": {
                "type": "string",
                "format": "date-time",
                "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
              },
              "timeZone": {
                "type": "string",
                "minLength": 1,
                "maxLength": 100
              },
              "inviteeTimeZone": {
                "type": "string",
                "minLength": 1,
                "maxLength": 100
              },
              "status": {
                "type": "string",
                "enum": [
                  "pending_confirmation",
                  "confirmed",
                  "rescheduled",
                  "cancelled",
                  "expired",
                  "completed",
                  "no_show"
                ]
              },
              "createdAt": {
                "type": "string",
                "format": "date-time",
                "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
              },
              "rescheduleUrl": {
                "type": "string",
                "format": "uri",
                "description": "Only returned with write:bookings."
              },
              "cancelUrl": {
                "type": "string",
                "format": "uri",
                "description": "Only returned with write:bookings."
              },
              "confirmationUrl": {
                "type": "string",
                "format": "uri",
                "description": "Only returned with write:bookings."
              },
              "confirmationExpiresAt": {
                "type": "string",
                "format": "date-time",
                "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
              },
              "bookingChangeHint": {
                "type": "string",
                "description": "Host-provided contact instruction when modification links are unavailable."
              },
              "meetingUrl": {
                "type": "string",
                "format": "uri"
              },
              "version": {
                "type": "integer",
                "minimum": 1
              },
              "updatedAt": {
                "type": "string",
                "format": "date-time",
                "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
              },
              "formVersion": {
                "type": "integer",
                "minimum": 1
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "401": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "403": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "404": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "409": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "410": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "413": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "415": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "422": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
      "headers": {
        "Retry-After": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Limit": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Remaining": {
          "schema": {
            "type": "integer",
            "minimum": 0
          }
        },
        "RateLimit-Reset": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "rate_limited"
                    ]
                  },
                  "message": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "500": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "503": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
Stabil (v1)

POST /v1/bookings/{bookingId}/cancel

cancelBooking

Berechtigungen: ["write:bookings"]

Anfrage und Antworten
{
  "operationId": "cancelBooking",
  "parameters": [
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 80
      },
      "in": "path",
      "name": "bookingId",
      "required": true
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "idempotency-key",
      "required": true
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 2048
      },
      "in": "header",
      "name": "x-booking-token",
      "required": false
    },
    {
      "schema": {
        "type": "string"
      },
      "in": "header",
      "name": "x-workspace-id",
      "required": false,
      "description": "Workspace ID. Required for session authentication when the user has multiple memberships; must name one of their workspaces. API keys remain bound to their own workspace."
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "x-csrf-token",
      "required": false,
      "description": "Required for cookie session mutations; not required for API keys."
    }
  ],
  "security": [
    {
      "apiKey": []
    },
    {
      "bookingLink": []
    },
    {
      "session": []
    }
  ],
  "x-required-scopes": [
    "write:bookings"
  ],
  "x-booking-link-action": "cancel",
  "x-public-api": true,
  "x-api-stability": "stable",
  "responses": {
    "200": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "id",
              "workspaceId",
              "funnelId",
              "hostId",
              "leadId",
              "start",
              "end",
              "timeZone",
              "inviteeTimeZone",
              "status",
              "createdAt",
              "formVersion"
            ],
            "properties": {
              "id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 80
              },
              "workspaceId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 80
              },
              "funnelId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 80
              },
              "hostId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 80
              },
              "teamId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 80
              },
              "leadId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 80
              },
              "start": {
                "type": "string",
                "format": "date-time",
                "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
              },
              "end": {
                "type": "string",
                "format": "date-time",
                "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
              },
              "timeZone": {
                "type": "string",
                "minLength": 1,
                "maxLength": 100
              },
              "inviteeTimeZone": {
                "type": "string",
                "minLength": 1,
                "maxLength": 100
              },
              "status": {
                "type": "string",
                "enum": [
                  "pending_confirmation",
                  "confirmed",
                  "rescheduled",
                  "cancelled",
                  "expired",
                  "completed",
                  "no_show"
                ]
              },
              "createdAt": {
                "type": "string",
                "format": "date-time",
                "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
              },
              "rescheduleUrl": {
                "type": "string",
                "format": "uri",
                "description": "Only returned with write:bookings."
              },
              "cancelUrl": {
                "type": "string",
                "format": "uri",
                "description": "Only returned with write:bookings."
              },
              "confirmationUrl": {
                "type": "string",
                "format": "uri",
                "description": "Only returned with write:bookings."
              },
              "confirmationExpiresAt": {
                "type": "string",
                "format": "date-time",
                "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
              },
              "bookingChangeHint": {
                "type": "string",
                "description": "Host-provided contact instruction when modification links are unavailable."
              },
              "meetingUrl": {
                "type": "string",
                "format": "uri"
              },
              "version": {
                "type": "integer",
                "minimum": 1
              },
              "updatedAt": {
                "type": "string",
                "format": "date-time",
                "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
              },
              "formVersion": {
                "type": "integer",
                "minimum": 1
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "401": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "403": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "404": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "409": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "410": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "413": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "415": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "422": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
      "headers": {
        "Retry-After": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Limit": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Remaining": {
          "schema": {
            "type": "integer",
            "minimum": 0
          }
        },
        "RateLimit-Reset": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "rate_limited"
                    ]
                  },
                  "message": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "500": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "503": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
Stabil (v1)

POST /v1/bookings/{bookingId}/reschedule

rescheduleBooking

Berechtigungen: ["write:bookings"]

Anfrage und Antworten
{
  "operationId": "rescheduleBooking",
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "start",
            "timeZone"
          ],
          "properties": {
            "start": {
              "type": "string",
              "format": "date-time",
              "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
            },
            "timeZone": {
              "type": "string",
              "minLength": 1,
              "maxLength": 100
            }
          }
        }
      }
    }
  },
  "parameters": [
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 80
      },
      "in": "path",
      "name": "bookingId",
      "required": true
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "idempotency-key",
      "required": true
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 2048
      },
      "in": "header",
      "name": "x-booking-token",
      "required": false
    },
    {
      "schema": {
        "type": "string"
      },
      "in": "header",
      "name": "x-workspace-id",
      "required": false,
      "description": "Workspace ID. Required for session authentication when the user has multiple memberships; must name one of their workspaces. API keys remain bound to their own workspace."
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "x-csrf-token",
      "required": false,
      "description": "Required for cookie session mutations; not required for API keys."
    }
  ],
  "security": [
    {
      "apiKey": []
    },
    {
      "bookingLink": []
    },
    {
      "session": []
    }
  ],
  "x-required-scopes": [
    "write:bookings"
  ],
  "x-booking-link-action": "reschedule",
  "x-public-api": true,
  "x-api-stability": "stable",
  "responses": {
    "200": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "id",
              "workspaceId",
              "funnelId",
              "hostId",
              "leadId",
              "start",
              "end",
              "timeZone",
              "inviteeTimeZone",
              "status",
              "createdAt",
              "formVersion"
            ],
            "properties": {
              "id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 80
              },
              "workspaceId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 80
              },
              "funnelId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 80
              },
              "hostId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 80
              },
              "teamId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 80
              },
              "leadId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 80
              },
              "start": {
                "type": "string",
                "format": "date-time",
                "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
              },
              "end": {
                "type": "string",
                "format": "date-time",
                "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
              },
              "timeZone": {
                "type": "string",
                "minLength": 1,
                "maxLength": 100
              },
              "inviteeTimeZone": {
                "type": "string",
                "minLength": 1,
                "maxLength": 100
              },
              "status": {
                "type": "string",
                "enum": [
                  "pending_confirmation",
                  "confirmed",
                  "rescheduled",
                  "cancelled",
                  "expired",
                  "completed",
                  "no_show"
                ]
              },
              "createdAt": {
                "type": "string",
                "format": "date-time",
                "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
              },
              "rescheduleUrl": {
                "type": "string",
                "format": "uri",
                "description": "Only returned with write:bookings."
              },
              "cancelUrl": {
                "type": "string",
                "format": "uri",
                "description": "Only returned with write:bookings."
              },
              "confirmationUrl": {
                "type": "string",
                "format": "uri",
                "description": "Only returned with write:bookings."
              },
              "confirmationExpiresAt": {
                "type": "string",
                "format": "date-time",
                "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
              },
              "bookingChangeHint": {
                "type": "string",
                "description": "Host-provided contact instruction when modification links are unavailable."
              },
              "meetingUrl": {
                "type": "string",
                "format": "uri"
              },
              "version": {
                "type": "integer",
                "minimum": 1
              },
              "updatedAt": {
                "type": "string",
                "format": "date-time",
                "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
              },
              "formVersion": {
                "type": "integer",
                "minimum": 1
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "401": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "403": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "404": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "409": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "410": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "413": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "415": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "422": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
      "headers": {
        "Retry-After": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Limit": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Remaining": {
          "schema": {
            "type": "integer",
            "minimum": 0
          }
        },
        "RateLimit-Reset": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "rate_limited"
                    ]
                  },
                  "message": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "500": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "503": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
Stabil (v1)

GET /v1/webhooks/capabilities

getWebhookCapabilities

Webhook availability for the current workspace, including the operator's workspace restriction. The global rollout defaults to disabled.

Berechtigungen: ["read:webhooks"]

Anfrage und Antworten
{
  "operationId": "getWebhookCapabilities",
  "tags": [
    "webhooks"
  ],
  "description": "Webhook availability for the current workspace, including the operator's workspace restriction. The global rollout defaults to disabled.",
  "parameters": [
    {
      "schema": {
        "type": "string"
      },
      "in": "header",
      "name": "x-workspace-id",
      "required": false,
      "description": "Workspace ID. Required for session authentication when the user has multiple memberships; must name one of their workspaces. API keys remain bound to their own workspace."
    }
  ],
  "security": [
    {
      "apiKey": []
    },
    {
      "session": []
    }
  ],
  "x-required-scopes": [
    "read:webhooks"
  ],
  "x-public-api": true,
  "x-api-stability": "stable",
  "responses": {
    "200": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "required": [
              "enabled"
            ],
            "properties": {
              "enabled": {
                "type": "boolean"
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "401": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "403": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "404": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "409": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "410": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "413": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "415": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "422": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
      "headers": {
        "Retry-After": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Limit": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Remaining": {
          "schema": {
            "type": "integer",
            "minimum": 0
          }
        },
        "RateLimit-Reset": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "rate_limited"
                    ]
                  },
                  "message": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "500": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "503": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
Stabil (v1)

GET /v1/webhooks

listWebhookEndpoints

Berechtigungen: ["read:webhooks"]

Anfrage und Antworten
{
  "operationId": "listWebhookEndpoints",
  "tags": [
    "webhooks"
  ],
  "parameters": [
    {
      "schema": {
        "type": "integer",
        "minimum": 1,
        "maximum": 100
      },
      "in": "query",
      "name": "limit",
      "required": false
    },
    {
      "schema": {
        "type": "integer",
        "minimum": 0,
        "maximum": 2147483647
      },
      "in": "query",
      "name": "offset",
      "required": false
    },
    {
      "schema": {
        "type": "string"
      },
      "in": "header",
      "name": "x-workspace-id",
      "required": false,
      "description": "Workspace ID. Required for session authentication when the user has multiple memberships; must name one of their workspaces. API keys remain bound to their own workspace."
    }
  ],
  "security": [
    {
      "apiKey": []
    },
    {
      "session": []
    }
  ],
  "x-required-scopes": [
    "read:webhooks"
  ],
  "x-public-api": true,
  "x-api-stability": "stable",
  "responses": {
    "200": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "required": [
              "data",
              "total",
              "limit",
              "offset"
            ],
            "properties": {
              "data": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "id",
                    "url",
                    "events",
                    "status",
                    "createdAt",
                    "updatedAt",
                    "deletedAt"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "pattern": "^we_[0-7][0-9A-HJKMNP-TV-Z]{25}$"
                    },
                    "url": {
                      "type": "string",
                      "format": "uri"
                    },
                    "events": {
                      "type": "array",
                      "minItems": 1,
                      "uniqueItems": true,
                      "items": {
                        "type": "string",
                        "enum": [
                          "lead.captured",
                          "lead.abandoned",
                          "lead.converted",
                          "booking.created",
                          "booking.rescheduled",
                          "booking.cancelled",
                          "booking.confirmed_by_invitee",
                          "booking.expired",
                          "booking.completed"
                        ]
                      },
                      "description": "Events to deliver. Omitting this on creation subscribes to all nine available events. lead.disqualified and booking.no_show are reserved and cannot be selected yet."
                    },
                    "status": {
                      "type": "string",
                      "enum": [
                        "active",
                        "paused"
                      ]
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                    },
                    "updatedAt": {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                    },
                    "deletedAt": {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$",
                      "nullable": true
                    }
                  }
                }
              },
              "total": {
                "type": "integer"
              },
              "limit": {
                "type": "integer"
              },
              "offset": {
                "type": "integer"
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "401": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "403": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "404": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "409": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "410": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "413": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "415": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "422": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
      "headers": {
        "Retry-After": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Limit": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Remaining": {
          "schema": {
            "type": "integer",
            "minimum": 0
          }
        },
        "RateLimit-Reset": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "rate_limited"
                    ]
                  },
                  "message": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "500": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "503": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
Stabil (v1)

POST /v1/webhooks

createWebhookEndpoint

Creates an active endpoint. Only subsequent events are eligible. The returned secret is shown once; idempotent retries return the same result.

Berechtigungen: ["write:webhooks"]

Anfrage und Antworten
{
  "operationId": "createWebhookEndpoint",
  "tags": [
    "webhooks"
  ],
  "description": "Creates an active endpoint. Only subsequent events are eligible. The returned secret is shown once; idempotent retries return the same result.",
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "url"
          ],
          "properties": {
            "url": {
              "type": "string",
              "format": "uri",
              "maxLength": 2048,
              "description": "Public HTTPS destination without credentials or fragments. DNS and SSRF checks run on registration, URL changes and every delivery attempt. Redirects are never followed."
            },
            "events": {
              "type": "array",
              "minItems": 1,
              "uniqueItems": true,
              "items": {
                "type": "string",
                "enum": [
                  "lead.captured",
                  "lead.abandoned",
                  "lead.converted",
                  "booking.created",
                  "booking.rescheduled",
                  "booking.cancelled",
                  "booking.confirmed_by_invitee",
                  "booking.expired",
                  "booking.completed"
                ]
              },
              "description": "Events to deliver. Omitting this on creation subscribes to all nine available events. lead.disqualified and booking.no_show are reserved and cannot be selected yet."
            }
          }
        }
      }
    }
  },
  "parameters": [
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "idempotency-key",
      "required": true
    },
    {
      "schema": {
        "type": "string"
      },
      "in": "header",
      "name": "x-workspace-id",
      "required": false,
      "description": "Workspace ID. Required for session authentication when the user has multiple memberships; must name one of their workspaces. API keys remain bound to their own workspace."
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "x-csrf-token",
      "required": false,
      "description": "Required for cookie session mutations; not required for API keys."
    }
  ],
  "security": [
    {
      "apiKey": []
    },
    {
      "session": []
    }
  ],
  "x-required-scopes": [
    "write:webhooks"
  ],
  "x-public-api": true,
  "x-api-stability": "stable",
  "responses": {
    "201": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "endpoint",
              "secret"
            ],
            "properties": {
              "endpoint": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "id",
                  "url",
                  "events",
                  "status",
                  "createdAt",
                  "updatedAt",
                  "deletedAt"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "pattern": "^we_[0-7][0-9A-HJKMNP-TV-Z]{25}$"
                  },
                  "url": {
                    "type": "string",
                    "format": "uri"
                  },
                  "events": {
                    "type": "array",
                    "minItems": 1,
                    "uniqueItems": true,
                    "items": {
                      "type": "string",
                      "enum": [
                        "lead.captured",
                        "lead.abandoned",
                        "lead.converted",
                        "booking.created",
                        "booking.rescheduled",
                        "booking.cancelled",
                        "booking.confirmed_by_invitee",
                        "booking.expired",
                        "booking.completed"
                      ]
                    },
                    "description": "Events to deliver. Omitting this on creation subscribes to all nine available events. lead.disqualified and booking.no_show are reserved and cannot be selected yet."
                  },
                  "status": {
                    "type": "string",
                    "enum": [
                      "active",
                      "paused"
                    ]
                  },
                  "createdAt": {
                    "type": "string",
                    "format": "date-time",
                    "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                  },
                  "updatedAt": {
                    "type": "string",
                    "format": "date-time",
                    "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                  },
                  "deletedAt": {
                    "type": "string",
                    "format": "date-time",
                    "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$",
                    "nullable": true
                  }
                }
              },
              "secret": {
                "type": "string",
                "description": "Shown only when creating or rotating the secret, including an idempotent replay of that request. Use this entire UTF-8 string for HMAC; do not Base64-decode it."
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "401": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "403": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "404": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "409": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "410": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "413": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "415": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "422": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
      "headers": {
        "Retry-After": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Limit": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Remaining": {
          "schema": {
            "type": "integer",
            "minimum": 0
          }
        },
        "RateLimit-Reset": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "rate_limited"
                    ]
                  },
                  "message": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "500": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "503": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
Stabil (v1)

GET /v1/webhooks/{endpointId}

getWebhookEndpoint

Berechtigungen: ["read:webhooks"]

Anfrage und Antworten
{
  "operationId": "getWebhookEndpoint",
  "tags": [
    "webhooks"
  ],
  "parameters": [
    {
      "schema": {
        "type": "string",
        "pattern": "^we_[0-7][0-9A-HJKMNP-TV-Z]{25}$"
      },
      "in": "path",
      "name": "endpointId",
      "required": true
    },
    {
      "schema": {
        "type": "string"
      },
      "in": "header",
      "name": "x-workspace-id",
      "required": false,
      "description": "Workspace ID. Required for session authentication when the user has multiple memberships; must name one of their workspaces. API keys remain bound to their own workspace."
    }
  ],
  "security": [
    {
      "apiKey": []
    },
    {
      "session": []
    }
  ],
  "x-required-scopes": [
    "read:webhooks"
  ],
  "x-public-api": true,
  "x-api-stability": "stable",
  "responses": {
    "200": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "id",
              "url",
              "events",
              "status",
              "createdAt",
              "updatedAt",
              "deletedAt"
            ],
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^we_[0-7][0-9A-HJKMNP-TV-Z]{25}$"
              },
              "url": {
                "type": "string",
                "format": "uri"
              },
              "events": {
                "type": "array",
                "minItems": 1,
                "uniqueItems": true,
                "items": {
                  "type": "string",
                  "enum": [
                    "lead.captured",
                    "lead.abandoned",
                    "lead.converted",
                    "booking.created",
                    "booking.rescheduled",
                    "booking.cancelled",
                    "booking.confirmed_by_invitee",
                    "booking.expired",
                    "booking.completed"
                  ]
                },
                "description": "Events to deliver. Omitting this on creation subscribes to all nine available events. lead.disqualified and booking.no_show are reserved and cannot be selected yet."
              },
              "status": {
                "type": "string",
                "enum": [
                  "active",
                  "paused"
                ]
              },
              "createdAt": {
                "type": "string",
                "format": "date-time",
                "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
              },
              "updatedAt": {
                "type": "string",
                "format": "date-time",
                "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
              },
              "deletedAt": {
                "type": "string",
                "format": "date-time",
                "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$",
                "nullable": true
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "401": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "403": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "404": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "409": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "410": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "413": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "415": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "422": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
      "headers": {
        "Retry-After": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Limit": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Remaining": {
          "schema": {
            "type": "integer",
            "minimum": 0
          }
        },
        "RateLimit-Reset": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "rate_limited"
                    ]
                  },
                  "message": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "500": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "503": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
Stabil (v1)

PATCH /v1/webhooks/{endpointId}

updateWebhookEndpoint

Berechtigungen: ["write:webhooks"]

Anfrage und Antworten
{
  "operationId": "updateWebhookEndpoint",
  "tags": [
    "webhooks"
  ],
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "additionalProperties": false,
          "minProperties": 1,
          "properties": {
            "url": {
              "type": "string",
              "format": "uri",
              "maxLength": 2048,
              "description": "Public HTTPS destination without credentials or fragments. DNS and SSRF checks run on registration, URL changes and every delivery attempt. Redirects are never followed."
            },
            "events": {
              "type": "array",
              "minItems": 1,
              "uniqueItems": true,
              "items": {
                "type": "string",
                "enum": [
                  "lead.captured",
                  "lead.abandoned",
                  "lead.converted",
                  "booking.created",
                  "booking.rescheduled",
                  "booking.cancelled",
                  "booking.confirmed_by_invitee",
                  "booking.expired",
                  "booking.completed"
                ]
              },
              "description": "Events to deliver. Omitting this on creation subscribes to all nine available events. lead.disqualified and booking.no_show are reserved and cannot be selected yet."
            },
            "status": {
              "type": "string",
              "enum": [
                "active",
                "paused"
              ]
            }
          }
        }
      }
    }
  },
  "parameters": [
    {
      "schema": {
        "type": "string",
        "pattern": "^we_[0-7][0-9A-HJKMNP-TV-Z]{25}$"
      },
      "in": "path",
      "name": "endpointId",
      "required": true
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "idempotency-key",
      "required": true
    },
    {
      "schema": {
        "type": "string"
      },
      "in": "header",
      "name": "x-workspace-id",
      "required": false,
      "description": "Workspace ID. Required for session authentication when the user has multiple memberships; must name one of their workspaces. API keys remain bound to their own workspace."
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "x-csrf-token",
      "required": false,
      "description": "Required for cookie session mutations; not required for API keys."
    }
  ],
  "security": [
    {
      "apiKey": []
    },
    {
      "session": []
    }
  ],
  "x-required-scopes": [
    "write:webhooks"
  ],
  "x-public-api": true,
  "x-api-stability": "stable",
  "responses": {
    "200": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "id",
              "url",
              "events",
              "status",
              "createdAt",
              "updatedAt",
              "deletedAt"
            ],
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^we_[0-7][0-9A-HJKMNP-TV-Z]{25}$"
              },
              "url": {
                "type": "string",
                "format": "uri"
              },
              "events": {
                "type": "array",
                "minItems": 1,
                "uniqueItems": true,
                "items": {
                  "type": "string",
                  "enum": [
                    "lead.captured",
                    "lead.abandoned",
                    "lead.converted",
                    "booking.created",
                    "booking.rescheduled",
                    "booking.cancelled",
                    "booking.confirmed_by_invitee",
                    "booking.expired",
                    "booking.completed"
                  ]
                },
                "description": "Events to deliver. Omitting this on creation subscribes to all nine available events. lead.disqualified and booking.no_show are reserved and cannot be selected yet."
              },
              "status": {
                "type": "string",
                "enum": [
                  "active",
                  "paused"
                ]
              },
              "createdAt": {
                "type": "string",
                "format": "date-time",
                "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
              },
              "updatedAt": {
                "type": "string",
                "format": "date-time",
                "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
              },
              "deletedAt": {
                "type": "string",
                "format": "date-time",
                "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$",
                "nullable": true
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "401": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "403": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "404": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "409": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "410": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "413": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "415": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "422": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
      "headers": {
        "Retry-After": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Limit": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Remaining": {
          "schema": {
            "type": "integer",
            "minimum": 0
          }
        },
        "RateLimit-Reset": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "rate_limited"
                    ]
                  },
                  "message": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "500": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "503": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
Stabil (v1)

DELETE /v1/webhooks/{endpointId}

deleteWebhookEndpoint

Stops future delivery while preserving the delivery history.

Berechtigungen: ["write:webhooks"]

Anfrage und Antworten
{
  "operationId": "deleteWebhookEndpoint",
  "tags": [
    "webhooks"
  ],
  "description": "Stops future delivery while preserving the delivery history.",
  "parameters": [
    {
      "schema": {
        "type": "string",
        "pattern": "^we_[0-7][0-9A-HJKMNP-TV-Z]{25}$"
      },
      "in": "path",
      "name": "endpointId",
      "required": true
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "idempotency-key",
      "required": true
    },
    {
      "schema": {
        "type": "string"
      },
      "in": "header",
      "name": "x-workspace-id",
      "required": false,
      "description": "Workspace ID. Required for session authentication when the user has multiple memberships; must name one of their workspaces. API keys remain bound to their own workspace."
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "x-csrf-token",
      "required": false,
      "description": "Required for cookie session mutations; not required for API keys."
    }
  ],
  "security": [
    {
      "apiKey": []
    },
    {
      "session": []
    }
  ],
  "x-required-scopes": [
    "write:webhooks"
  ],
  "x-public-api": true,
  "x-api-stability": "stable",
  "responses": {
    "200": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "required": [
              "id",
              "deletedAt"
            ],
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^we_[0-7][0-9A-HJKMNP-TV-Z]{25}$"
              },
              "deletedAt": {
                "type": "string",
                "format": "date-time",
                "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "401": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "403": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "404": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "409": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "410": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "413": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "415": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "422": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
      "headers": {
        "Retry-After": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Limit": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Remaining": {
          "schema": {
            "type": "integer",
            "minimum": 0
          }
        },
        "RateLimit-Reset": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "rate_limited"
                    ]
                  },
                  "message": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "500": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "503": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
Stabil (v1)

POST /v1/webhooks/{endpointId}/rotate-secret

rotateWebhookSecret

Replaces the endpoint secret immediately. An already running attempt may still use the previous secret; accept both during receiver rollout. Only this response reveals the new secret.

Berechtigungen: ["write:webhooks"]

Anfrage und Antworten
{
  "operationId": "rotateWebhookSecret",
  "tags": [
    "webhooks"
  ],
  "description": "Replaces the endpoint secret immediately. An already running attempt may still use the previous secret; accept both during receiver rollout. Only this response reveals the new secret.",
  "parameters": [
    {
      "schema": {
        "type": "string",
        "pattern": "^we_[0-7][0-9A-HJKMNP-TV-Z]{25}$"
      },
      "in": "path",
      "name": "endpointId",
      "required": true
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "idempotency-key",
      "required": true
    },
    {
      "schema": {
        "type": "string"
      },
      "in": "header",
      "name": "x-workspace-id",
      "required": false,
      "description": "Workspace ID. Required for session authentication when the user has multiple memberships; must name one of their workspaces. API keys remain bound to their own workspace."
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "x-csrf-token",
      "required": false,
      "description": "Required for cookie session mutations; not required for API keys."
    }
  ],
  "security": [
    {
      "apiKey": []
    },
    {
      "session": []
    }
  ],
  "x-required-scopes": [
    "write:webhooks"
  ],
  "x-public-api": true,
  "x-api-stability": "stable",
  "responses": {
    "200": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "endpoint",
              "secret"
            ],
            "properties": {
              "endpoint": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "id",
                  "url",
                  "events",
                  "status",
                  "createdAt",
                  "updatedAt",
                  "deletedAt"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "pattern": "^we_[0-7][0-9A-HJKMNP-TV-Z]{25}$"
                  },
                  "url": {
                    "type": "string",
                    "format": "uri"
                  },
                  "events": {
                    "type": "array",
                    "minItems": 1,
                    "uniqueItems": true,
                    "items": {
                      "type": "string",
                      "enum": [
                        "lead.captured",
                        "lead.abandoned",
                        "lead.converted",
                        "booking.created",
                        "booking.rescheduled",
                        "booking.cancelled",
                        "booking.confirmed_by_invitee",
                        "booking.expired",
                        "booking.completed"
                      ]
                    },
                    "description": "Events to deliver. Omitting this on creation subscribes to all nine available events. lead.disqualified and booking.no_show are reserved and cannot be selected yet."
                  },
                  "status": {
                    "type": "string",
                    "enum": [
                      "active",
                      "paused"
                    ]
                  },
                  "createdAt": {
                    "type": "string",
                    "format": "date-time",
                    "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                  },
                  "updatedAt": {
                    "type": "string",
                    "format": "date-time",
                    "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                  },
                  "deletedAt": {
                    "type": "string",
                    "format": "date-time",
                    "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$",
                    "nullable": true
                  }
                }
              },
              "secret": {
                "type": "string",
                "description": "Shown only when creating or rotating the secret, including an idempotent replay of that request. Use this entire UTF-8 string for HMAC; do not Base64-decode it."
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "401": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "403": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "404": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "409": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "410": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "413": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "415": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "422": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
      "headers": {
        "Retry-After": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Limit": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Remaining": {
          "schema": {
            "type": "integer",
            "minimum": 0
          }
        },
        "RateLimit-Reset": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "rate_limited"
                    ]
                  },
                  "message": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "500": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "503": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
Stabil (v1)

POST /v1/webhooks/{endpointId}/test

sendWebhookTestEvent

Queues a synthetic example with data.test=true through the same signing, SSRF and retry path. The response confirms queuing, not remote acceptance. A paused endpoint must first be resumed.

Berechtigungen: ["write:webhooks"]

Anfrage und Antworten
{
  "operationId": "sendWebhookTestEvent",
  "tags": [
    "webhooks"
  ],
  "description": "Queues a synthetic example with data.test=true through the same signing, SSRF and retry path. The response confirms queuing, not remote acceptance. A paused endpoint must first be resumed.",
  "parameters": [
    {
      "schema": {
        "type": "string",
        "pattern": "^we_[0-7][0-9A-HJKMNP-TV-Z]{25}$"
      },
      "in": "path",
      "name": "endpointId",
      "required": true
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "idempotency-key",
      "required": true
    },
    {
      "schema": {
        "type": "string"
      },
      "in": "header",
      "name": "x-workspace-id",
      "required": false,
      "description": "Workspace ID. Required for session authentication when the user has multiple memberships; must name one of their workspaces. API keys remain bound to their own workspace."
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "x-csrf-token",
      "required": false,
      "description": "Required for cookie session mutations; not required for API keys."
    }
  ],
  "security": [
    {
      "apiKey": []
    },
    {
      "session": []
    }
  ],
  "x-required-scopes": [
    "write:webhooks"
  ],
  "x-public-api": true,
  "x-api-stability": "stable",
  "responses": {
    "202": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "id",
              "endpointId",
              "eventId",
              "eventType",
              "status",
              "attemptCount",
              "nextAttemptAt",
              "createdAt",
              "completedAt",
              "lastStatusCode",
              "lastError",
              "replayId"
            ],
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^wd_[0-7][0-9A-HJKMNP-TV-Z]{25}$"
              },
              "endpointId": {
                "type": "string",
                "pattern": "^we_[0-7][0-9A-HJKMNP-TV-Z]{25}$"
              },
              "eventId": {
                "type": "string"
              },
              "eventType": {
                "type": "string",
                "enum": [
                  "lead.captured",
                  "lead.abandoned",
                  "lead.converted",
                  "booking.created",
                  "booking.rescheduled",
                  "booking.cancelled",
                  "booking.confirmed_by_invitee",
                  "booking.expired",
                  "booking.completed"
                ]
              },
              "status": {
                "type": "string",
                "enum": [
                  "pending",
                  "delivering",
                  "succeeded",
                  "dead_letter"
                ]
              },
              "attemptCount": {
                "type": "integer",
                "minimum": 0
              },
              "nextAttemptAt": {
                "type": "string",
                "format": "date-time",
                "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$",
                "nullable": true
              },
              "waitingForEventId": {
                "type": "string",
                "nullable": true,
                "description": "Unmet lead.captured event ID for a pending booking.created. Null once any original or replay capture delivery succeeds; optional on older releases."
              },
              "createdAt": {
                "type": "string",
                "format": "date-time",
                "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
              },
              "completedAt": {
                "type": "string",
                "format": "date-time",
                "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$",
                "nullable": true
              },
              "lastStatusCode": {
                "type": "integer",
                "nullable": true
              },
              "lastError": {
                "type": "string",
                "nullable": true
              },
              "replayId": {
                "type": "string",
                "nullable": true,
                "description": "Explicit replay identity; null for an original delivery. Replays retain the original eventId and body."
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "401": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "403": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "404": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "409": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "410": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "413": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "415": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "422": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
      "headers": {
        "Retry-After": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Limit": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Remaining": {
          "schema": {
            "type": "integer",
            "minimum": 0
          }
        },
        "RateLimit-Reset": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "rate_limited"
                    ]
                  },
                  "message": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "500": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "503": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
Stabil (v1)

GET /v1/webhook-deliveries

listWebhookDeliveries

Berechtigungen: ["read:webhooks"]

Anfrage und Antworten
{
  "operationId": "listWebhookDeliveries",
  "tags": [
    "webhooks"
  ],
  "parameters": [
    {
      "schema": {
        "type": "integer",
        "minimum": 1,
        "maximum": 100
      },
      "in": "query",
      "name": "limit",
      "required": false
    },
    {
      "schema": {
        "type": "integer",
        "minimum": 0,
        "maximum": 2147483647
      },
      "in": "query",
      "name": "offset",
      "required": false
    },
    {
      "schema": {
        "type": "string",
        "pattern": "^we_[0-7][0-9A-HJKMNP-TV-Z]{25}$"
      },
      "in": "query",
      "name": "endpointId",
      "required": false
    },
    {
      "schema": {
        "type": "string",
        "enum": [
          "pending",
          "delivering",
          "succeeded",
          "dead_letter"
        ]
      },
      "in": "query",
      "name": "status",
      "required": false
    },
    {
      "schema": {
        "type": "string"
      },
      "in": "header",
      "name": "x-workspace-id",
      "required": false,
      "description": "Workspace ID. Required for session authentication when the user has multiple memberships; must name one of their workspaces. API keys remain bound to their own workspace."
    }
  ],
  "security": [
    {
      "apiKey": []
    },
    {
      "session": []
    }
  ],
  "x-required-scopes": [
    "read:webhooks"
  ],
  "x-public-api": true,
  "x-api-stability": "stable",
  "responses": {
    "200": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "required": [
              "data",
              "total",
              "limit",
              "offset"
            ],
            "properties": {
              "data": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "id",
                    "endpointId",
                    "eventId",
                    "eventType",
                    "status",
                    "attemptCount",
                    "nextAttemptAt",
                    "createdAt",
                    "completedAt",
                    "lastStatusCode",
                    "lastError",
                    "replayId"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "pattern": "^wd_[0-7][0-9A-HJKMNP-TV-Z]{25}$"
                    },
                    "endpointId": {
                      "type": "string",
                      "pattern": "^we_[0-7][0-9A-HJKMNP-TV-Z]{25}$"
                    },
                    "eventId": {
                      "type": "string"
                    },
                    "eventType": {
                      "type": "string",
                      "enum": [
                        "lead.captured",
                        "lead.abandoned",
                        "lead.converted",
                        "booking.created",
                        "booking.rescheduled",
                        "booking.cancelled",
                        "booking.confirmed_by_invitee",
                        "booking.expired",
                        "booking.completed"
                      ]
                    },
                    "status": {
                      "type": "string",
                      "enum": [
                        "pending",
                        "delivering",
                        "succeeded",
                        "dead_letter"
                      ]
                    },
                    "attemptCount": {
                      "type": "integer",
                      "minimum": 0
                    },
                    "nextAttemptAt": {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$",
                      "nullable": true
                    },
                    "waitingForEventId": {
                      "type": "string",
                      "nullable": true,
                      "description": "Unmet lead.captured event ID for a pending booking.created. Null once any original or replay capture delivery succeeds; optional on older releases."
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                    },
                    "completedAt": {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$",
                      "nullable": true
                    },
                    "lastStatusCode": {
                      "type": "integer",
                      "nullable": true
                    },
                    "lastError": {
                      "type": "string",
                      "nullable": true
                    },
                    "replayId": {
                      "type": "string",
                      "nullable": true,
                      "description": "Explicit replay identity; null for an original delivery. Replays retain the original eventId and body."
                    }
                  }
                }
              },
              "total": {
                "type": "integer"
              },
              "limit": {
                "type": "integer"
              },
              "offset": {
                "type": "integer"
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "401": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "403": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "404": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "409": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "410": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "413": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "415": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "422": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
      "headers": {
        "Retry-After": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Limit": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Remaining": {
          "schema": {
            "type": "integer",
            "minimum": 0
          }
        },
        "RateLimit-Reset": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "rate_limited"
                    ]
                  },
                  "message": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "500": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "503": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
Stabil (v1)

GET /v1/webhook-deliveries/{deliveryId}

getWebhookDelivery

Berechtigungen: ["read:webhooks"]

Anfrage und Antworten
{
  "operationId": "getWebhookDelivery",
  "tags": [
    "webhooks"
  ],
  "parameters": [
    {
      "schema": {
        "type": "string",
        "pattern": "^wd_[0-7][0-9A-HJKMNP-TV-Z]{25}$"
      },
      "in": "path",
      "name": "deliveryId",
      "required": true
    },
    {
      "schema": {
        "type": "string"
      },
      "in": "header",
      "name": "x-workspace-id",
      "required": false,
      "description": "Workspace ID. Required for session authentication when the user has multiple memberships; must name one of their workspaces. API keys remain bound to their own workspace."
    }
  ],
  "security": [
    {
      "apiKey": []
    },
    {
      "session": []
    }
  ],
  "x-required-scopes": [
    "read:webhooks"
  ],
  "x-public-api": true,
  "x-api-stability": "stable",
  "responses": {
    "200": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "id",
              "endpointId",
              "eventId",
              "eventType",
              "status",
              "attemptCount",
              "nextAttemptAt",
              "createdAt",
              "completedAt",
              "lastStatusCode",
              "lastError",
              "replayId",
              "event",
              "attempts"
            ],
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^wd_[0-7][0-9A-HJKMNP-TV-Z]{25}$"
              },
              "endpointId": {
                "type": "string",
                "pattern": "^we_[0-7][0-9A-HJKMNP-TV-Z]{25}$"
              },
              "eventId": {
                "type": "string"
              },
              "eventType": {
                "type": "string",
                "enum": [
                  "lead.captured",
                  "lead.abandoned",
                  "lead.converted",
                  "booking.created",
                  "booking.rescheduled",
                  "booking.cancelled",
                  "booking.confirmed_by_invitee",
                  "booking.expired",
                  "booking.completed"
                ]
              },
              "status": {
                "type": "string",
                "enum": [
                  "pending",
                  "delivering",
                  "succeeded",
                  "dead_letter"
                ]
              },
              "attemptCount": {
                "type": "integer",
                "minimum": 0
              },
              "nextAttemptAt": {
                "type": "string",
                "format": "date-time",
                "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$",
                "nullable": true
              },
              "waitingForEventId": {
                "type": "string",
                "nullable": true,
                "description": "Unmet lead.captured event ID for a pending booking.created. Null once any original or replay capture delivery succeeds; optional on older releases."
              },
              "createdAt": {
                "type": "string",
                "format": "date-time",
                "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
              },
              "completedAt": {
                "type": "string",
                "format": "date-time",
                "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$",
                "nullable": true
              },
              "lastStatusCode": {
                "type": "integer",
                "nullable": true
              },
              "lastError": {
                "type": "string",
                "nullable": true
              },
              "replayId": {
                "type": "string",
                "nullable": true,
                "description": "Explicit replay identity; null for an original delivery. Replays retain the original eventId and body."
              },
              "event": {
                "$ref": "#/components/schemas/WebhookEvent"
              },
              "attempts": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "attemptNumber",
                    "startedAt",
                    "completedAt",
                    "statusCode",
                    "error"
                  ],
                  "properties": {
                    "attemptNumber": {
                      "type": "integer",
                      "minimum": 1
                    },
                    "startedAt": {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                    },
                    "completedAt": {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$",
                      "nullable": true
                    },
                    "statusCode": {
                      "type": "integer",
                      "nullable": true
                    },
                    "error": {
                      "type": "string",
                      "nullable": true
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "401": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "403": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "404": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "409": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "410": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "413": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "415": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "422": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
      "headers": {
        "Retry-After": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Limit": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Remaining": {
          "schema": {
            "type": "integer",
            "minimum": 0
          }
        },
        "RateLimit-Reset": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "rate_limited"
                    ]
                  },
                  "message": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "500": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "503": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
Stabil (v1)

POST /v1/webhook-deliveries/{deliveryId}/replay

replayWebhookDelivery

Queues an explicit replay of a terminal delivery to an active endpoint, retaining the event_id and exact serialized body. Repeating the same Idempotency-Key reuses the replay. Pending or currently delivering entries return 409 webhook_delivery_pending. Paused endpoints return 409 webhook_endpoint_paused. Deleted endpoints return 404 not_found even though their delivery log remains readable.

Berechtigungen: ["write:webhooks"]

Anfrage und Antworten
{
  "operationId": "replayWebhookDelivery",
  "tags": [
    "webhooks"
  ],
  "description": "Queues an explicit replay of a terminal delivery to an active endpoint, retaining the event_id and exact serialized body. Repeating the same Idempotency-Key reuses the replay. Pending or currently delivering entries return 409 webhook_delivery_pending. Paused endpoints return 409 webhook_endpoint_paused. Deleted endpoints return 404 not_found even though their delivery log remains readable.",
  "parameters": [
    {
      "schema": {
        "type": "string",
        "pattern": "^wd_[0-7][0-9A-HJKMNP-TV-Z]{25}$"
      },
      "in": "path",
      "name": "deliveryId",
      "required": true
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "idempotency-key",
      "required": true
    },
    {
      "schema": {
        "type": "string"
      },
      "in": "header",
      "name": "x-workspace-id",
      "required": false,
      "description": "Workspace ID. Required for session authentication when the user has multiple memberships; must name one of their workspaces. API keys remain bound to their own workspace."
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "x-csrf-token",
      "required": false,
      "description": "Required for cookie session mutations; not required for API keys."
    }
  ],
  "security": [
    {
      "apiKey": []
    },
    {
      "session": []
    }
  ],
  "x-required-scopes": [
    "write:webhooks"
  ],
  "x-public-api": true,
  "x-api-stability": "stable",
  "responses": {
    "202": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "id",
              "endpointId",
              "eventId",
              "eventType",
              "status",
              "attemptCount",
              "nextAttemptAt",
              "createdAt",
              "completedAt",
              "lastStatusCode",
              "lastError",
              "replayId"
            ],
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^wd_[0-7][0-9A-HJKMNP-TV-Z]{25}$"
              },
              "endpointId": {
                "type": "string",
                "pattern": "^we_[0-7][0-9A-HJKMNP-TV-Z]{25}$"
              },
              "eventId": {
                "type": "string"
              },
              "eventType": {
                "type": "string",
                "enum": [
                  "lead.captured",
                  "lead.abandoned",
                  "lead.converted",
                  "booking.created",
                  "booking.rescheduled",
                  "booking.cancelled",
                  "booking.confirmed_by_invitee",
                  "booking.expired",
                  "booking.completed"
                ]
              },
              "status": {
                "type": "string",
                "enum": [
                  "pending",
                  "delivering",
                  "succeeded",
                  "dead_letter"
                ]
              },
              "attemptCount": {
                "type": "integer",
                "minimum": 0
              },
              "nextAttemptAt": {
                "type": "string",
                "format": "date-time",
                "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$",
                "nullable": true
              },
              "waitingForEventId": {
                "type": "string",
                "nullable": true,
                "description": "Unmet lead.captured event ID for a pending booking.created. Null once any original or replay capture delivery succeeds; optional on older releases."
              },
              "createdAt": {
                "type": "string",
                "format": "date-time",
                "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
              },
              "completedAt": {
                "type": "string",
                "format": "date-time",
                "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$",
                "nullable": true
              },
              "lastStatusCode": {
                "type": "integer",
                "nullable": true
              },
              "lastError": {
                "type": "string",
                "nullable": true
              },
              "replayId": {
                "type": "string",
                "nullable": true,
                "description": "Explicit replay identity; null for an original delivery. Replays retain the original eventId and body."
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "401": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "403": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "404": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "409": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "410": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "413": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "415": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "422": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
      "headers": {
        "Retry-After": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Limit": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Remaining": {
          "schema": {
            "type": "integer",
            "minimum": 0
          }
        },
        "RateLimit-Reset": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "rate_limited"
                    ]
                  },
                  "message": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "500": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "503": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
Beta, ohne Stabilitätszusage

GET /v1/api-keys

listApiKeys

Nur mit Owner-/Admin-Session. API-Keys gewähren keinen Zugriff auf diese Operation.

Anfrage und Antworten
{
  "operationId": "listApiKeys",
  "parameters": [
    {
      "schema": {
        "type": "integer",
        "minimum": 1,
        "maximum": 100
      },
      "in": "query",
      "name": "limit",
      "required": false
    },
    {
      "schema": {
        "type": "integer",
        "minimum": 0,
        "maximum": 2147483647
      },
      "in": "query",
      "name": "offset",
      "required": false
    },
    {
      "schema": {
        "type": "string"
      },
      "in": "header",
      "name": "x-workspace-id",
      "required": false,
      "description": "Workspace ID. Required for session authentication when the user has multiple memberships; must name one of their workspaces. API keys remain bound to their own workspace."
    }
  ],
  "security": [
    {
      "session": []
    }
  ],
  "x-session-only": true,
  "x-public-api": true,
  "x-api-stability": "beta",
  "responses": {
    "200": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "required": [
              "data",
              "total",
              "limit",
              "offset"
            ],
            "properties": {
              "data": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "id",
                    "name",
                    "prefix",
                    "scopes",
                    "createdAt",
                    "lastUsedAt",
                    "revokedAt"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "pattern": "^ak_[0-7][0-9A-HJKMNP-TV-Z]{25}$"
                    },
                    "name": {
                      "type": "string",
                      "nullable": true
                    },
                    "prefix": {
                      "type": "string",
                      "nullable": true
                    },
                    "scopes": {
                      "type": "array",
                      "minItems": 0,
                      "items": {
                        "type": "string",
                        "enum": [
                          "read:bookings",
                          "write:bookings",
                          "read:funnels",
                          "write:funnels",
                          "read:hosts",
                          "write:hosts",
                          "read:teams",
                          "write:teams",
                          "read:workspace-members",
                          "write:workspace-members",
                          "read:workspace-invitations",
                          "write:workspace-invitations",
                          "read:leads",
                          "write:leads",
                          "read:notification-preferences",
                          "write:notification-preferences",
                          "read:deliveries",
                          "write:deliveries",
                          "read:sequences",
                          "write:sequences",
                          "read:message-templates",
                          "write:message-templates",
                          "read:webhooks",
                          "write:webhooks"
                        ]
                      }
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "lastUsedAt": {
                      "type": "string",
                      "nullable": true
                    },
                    "revokedAt": {
                      "type": "string",
                      "nullable": true
                    }
                  }
                }
              },
              "total": {
                "type": "integer"
              },
              "limit": {
                "type": "integer"
              },
              "offset": {
                "type": "integer"
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "401": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "403": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "404": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "409": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "410": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "413": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "415": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "422": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
      "headers": {
        "Retry-After": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Limit": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Remaining": {
          "schema": {
            "type": "integer",
            "minimum": 0
          }
        },
        "RateLimit-Reset": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "rate_limited"
                    ]
                  },
                  "message": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "500": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "503": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
Beta, ohne Stabilitätszusage

POST /v1/api-keys

createApiKey

Nur mit Owner-/Admin-Session. API-Keys gewähren keinen Zugriff auf diese Operation.

Anfrage und Antworten
{
  "operationId": "createApiKey",
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "name",
            "scopes"
          ],
          "properties": {
            "name": {
              "type": "string",
              "minLength": 1,
              "maxLength": 120
            },
            "scopes": {
              "type": "array",
              "minItems": 1,
              "items": {
                "type": "string",
                "enum": [
                  "read:bookings",
                  "write:bookings",
                  "read:funnels",
                  "write:funnels",
                  "read:hosts",
                  "write:hosts",
                  "read:teams",
                  "write:teams",
                  "read:workspace-members",
                  "write:workspace-members",
                  "read:workspace-invitations",
                  "write:workspace-invitations",
                  "read:leads",
                  "write:leads",
                  "read:notification-preferences",
                  "write:notification-preferences",
                  "read:deliveries",
                  "write:deliveries",
                  "read:sequences",
                  "write:sequences",
                  "read:message-templates",
                  "write:message-templates",
                  "read:webhooks",
                  "write:webhooks"
                ]
              }
            }
          }
        }
      }
    }
  },
  "parameters": [
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "idempotency-key",
      "required": true
    },
    {
      "schema": {
        "type": "string"
      },
      "in": "header",
      "name": "x-workspace-id",
      "required": false,
      "description": "Workspace ID. Required for session authentication when the user has multiple memberships; must name one of their workspaces. API keys remain bound to their own workspace."
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "x-csrf-token",
      "required": false,
      "description": "Required for cookie session mutations; not required for API keys."
    }
  ],
  "security": [
    {
      "session": []
    }
  ],
  "x-session-only": true,
  "x-public-api": true,
  "x-api-stability": "beta",
  "responses": {
    "201": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "key",
              "apiKey"
            ],
            "properties": {
              "key": {
                "type": "string"
              },
              "apiKey": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "id",
                  "name",
                  "prefix",
                  "scopes",
                  "createdAt",
                  "lastUsedAt",
                  "revokedAt"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "pattern": "^ak_[0-7][0-9A-HJKMNP-TV-Z]{25}$"
                  },
                  "name": {
                    "type": "string",
                    "nullable": true
                  },
                  "prefix": {
                    "type": "string",
                    "nullable": true
                  },
                  "scopes": {
                    "type": "array",
                    "minItems": 0,
                    "items": {
                      "type": "string",
                      "enum": [
                        "read:bookings",
                        "write:bookings",
                        "read:funnels",
                        "write:funnels",
                        "read:hosts",
                        "write:hosts",
                        "read:teams",
                        "write:teams",
                        "read:workspace-members",
                        "write:workspace-members",
                        "read:workspace-invitations",
                        "write:workspace-invitations",
                        "read:leads",
                        "write:leads",
                        "read:notification-preferences",
                        "write:notification-preferences",
                        "read:deliveries",
                        "write:deliveries",
                        "read:sequences",
                        "write:sequences",
                        "read:message-templates",
                        "write:message-templates",
                        "read:webhooks",
                        "write:webhooks"
                      ]
                    }
                  },
                  "createdAt": {
                    "type": "string",
                    "format": "date-time"
                  },
                  "lastUsedAt": {
                    "type": "string",
                    "nullable": true
                  },
                  "revokedAt": {
                    "type": "string",
                    "nullable": true
                  }
                }
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "401": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "403": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "404": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "409": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "410": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "413": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "415": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "422": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
      "headers": {
        "Retry-After": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Limit": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Remaining": {
          "schema": {
            "type": "integer",
            "minimum": 0
          }
        },
        "RateLimit-Reset": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "rate_limited"
                    ]
                  },
                  "message": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "500": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "503": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
Beta, ohne Stabilitätszusage

DELETE /v1/api-keys/{keyId}

revokeApiKey

Nur mit Owner-/Admin-Session. API-Keys gewähren keinen Zugriff auf diese Operation.

Anfrage und Antworten
{
  "operationId": "revokeApiKey",
  "parameters": [
    {
      "schema": {
        "type": "string",
        "pattern": "^ak_[0-7][0-9A-HJKMNP-TV-Z]{25}$"
      },
      "in": "path",
      "name": "keyId",
      "required": true
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "idempotency-key",
      "required": true
    },
    {
      "schema": {
        "type": "string"
      },
      "in": "header",
      "name": "x-workspace-id",
      "required": false,
      "description": "Workspace ID. Required for session authentication when the user has multiple memberships; must name one of their workspaces. API keys remain bound to their own workspace."
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "x-csrf-token",
      "required": false,
      "description": "Required for cookie session mutations; not required for API keys."
    }
  ],
  "security": [
    {
      "session": []
    }
  ],
  "x-session-only": true,
  "x-public-api": true,
  "x-api-stability": "beta",
  "responses": {
    "200": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "id",
              "revokedAt"
            ],
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^ak_[0-7][0-9A-HJKMNP-TV-Z]{25}$"
              },
              "revokedAt": {
                "type": "string",
                "format": "date-time"
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "401": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "403": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "404": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "409": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "410": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "413": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "415": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "422": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
      "headers": {
        "Retry-After": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Limit": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Remaining": {
          "schema": {
            "type": "integer",
            "minimum": 0
          }
        },
        "RateLimit-Reset": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "rate_limited"
                    ]
                  },
                  "message": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "500": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "503": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
Beta, ohne Stabilitätszusage

GET /v1/deliveries

listDeliveries

Berechtigungen: ["read:deliveries"]

Anfrage und Antworten
{
  "operationId": "listDeliveries",
  "parameters": [
    {
      "schema": {
        "type": "integer",
        "minimum": 1,
        "maximum": 100,
        "default": 25
      },
      "in": "query",
      "name": "limit",
      "required": false
    },
    {
      "schema": {
        "type": "integer",
        "minimum": 0,
        "default": 0
      },
      "in": "query",
      "name": "offset",
      "required": false
    },
    {
      "schema": {
        "type": "string"
      },
      "in": "header",
      "name": "x-workspace-id",
      "required": false,
      "description": "Workspace ID. Required for session authentication when the user has multiple memberships; must name one of their workspaces. API keys remain bound to their own workspace."
    }
  ],
  "security": [
    {
      "apiKey": []
    },
    {
      "session": []
    }
  ],
  "x-required-scopes": [
    "read:deliveries"
  ],
  "x-public-api": true,
  "x-api-stability": "beta",
  "responses": {
    "200": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "required": [
              "data",
              "total",
              "offset",
              "limit"
            ],
            "properties": {
              "data": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "id",
                    "bookingId",
                    "source",
                    "channel",
                    "flowName",
                    "stepId",
                    "createdAt",
                    "status",
                    "reason",
                    "content",
                    "contentExpired",
                    "canResend",
                    "events"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "bookingId": {
                      "type": "string"
                    },
                    "source": {
                      "type": "string",
                      "enum": [
                        "flow",
                        "reminder",
                        "system",
                        "resend"
                      ],
                      "description": "Incoming WhatsApp replies use flow for compatibility with existing clients; inspect direction to distinguish them from outgoing flow messages."
                    },
                    "channel": {
                      "type": "string",
                      "enum": [
                        "email",
                        "whatsapp"
                      ]
                    },
                    "direction": {
                      "type": "string",
                      "enum": [
                        "incoming",
                        "outgoing"
                      ],
                      "description": "Optional additive field; missing means outgoing. Incoming WhatsApp replies use source=flow and status=accepted for compatibility, meaning received rather than provider acceptance, and include a received event. They cannot be resent."
                    },
                    "automaticReply": {
                      "type": "boolean",
                      "description": "An automatic WhatsApp service reply; it cannot be manually resent."
                    },
                    "senderNumber": {
                      "type": "string",
                      "nullable": true,
                      "description": "The frozen WhatsApp business number: outgoing sender or incoming destination, never the invitee number. Independent of later number assignments."
                    },
                    "flowName": {
                      "type": "string",
                      "nullable": true
                    },
                    "stepId": {
                      "type": "string",
                      "nullable": true
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "status": {
                      "type": "string",
                      "enum": [
                        "pending",
                        "accepted",
                        "delivered",
                        "bounced",
                        "rejected",
                        "failed",
                        "unknown",
                        "skipped",
                        "cancelled"
                      ],
                      "description": "For incoming replies accepted means received, not accepted by a delivery provider. A provider read event retains overall delivered for compatibility; inspect events for read receipts."
                    },
                    "reason": {
                      "type": "string",
                      "nullable": true
                    },
                    "content": {
                      "type": "object",
                      "nullable": true,
                      "description": "Message content is available only to authorized owners/admins within retention. Incoming replies have an empty subject and redacted links; ambiguous replies are not exposed to workspaces.",
                      "required": [
                        "subject",
                        "text"
                      ],
                      "additionalProperties": false,
                      "properties": {
                        "subject": {
                          "type": "string"
                        },
                        "text": {
                          "type": "string"
                        }
                      }
                    },
                    "contentExpired": {
                      "type": "boolean"
                    },
                    "canResend": {
                      "type": "boolean"
                    },
                    "events": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "id",
                          "at",
                          "status",
                          "reason"
                        ],
                        "additionalProperties": false,
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "at": {
                            "type": "string",
                            "format": "date-time"
                          },
                          "status": {
                            "type": "string",
                            "description": "Delivery event status, including received for an incoming WhatsApp reply and read for a WhatsApp read receipt. Provider failure events use failed with reason=provider_failed."
                          },
                          "reason": {
                            "type": "string",
                            "nullable": true
                          }
                        }
                      }
                    }
                  }
                }
              },
              "total": {
                "type": "integer"
              },
              "offset": {
                "type": "integer"
              },
              "limit": {
                "type": "integer"
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "401": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "403": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "404": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "409": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "410": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "413": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "415": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "422": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
      "headers": {
        "Retry-After": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Limit": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Remaining": {
          "schema": {
            "type": "integer",
            "minimum": 0
          }
        },
        "RateLimit-Reset": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "rate_limited"
                    ]
                  },
                  "message": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "500": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "503": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
Beta, ohne Stabilitätszusage

GET /v1/bookings/{bookingId}/deliveries

listBookingDeliveries

Berechtigungen: ["read:deliveries"]

Anfrage und Antworten
{
  "operationId": "listBookingDeliveries",
  "parameters": [
    {
      "schema": {
        "type": "integer",
        "minimum": 1,
        "maximum": 100,
        "default": 25
      },
      "in": "query",
      "name": "limit",
      "required": false
    },
    {
      "schema": {
        "type": "integer",
        "minimum": 0,
        "default": 0
      },
      "in": "query",
      "name": "offset",
      "required": false
    },
    {
      "schema": {
        "type": "string",
        "maxLength": 80
      },
      "in": "path",
      "name": "bookingId",
      "required": true
    },
    {
      "schema": {
        "type": "string"
      },
      "in": "header",
      "name": "x-workspace-id",
      "required": false,
      "description": "Workspace ID. Required for session authentication when the user has multiple memberships; must name one of their workspaces. API keys remain bound to their own workspace."
    }
  ],
  "security": [
    {
      "apiKey": []
    },
    {
      "session": []
    }
  ],
  "x-required-scopes": [
    "read:deliveries"
  ],
  "x-public-api": true,
  "x-api-stability": "beta",
  "responses": {
    "200": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "required": [
              "data",
              "total",
              "offset",
              "limit"
            ],
            "properties": {
              "data": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "id",
                    "bookingId",
                    "source",
                    "channel",
                    "flowName",
                    "stepId",
                    "createdAt",
                    "status",
                    "reason",
                    "content",
                    "contentExpired",
                    "canResend",
                    "events"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "bookingId": {
                      "type": "string"
                    },
                    "source": {
                      "type": "string",
                      "enum": [
                        "flow",
                        "reminder",
                        "system",
                        "resend"
                      ],
                      "description": "Incoming WhatsApp replies use flow for compatibility with existing clients; inspect direction to distinguish them from outgoing flow messages."
                    },
                    "channel": {
                      "type": "string",
                      "enum": [
                        "email",
                        "whatsapp"
                      ]
                    },
                    "direction": {
                      "type": "string",
                      "enum": [
                        "incoming",
                        "outgoing"
                      ],
                      "description": "Optional additive field; missing means outgoing. Incoming WhatsApp replies use source=flow and status=accepted for compatibility, meaning received rather than provider acceptance, and include a received event. They cannot be resent."
                    },
                    "automaticReply": {
                      "type": "boolean",
                      "description": "An automatic WhatsApp service reply; it cannot be manually resent."
                    },
                    "senderNumber": {
                      "type": "string",
                      "nullable": true,
                      "description": "The frozen WhatsApp business number: outgoing sender or incoming destination, never the invitee number. Independent of later number assignments."
                    },
                    "flowName": {
                      "type": "string",
                      "nullable": true
                    },
                    "stepId": {
                      "type": "string",
                      "nullable": true
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "status": {
                      "type": "string",
                      "enum": [
                        "pending",
                        "accepted",
                        "delivered",
                        "bounced",
                        "rejected",
                        "failed",
                        "unknown",
                        "skipped",
                        "cancelled"
                      ],
                      "description": "For incoming replies accepted means received, not accepted by a delivery provider. A provider read event retains overall delivered for compatibility; inspect events for read receipts."
                    },
                    "reason": {
                      "type": "string",
                      "nullable": true
                    },
                    "content": {
                      "type": "object",
                      "nullable": true,
                      "description": "Message content is available only to authorized owners/admins within retention. Incoming replies have an empty subject and redacted links; ambiguous replies are not exposed to workspaces.",
                      "required": [
                        "subject",
                        "text"
                      ],
                      "additionalProperties": false,
                      "properties": {
                        "subject": {
                          "type": "string"
                        },
                        "text": {
                          "type": "string"
                        }
                      }
                    },
                    "contentExpired": {
                      "type": "boolean"
                    },
                    "canResend": {
                      "type": "boolean"
                    },
                    "events": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "id",
                          "at",
                          "status",
                          "reason"
                        ],
                        "additionalProperties": false,
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "at": {
                            "type": "string",
                            "format": "date-time"
                          },
                          "status": {
                            "type": "string",
                            "description": "Delivery event status, including received for an incoming WhatsApp reply and read for a WhatsApp read receipt. Provider failure events use failed with reason=provider_failed."
                          },
                          "reason": {
                            "type": "string",
                            "nullable": true
                          }
                        }
                      }
                    }
                  }
                }
              },
              "total": {
                "type": "integer"
              },
              "offset": {
                "type": "integer"
              },
              "limit": {
                "type": "integer"
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "401": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "403": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "404": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "409": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "410": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "413": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "415": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "422": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
      "headers": {
        "Retry-After": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Limit": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Remaining": {
          "schema": {
            "type": "integer",
            "minimum": 0
          }
        },
        "RateLimit-Reset": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "rate_limited"
                    ]
                  },
                  "message": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "500": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "503": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
Beta, ohne Stabilitätszusage

POST /v1/deliveries/{deliveryId}/resend

resendDelivery

Berechtigungen: ["write:deliveries"]

Anfrage und Antworten
{
  "operationId": "resendDelivery",
  "parameters": [
    {
      "schema": {
        "type": "string",
        "pattern": "^(flow|reminder|system):[a-zA-Z0-9_-]+$",
        "maxLength": 160
      },
      "in": "path",
      "name": "deliveryId",
      "required": true
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "idempotency-key",
      "required": true
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 2048
      },
      "in": "header",
      "name": "x-booking-token",
      "required": false
    },
    {
      "schema": {
        "type": "string"
      },
      "in": "header",
      "name": "x-workspace-id",
      "required": false,
      "description": "Workspace ID. Required for session authentication when the user has multiple memberships; must name one of their workspaces. API keys remain bound to their own workspace."
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "x-csrf-token",
      "required": false,
      "description": "Required for cookie session mutations; not required for API keys."
    }
  ],
  "security": [
    {
      "apiKey": []
    },
    {
      "session": []
    }
  ],
  "x-required-scopes": [
    "write:deliveries"
  ],
  "x-public-api": true,
  "x-api-stability": "beta",
  "responses": {
    "202": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "401": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "403": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "404": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "409": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "410": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "413": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "415": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "422": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
      "headers": {
        "Retry-After": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Limit": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Remaining": {
          "schema": {
            "type": "integer",
            "minimum": 0
          }
        },
        "RateLimit-Reset": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "rate_limited"
                    ]
                  },
                  "message": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "500": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "503": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
Beta, ohne Stabilitätszusage

GET /v1/sequences

listSequences

Berechtigungen: ["read:sequences"]

Anfrage und Antworten
{
  "operationId": "listSequences",
  "parameters": [
    {
      "schema": {
        "type": "integer",
        "minimum": 1,
        "maximum": 100,
        "default": 25
      },
      "in": "query",
      "name": "limit",
      "required": false
    },
    {
      "schema": {
        "type": "integer",
        "minimum": 0,
        "default": 0
      },
      "in": "query",
      "name": "offset",
      "required": false
    },
    {
      "schema": {
        "type": "string"
      },
      "in": "header",
      "name": "x-workspace-id",
      "required": false,
      "description": "Workspace ID. Required for session authentication when the user has multiple memberships; must name one of their workspaces. API keys remain bound to their own workspace."
    }
  ],
  "security": [
    {
      "apiKey": []
    },
    {
      "session": []
    }
  ],
  "x-required-scopes": [
    "read:sequences"
  ],
  "x-public-api": true,
  "x-api-stability": "beta",
  "responses": {
    "200": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "data",
              "total",
              "limit",
              "offset",
              "canUseWhatsApp",
              "limits"
            ],
            "properties": {
              "data": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "id",
                    "workspaceId",
                    "name",
                    "draft",
                    "publishedVersionId",
                    "status",
                    "isDefault",
                    "usedByCount",
                    "createdAt",
                    "revision"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 160
                    },
                    "workspaceId": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 160
                    },
                    "name": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 200
                    },
                    "draft": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "schemaVersion",
                        "nodes"
                      ],
                      "properties": {
                        "schemaVersion": {
                          "type": "integer",
                          "enum": [
                            1
                          ]
                        },
                        "nodes": {
                          "type": "array",
                          "minItems": 1,
                          "items": {
                            "oneOf": [
                              {
                                "type": "object",
                                "additionalProperties": false,
                                "required": [
                                  "id",
                                  "type",
                                  "trigger",
                                  "next"
                                ],
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 160
                                  },
                                  "type": {
                                    "type": "string",
                                    "enum": [
                                      "trigger"
                                    ]
                                  },
                                  "trigger": {
                                    "oneOf": [
                                      {
                                        "type": "object",
                                        "additionalProperties": false,
                                        "required": [
                                          "kind"
                                        ],
                                        "properties": {
                                          "kind": {
                                            "type": "string",
                                            "enum": [
                                              "booking_created"
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "type": "object",
                                        "additionalProperties": false,
                                        "required": [
                                          "kind"
                                        ],
                                        "properties": {
                                          "kind": {
                                            "type": "string",
                                            "enum": [
                                              "confirmation_pending"
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "type": "object",
                                        "additionalProperties": false,
                                        "required": [
                                          "kind"
                                        ],
                                        "properties": {
                                          "kind": {
                                            "type": "string",
                                            "enum": [
                                              "after_booking_end"
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "type": "object",
                                        "additionalProperties": false,
                                        "required": [
                                          "kind"
                                        ],
                                        "properties": {
                                          "kind": {
                                            "type": "string",
                                            "enum": [
                                              "booking_rescheduled"
                                            ]
                                          }
                                        }
                                      },
                                      {
                                        "type": "object",
                                        "additionalProperties": false,
                                        "required": [
                                          "kind",
                                          "offsetSeconds"
                                        ],
                                        "properties": {
                                          "kind": {
                                            "type": "string",
                                            "enum": [
                                              "before_booking"
                                            ]
                                          },
                                          "offsetSeconds": {
                                            "type": "number",
                                            "minimum": 0,
                                            "description": "Positive duration in elapsed seconds; zero is rejected by domain validation."
                                          }
                                        }
                                      }
                                    ]
                                  },
                                  "next": {
                                    "type": "string",
                                    "nullable": true
                                  }
                                }
                              },
                              {
                                "type": "object",
                                "additionalProperties": false,
                                "required": [
                                  "id",
                                  "type",
                                  "durationSeconds",
                                  "next"
                                ],
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 160
                                  },
                                  "type": {
                                    "type": "string",
                                    "enum": [
                                      "wait"
                                    ]
                                  },
                                  "durationSeconds": {
                                    "type": "number",
                                    "minimum": 0,
                                    "description": "Positive duration in elapsed seconds; zero is rejected by domain validation."
                                  },
                                  "next": {
                                    "type": "string",
                                    "nullable": true
                                  }
                                }
                              },
                              {
                                "type": "object",
                                "additionalProperties": false,
                                "required": [
                                  "id",
                                  "type",
                                  "condition",
                                  "yes",
                                  "no"
                                ],
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 160
                                  },
                                  "type": {
                                    "type": "string",
                                    "enum": [
                                      "branch"
                                    ]
                                  },
                                  "condition": {
                                    "type": "object",
                                    "additionalProperties": false,
                                    "required": [
                                      "kind",
                                      "version"
                                    ],
                                    "properties": {
                                      "kind": {
                                        "type": "string",
                                        "enum": [
                                          "booking_confirmed"
                                        ]
                                      },
                                      "version": {
                                        "type": "integer",
                                        "enum": [
                                          1
                                        ]
                                      }
                                    }
                                  },
                                  "yes": {
                                    "type": "string",
                                    "nullable": true
                                  },
                                  "no": {
                                    "type": "string",
                                    "nullable": true
                                  }
                                }
                              },
                              {
                                "type": "object",
                                "additionalProperties": false,
                                "required": [
                                  "id",
                                  "type",
                                  "content",
                                  "recipient",
                                  "next"
                                ],
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 160
                                  },
                                  "type": {
                                    "type": "string",
                                    "enum": [
                                      "email"
                                    ]
                                  },
                                  "content": {
                                    "oneOf": [
                                      {
                                        "type": "object",
                                        "additionalProperties": false,
                                        "required": [
                                          "kind",
                                          "texts"
                                        ],
                                        "properties": {
                                          "kind": {
                                            "type": "string",
                                            "enum": [
                                              "reminder"
                                            ]
                                          },
                                          "texts": {
                                            "type": "object",
                                            "additionalProperties": false,
                                            "required": [
                                              "de",
                                              "en"
                                            ],
                                            "properties": {
                                              "de": {
                                                "type": "object",
                                                "additionalProperties": false,
                                                "required": [
                                                  "subject",
                                                  "subjectDate",
                                                  "title",
                                                  "greeting",
                                                  "reply",
                                                  "appointment",
                                                  "meeting",
                                                  "reschedule"
                                                ],
                                                "properties": {
                                                  "subject": {
                                                    "type": "string"
                                                  },
                                                  "subjectDate": {
                                                    "type": "string"
                                                  },
                                                  "title": {
                                                    "type": "string"
                                                  },
                                                  "greeting": {
                                                    "type": "string"
                                                  },
                                                  "reply": {
                                                    "type": "string"
                                                  },
                                                  "appointment": {
                                                    "type": "string"
                                                  },
                                                  "meeting": {
                                                    "type": "string"
                                                  },
                                                  "reschedule": {
                                                    "type": "string"
                                                  }
                                                }
                                              },
                                              "en": {
                                                "type": "object",
                                                "additionalProperties": false,
                                                "required": [
                                                  "subject",
                                                  "subjectDate",
                                                  "title",
                                                  "greeting",
                                                  "reply",
                                                  "appointment",
                                                  "meeting",
                                                  "reschedule"
                                                ],
                                                "properties": {
                                                  "subject": {
                                                    "type": "string"
                                                  },
                                                  "subjectDate": {
                                                    "type": "string"
                                                  },
                                                  "title": {
                                                    "type": "string"
                                                  },
                                                  "greeting": {
                                                    "type": "string"
                                                  },
                                                  "reply": {
                                                    "type": "string"
                                                  },
                                                  "appointment": {
                                                    "type": "string"
                                                  },
                                                  "meeting": {
                                                    "type": "string"
                                                  },
                                                  "reschedule": {
                                                    "type": "string"
                                                  }
                                                }
                                              }
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "type": "object",
                                        "additionalProperties": false,
                                        "required": [
                                          "kind",
                                          "locales"
                                        ],
                                        "properties": {
                                          "kind": {
                                            "type": "string",
                                            "enum": [
                                              "email"
                                            ]
                                          },
                                          "locales": {
                                            "type": "object",
                                            "additionalProperties": false,
                                            "required": [
                                              "de",
                                              "en"
                                            ],
                                            "properties": {
                                              "de": {
                                                "type": "object",
                                                "additionalProperties": false,
                                                "required": [
                                                  "subject",
                                                  "text",
                                                  "html"
                                                ],
                                                "properties": {
                                                  "subject": {
                                                    "type": "string"
                                                  },
                                                  "text": {
                                                    "type": "string"
                                                  },
                                                  "html": {
                                                    "type": "string"
                                                  }
                                                }
                                              },
                                              "en": {
                                                "type": "object",
                                                "additionalProperties": false,
                                                "required": [
                                                  "subject",
                                                  "text",
                                                  "html"
                                                ],
                                                "properties": {
                                                  "subject": {
                                                    "type": "string"
                                                  },
                                                  "text": {
                                                    "type": "string"
                                                  },
                                                  "html": {
                                                    "type": "string"
                                                  }
                                                }
                                              }
                                            }
                                          }
                                        }
                                      }
                                    ]
                                  },
                                  "recipient": {
                                    "type": "string",
                                    "enum": [
                                      "invitee",
                                      "host"
                                    ]
                                  },
                                  "next": {
                                    "type": "string",
                                    "nullable": true
                                  }
                                }
                              },
                              {
                                "type": "object",
                                "additionalProperties": false,
                                "required": [
                                  "id",
                                  "type",
                                  "content",
                                  "recipient",
                                  "recipientEmail",
                                  "next"
                                ],
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 160
                                  },
                                  "type": {
                                    "type": "string",
                                    "enum": [
                                      "email"
                                    ]
                                  },
                                  "content": {
                                    "oneOf": [
                                      {
                                        "type": "object",
                                        "additionalProperties": false,
                                        "required": [
                                          "kind",
                                          "texts"
                                        ],
                                        "properties": {
                                          "kind": {
                                            "type": "string",
                                            "enum": [
                                              "reminder"
                                            ]
                                          },
                                          "texts": {
                                            "type": "object",
                                            "additionalProperties": false,
                                            "required": [
                                              "de",
                                              "en"
                                            ],
                                            "properties": {
                                              "de": {
                                                "type": "object",
                                                "additionalProperties": false,
                                                "required": [
                                                  "subject",
                                                  "subjectDate",
                                                  "title",
                                                  "greeting",
                                                  "reply",
                                                  "appointment",
                                                  "meeting",
                                                  "reschedule"
                                                ],
                                                "properties": {
                                                  "subject": {
                                                    "type": "string"
                                                  },
                                                  "subjectDate": {
                                                    "type": "string"
                                                  },
                                                  "title": {
                                                    "type": "string"
                                                  },
                                                  "greeting": {
                                                    "type": "string"
                                                  },
                                                  "reply": {
                                                    "type": "string"
                                                  },
                                                  "appointment": {
                                                    "type": "string"
                                                  },
                                                  "meeting": {
                                                    "type": "string"
                                                  },
                                                  "reschedule": {
                                                    "type": "string"
                                                  }
                                                }
                                              },
                                              "en": {
                                                "type": "object",
                                                "additionalProperties": false,
                                                "required": [
                                                  "subject",
                                                  "subjectDate",
                                                  "title",
                                                  "greeting",
                                                  "reply",
                                                  "appointment",
                                                  "meeting",
                                                  "reschedule"
                                                ],
                                                "properties": {
                                                  "subject": {
                                                    "type": "string"
                                                  },
                                                  "subjectDate": {
                                                    "type": "string"
                                                  },
                                                  "title": {
                                                    "type": "string"
                                                  },
                                                  "greeting": {
                                                    "type": "string"
                                                  },
                                                  "reply": {
                                                    "type": "string"
                                                  },
                                                  "appointment": {
                                                    "type": "string"
                                                  },
                                                  "meeting": {
                                                    "type": "string"
                                                  },
                                                  "reschedule": {
                                                    "type": "string"
                                                  }
                                                }
                                              }
                                            }
                                          }
                                        }
                                      },
                                      {
                                        "type": "object",
                                        "additionalProperties": false,
                                        "required": [
                                          "kind",
                                          "locales"
                                        ],
                                        "properties": {
                                          "kind": {
                                            "type": "string",
                                            "enum": [
                                              "email"
                                            ]
                                          },
                                          "locales": {
                                            "type": "object",
                                            "additionalProperties": false,
                                            "required": [
                                              "de",
                                              "en"
                                            ],
                                            "properties": {
                                              "de": {
                                                "type": "object",
                                                "additionalProperties": false,
                                                "required": [
                                                  "subject",
                                                  "text",
                                                  "html"
                                                ],
                                                "properties": {
                                                  "subject": {
                                                    "type": "string"
                                                  },
                                                  "text": {
                                                    "type": "string"
                                                  },
                                                  "html": {
                                                    "type": "string"
                                                  }
                                                }
                                              },
                                              "en": {
                                                "type": "object",
                                                "additionalProperties": false,
                                                "required": [
                                                  "subject",
                                                  "text",
                                                  "html"
                                                ],
                                                "properties": {
                                                  "subject": {
                                                    "type": "string"
                                                  },
                                                  "text": {
                                                    "type": "string"
                                                  },
                                                  "html": {
                                                    "type": "string"
                                                  }
                                                }
                                              }
                                            }
                                          }
                                        }
                                      }
                                    ]
                                  },
                                  "recipient": {
                                    "type": "string",
                                    "enum": [
                                      "specific_email"
                                    ]
                                  },
                                  "recipientEmail": {
                                    "type": "string"
                                  },
                                  "recipientEmails": {
                                    "type": "array",
                                    "items": {
                                      "type": "string"
                                    }
                                  },
                                  "next": {
                                    "type": "string",
                                    "nullable": true
                                  }
                                }
                              },
                              {
                                "type": "object",
                                "additionalProperties": false,
                                "required": [
                                  "id",
                                  "type",
                                  "templateVersionId",
                                  "recipient",
                                  "recipientEmail",
                                  "next"
                                ],
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 160
                                  },
                                  "type": {
                                    "type": "string",
                                    "enum": [
                                      "email"
                                    ]
                                  },
                                  "templateVersionId": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 160
                                  },
                                  "recipient": {
                                    "type": "string",
                                    "enum": [
                                      "specific_email"
                                    ]
                                  },
                                  "recipientEmail": {
                                    "type": "string"
                                  },
                                  "recipientEmails": {
                                    "type": "array",
                                    "items": {
                                      "type": "string"
                                    }
                                  },
                                  "next": {
                                    "type": "string",
                                    "nullable": true
                                  }
                                }
                              },
                              {
                                "type": "object",
                                "additionalProperties": false,
                                "required": [
                                  "id",
                                  "type",
                                  "templateVersionId",
                                  "recipient",
                                  "next"
                                ],
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 160
                                  },
                                  "type": {
                                    "type": "string",
                                    "enum": [
                                      "email",
                                      "whatsapp"
                                    ]
                                  },
                                  "templateVersionId": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 160
                                  },
                                  "recipient": {
                                    "type": "string",
                                    "enum": [
                                      "invitee",
                                      "host"
                                    ]
                                  },
                                  "next": {
                                    "type": "string",
                                    "nullable": true
                                  }
                                }
                              }
                            ]
                          }
                        }
                      }
                    },
                    "labels": {
                      "type": "array",
                      "maxItems": 3,
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "name",
                          "color"
                        ],
                        "properties": {
                          "name": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 32
                          },
                          "color": {
                            "type": "string",
                            "enum": [
                              "blue",
                              "cyan",
                              "green",
                              "orange",
                              "pink",
                              "purple",
                              "gray"
                            ]
                          }
                        }
                      }
                    },
                    "emailContents": {
                      "type": "object",
                      "additionalProperties": {
                        "oneOf": [
                          {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "kind",
                              "texts"
                            ],
                            "properties": {
                              "kind": {
                                "type": "string",
                                "enum": [
                                  "reminder"
                                ]
                              },
                              "texts": {
                                "type": "object",
                                "additionalProperties": false,
                                "required": [
                                  "de",
                                  "en"
                                ],
                                "properties": {
                                  "de": {
                                    "type": "object",
                                    "additionalProperties": false,
                                    "required": [
                                      "subject",
                                      "subjectDate",
                                      "title",
                                      "greeting",
                                      "reply",
                                      "appointment",
                                      "meeting",
                                      "reschedule"
                                    ],
                                    "properties": {
                                      "subject": {
                                        "type": "string"
                                      },
                                      "subjectDate": {
                                        "type": "string"
                                      },
                                      "title": {
                                        "type": "string"
                                      },
                                      "greeting": {
                                        "type": "string"
                                      },
                                      "reply": {
                                        "type": "string"
                                      },
                                      "appointment": {
                                        "type": "string"
                                      },
                                      "meeting": {
                                        "type": "string"
                                      },
                                      "reschedule": {
                                        "type": "string"
                                      }
                                    }
                                  },
                                  "en": {
                                    "type": "object",
                                    "additionalProperties": false,
                                    "required": [
                                      "subject",
                                      "subjectDate",
                                      "title",
                                      "greeting",
                                      "reply",
                                      "appointment",
                                      "meeting",
                                      "reschedule"
                                    ],
                                    "properties": {
                                      "subject": {
                                        "type": "string"
                                      },
                                      "subjectDate": {
                                        "type": "string"
                                      },
                                      "title": {
                                        "type": "string"
                                      },
                                      "greeting": {
                                        "type": "string"
                                      },
                                      "reply": {
                                        "type": "string"
                                      },
                                      "appointment": {
                                        "type": "string"
                                      },
                                      "meeting": {
                                        "type": "string"
                                      },
                                      "reschedule": {
                                        "type": "string"
                                      }
                                    }
                                  }
                                }
                              }
                            }
                          },
                          {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "kind",
                              "locales"
                            ],
                            "properties": {
                              "kind": {
                                "type": "string",
                                "enum": [
                                  "email"
                                ]
                              },
                              "locales": {
                                "type": "object",
                                "additionalProperties": false,
                                "required": [
                                  "de",
                                  "en"
                                ],
                                "properties": {
                                  "de": {
                                    "type": "object",
                                    "additionalProperties": false,
                                    "required": [
                                      "subject",
                                      "text",
                                      "html"
                                    ],
                                    "properties": {
                                      "subject": {
                                        "type": "string"
                                      },
                                      "text": {
                                        "type": "string"
                                      },
                                      "html": {
                                        "type": "string"
                                      }
                                    }
                                  },
                                  "en": {
                                    "type": "object",
                                    "additionalProperties": false,
                                    "required": [
                                      "subject",
                                      "text",
                                      "html"
                                    ],
                                    "properties": {
                                      "subject": {
                                        "type": "string"
                                      },
                                      "text": {
                                        "type": "string"
                                      },
                                      "html": {
                                        "type": "string"
                                      }
                                    }
                                  }
                                }
                              }
                            }
                          }
                        ]
                      }
                    },
                    "publishedVersionId": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 160,
                      "nullable": true
                    },
                    "status": {
                      "type": "string",
                      "enum": [
                        "draft",
                        "published"
                      ]
                    },
                    "isDefault": {
                      "type": "boolean"
                    },
                    "usedByCount": {
                      "type": "integer"
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "revision": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 128
                    }
                  }
                }
              },
              "total": {
                "type": "integer"
              },
              "limit": {
                "type": "integer"
              },
              "offset": {
                "type": "integer"
              },
              "canUseWhatsApp": {
                "type": "boolean"
              },
              "limits": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "maxNodes",
                  "maxDurationSeconds",
                  "maxFlowsPerFunnel"
                ],
                "properties": {
                  "maxNodes": {
                    "type": "integer"
                  },
                  "maxRecipientsPerEmail": {
                    "type": "integer"
                  },
                  "dailyEmailLimit": {
                    "type": "integer"
                  },
                  "maxDurationSeconds": {
                    "type": "number"
                  },
                  "maxFlowsPerFunnel": {
                    "type": "integer"
                  },
                  "extendedTriggersEnabled": {
                    "type": "boolean"
                  },
                  "editableEmailsEnabled": {
                    "type": "boolean"
                  },
                  "specificEmailRecipientEnabled": {
                    "type": "boolean"
                  },
                  "multipleEmailRecipientsEnabled": {
                    "type": "boolean"
                  }
                }
              },
              "defaultReminderTrigger": {
                "oneOf": [
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "kind"
                    ],
                    "properties": {
                      "kind": {
                        "type": "string",
                        "enum": [
                          "booking_created"
                        ]
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "kind"
                    ],
                    "properties": {
                      "kind": {
                        "type": "string",
                        "enum": [
                          "confirmation_pending"
                        ]
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "kind"
                    ],
                    "properties": {
                      "kind": {
                        "type": "string",
                        "enum": [
                          "after_booking_end"
                        ]
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "kind"
                    ],
                    "properties": {
                      "kind": {
                        "type": "string",
                        "enum": [
                          "booking_rescheduled"
                        ]
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "kind",
                      "offsetSeconds"
                    ],
                    "properties": {
                      "kind": {
                        "type": "string",
                        "enum": [
                          "before_booking"
                        ]
                      },
                      "offsetSeconds": {
                        "type": "number",
                        "minimum": 0,
                        "description": "Positive duration in elapsed seconds; zero is rejected by domain validation."
                      }
                    }
                  }
                ]
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "401": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "403": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "404": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "409": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "410": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "413": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "415": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "422": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
      "headers": {
        "Retry-After": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Limit": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Remaining": {
          "schema": {
            "type": "integer",
            "minimum": 0
          }
        },
        "RateLimit-Reset": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "rate_limited"
                    ]
                  },
                  "message": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "500": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "503": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
Beta, ohne Stabilitätszusage

POST /v1/sequences

createSequence

Berechtigungen: ["write:sequences"]

Anfrage und Antworten
{
  "operationId": "createSequence",
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "name",
            "draft"
          ],
          "properties": {
            "name": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            },
            "draft": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "schemaVersion",
                "nodes"
              ],
              "properties": {
                "schemaVersion": {
                  "type": "integer",
                  "enum": [
                    1
                  ]
                },
                "nodes": {
                  "type": "array",
                  "minItems": 1,
                  "items": {
                    "oneOf": [
                      {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "id",
                          "type",
                          "trigger",
                          "next"
                        ],
                        "properties": {
                          "id": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 160
                          },
                          "type": {
                            "type": "string",
                            "enum": [
                              "trigger"
                            ]
                          },
                          "trigger": {
                            "oneOf": [
                              {
                                "type": "object",
                                "additionalProperties": false,
                                "required": [
                                  "kind"
                                ],
                                "properties": {
                                  "kind": {
                                    "type": "string",
                                    "enum": [
                                      "booking_created"
                                    ]
                                  }
                                }
                              },
                              {
                                "type": "object",
                                "additionalProperties": false,
                                "required": [
                                  "kind"
                                ],
                                "properties": {
                                  "kind": {
                                    "type": "string",
                                    "enum": [
                                      "confirmation_pending"
                                    ]
                                  }
                                }
                              },
                              {
                                "type": "object",
                                "additionalProperties": false,
                                "required": [
                                  "kind"
                                ],
                                "properties": {
                                  "kind": {
                                    "type": "string",
                                    "enum": [
                                      "after_booking_end"
                                    ]
                                  }
                                }
                              },
                              {
                                "type": "object",
                                "additionalProperties": false,
                                "required": [
                                  "kind"
                                ],
                                "properties": {
                                  "kind": {
                                    "type": "string",
                                    "enum": [
                                      "booking_rescheduled"
                                    ]
                                  }
                                }
                              },
                              {
                                "type": "object",
                                "additionalProperties": false,
                                "required": [
                                  "kind",
                                  "offsetSeconds"
                                ],
                                "properties": {
                                  "kind": {
                                    "type": "string",
                                    "enum": [
                                      "before_booking"
                                    ]
                                  },
                                  "offsetSeconds": {
                                    "type": "number",
                                    "minimum": 0,
                                    "description": "Positive duration in elapsed seconds; zero is rejected by domain validation."
                                  }
                                }
                              }
                            ]
                          },
                          "next": {
                            "type": "string",
                            "nullable": true
                          }
                        }
                      },
                      {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "id",
                          "type",
                          "durationSeconds",
                          "next"
                        ],
                        "properties": {
                          "id": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 160
                          },
                          "type": {
                            "type": "string",
                            "enum": [
                              "wait"
                            ]
                          },
                          "durationSeconds": {
                            "type": "number",
                            "minimum": 0,
                            "description": "Positive duration in elapsed seconds; zero is rejected by domain validation."
                          },
                          "next": {
                            "type": "string",
                            "nullable": true
                          }
                        }
                      },
                      {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "id",
                          "type",
                          "condition",
                          "yes",
                          "no"
                        ],
                        "properties": {
                          "id": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 160
                          },
                          "type": {
                            "type": "string",
                            "enum": [
                              "branch"
                            ]
                          },
                          "condition": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "kind",
                              "version"
                            ],
                            "properties": {
                              "kind": {
                                "type": "string",
                                "enum": [
                                  "booking_confirmed"
                                ]
                              },
                              "version": {
                                "type": "integer",
                                "enum": [
                                  1
                                ]
                              }
                            }
                          },
                          "yes": {
                            "type": "string",
                            "nullable": true
                          },
                          "no": {
                            "type": "string",
                            "nullable": true
                          }
                        }
                      },
                      {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "id",
                          "type",
                          "content",
                          "recipient",
                          "next"
                        ],
                        "properties": {
                          "id": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 160
                          },
                          "type": {
                            "type": "string",
                            "enum": [
                              "email"
                            ]
                          },
                          "content": {
                            "oneOf": [
                              {
                                "type": "object",
                                "additionalProperties": false,
                                "required": [
                                  "kind",
                                  "texts"
                                ],
                                "properties": {
                                  "kind": {
                                    "type": "string",
                                    "enum": [
                                      "reminder"
                                    ]
                                  },
                                  "texts": {
                                    "type": "object",
                                    "additionalProperties": false,
                                    "required": [
                                      "de",
                                      "en"
                                    ],
                                    "properties": {
                                      "de": {
                                        "type": "object",
                                        "additionalProperties": false,
                                        "required": [
                                          "subject",
                                          "subjectDate",
                                          "title",
                                          "greeting",
                                          "reply",
                                          "appointment",
                                          "meeting",
                                          "reschedule"
                                        ],
                                        "properties": {
                                          "subject": {
                                            "type": "string"
                                          },
                                          "subjectDate": {
                                            "type": "string"
                                          },
                                          "title": {
                                            "type": "string"
                                          },
                                          "greeting": {
                                            "type": "string"
                                          },
                                          "reply": {
                                            "type": "string"
                                          },
                                          "appointment": {
                                            "type": "string"
                                          },
                                          "meeting": {
                                            "type": "string"
                                          },
                                          "reschedule": {
                                            "type": "string"
                                          }
                                        }
                                      },
                                      "en": {
                                        "type": "object",
                                        "additionalProperties": false,
                                        "required": [
                                          "subject",
                                          "subjectDate",
                                          "title",
                                          "greeting",
                                          "reply",
                                          "appointment",
                                          "meeting",
                                          "reschedule"
                                        ],
                                        "properties": {
                                          "subject": {
                                            "type": "string"
                                          },
                                          "subjectDate": {
                                            "type": "string"
                                          },
                                          "title": {
                                            "type": "string"
                                          },
                                          "greeting": {
                                            "type": "string"
                                          },
                                          "reply": {
                                            "type": "string"
                                          },
                                          "appointment": {
                                            "type": "string"
                                          },
                                          "meeting": {
                                            "type": "string"
                                          },
                                          "reschedule": {
                                            "type": "string"
                                          }
                                        }
                                      }
                                    }
                                  }
                                }
                              },
                              {
                                "type": "object",
                                "additionalProperties": false,
                                "required": [
                                  "kind",
                                  "locales"
                                ],
                                "properties": {
                                  "kind": {
                                    "type": "string",
                                    "enum": [
                                      "email"
                                    ]
                                  },
                                  "locales": {
                                    "type": "object",
                                    "additionalProperties": false,
                                    "required": [
                                      "de",
                                      "en"
                                    ],
                                    "properties": {
                                      "de": {
                                        "type": "object",
                                        "additionalProperties": false,
                                        "required": [
                                          "subject",
                                          "text",
                                          "html"
                                        ],
                                        "properties": {
                                          "subject": {
                                            "type": "string"
                                          },
                                          "text": {
                                            "type": "string"
                                          },
                                          "html": {
                                            "type": "string"
                                          }
                                        }
                                      },
                                      "en": {
                                        "type": "object",
                                        "additionalProperties": false,
                                        "required": [
                                          "subject",
                                          "text",
                                          "html"
                                        ],
                                        "properties": {
                                          "subject": {
                                            "type": "string"
                                          },
                                          "text": {
                                            "type": "string"
                                          },
                                          "html": {
                                            "type": "string"
                                          }
                                        }
                                      }
                                    }
                                  }
                                }
                              }
                            ]
                          },
                          "recipient": {
                            "type": "string",
                            "enum": [
                              "invitee",
                              "host"
                            ]
                          },
                          "next": {
                            "type": "string",
                            "nullable": true
                          }
                        }
                      },
                      {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "id",
                          "type",
                          "content",
                          "recipient",
                          "recipientEmail",
                          "next"
                        ],
                        "properties": {
                          "id": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 160
                          },
                          "type": {
                            "type": "string",
                            "enum": [
                              "email"
                            ]
                          },
                          "content": {
                            "oneOf": [
                              {
                                "type": "object",
                                "additionalProperties": false,
                                "required": [
                                  "kind",
                                  "texts"
                                ],
                                "properties": {
                                  "kind": {
                                    "type": "string",
                                    "enum": [
                                      "reminder"
                                    ]
                                  },
                                  "texts": {
                                    "type": "object",
                                    "additionalProperties": false,
                                    "required": [
                                      "de",
                                      "en"
                                    ],
                                    "properties": {
                                      "de": {
                                        "type": "object",
                                        "additionalProperties": false,
                                        "required": [
                                          "subject",
                                          "subjectDate",
                                          "title",
                                          "greeting",
                                          "reply",
                                          "appointment",
                                          "meeting",
                                          "reschedule"
                                        ],
                                        "properties": {
                                          "subject": {
                                            "type": "string"
                                          },
                                          "subjectDate": {
                                            "type": "string"
                                          },
                                          "title": {
                                            "type": "string"
                                          },
                                          "greeting": {
                                            "type": "string"
                                          },
                                          "reply": {
                                            "type": "string"
                                          },
                                          "appointment": {
                                            "type": "string"
                                          },
                                          "meeting": {
                                            "type": "string"
                                          },
                                          "reschedule": {
                                            "type": "string"
                                          }
                                        }
                                      },
                                      "en": {
                                        "type": "object",
                                        "additionalProperties": false,
                                        "required": [
                                          "subject",
                                          "subjectDate",
                                          "title",
                                          "greeting",
                                          "reply",
                                          "appointment",
                                          "meeting",
                                          "reschedule"
                                        ],
                                        "properties": {
                                          "subject": {
                                            "type": "string"
                                          },
                                          "subjectDate": {
                                            "type": "string"
                                          },
                                          "title": {
                                            "type": "string"
                                          },
                                          "greeting": {
                                            "type": "string"
                                          },
                                          "reply": {
                                            "type": "string"
                                          },
                                          "appointment": {
                                            "type": "string"
                                          },
                                          "meeting": {
                                            "type": "string"
                                          },
                                          "reschedule": {
                                            "type": "string"
                                          }
                                        }
                                      }
                                    }
                                  }
                                }
                              },
                              {
                                "type": "object",
                                "additionalProperties": false,
                                "required": [
                                  "kind",
                                  "locales"
                                ],
                                "properties": {
                                  "kind": {
                                    "type": "string",
                                    "enum": [
                                      "email"
                                    ]
                                  },
                                  "locales": {
                                    "type": "object",
                                    "additionalProperties": false,
                                    "required": [
                                      "de",
                                      "en"
                                    ],
                                    "properties": {
                                      "de": {
                                        "type": "object",
                                        "additionalProperties": false,
                                        "required": [
                                          "subject",
                                          "text",
                                          "html"
                                        ],
                                        "properties": {
                                          "subject": {
                                            "type": "string"
                                          },
                                          "text": {
                                            "type": "string"
                                          },
                                          "html": {
                                            "type": "string"
                                          }
                                        }
                                      },
                                      "en": {
                                        "type": "object",
                                        "additionalProperties": false,
                                        "required": [
                                          "subject",
                                          "text",
                                          "html"
                                        ],
                                        "properties": {
                                          "subject": {
                                            "type": "string"
                                          },
                                          "text": {
                                            "type": "string"
                                          },
                                          "html": {
                                            "type": "string"
                                          }
                                        }
                                      }
                                    }
                                  }
                                }
                              }
                            ]
                          },
                          "recipient": {
                            "type": "string",
                            "enum": [
                              "specific_email"
                            ]
                          },
                          "recipientEmail": {
                            "type": "string"
                          },
                          "recipientEmails": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "next": {
                            "type": "string",
                            "nullable": true
                          }
                        }
                      },
                      {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "id",
                          "type",
                          "templateVersionId",
                          "recipient",
                          "recipientEmail",
                          "next"
                        ],
                        "properties": {
                          "id": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 160
                          },
                          "type": {
                            "type": "string",
                            "enum": [
                              "email"
                            ]
                          },
                          "templateVersionId": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 160
                          },
                          "recipient": {
                            "type": "string",
                            "enum": [
                              "specific_email"
                            ]
                          },
                          "recipientEmail": {
                            "type": "string"
                          },
                          "recipientEmails": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "next": {
                            "type": "string",
                            "nullable": true
                          }
                        }
                      },
                      {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "id",
                          "type",
                          "templateVersionId",
                          "recipient",
                          "next"
                        ],
                        "properties": {
                          "id": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 160
                          },
                          "type": {
                            "type": "string",
                            "enum": [
                              "email",
                              "whatsapp"
                            ]
                          },
                          "templateVersionId": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 160
                          },
                          "recipient": {
                            "type": "string",
                            "enum": [
                              "invitee",
                              "host"
                            ]
                          },
                          "next": {
                            "type": "string",
                            "nullable": true
                          }
                        }
                      }
                    ]
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "parameters": [
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "idempotency-key",
      "required": true
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 2048
      },
      "in": "header",
      "name": "x-booking-token",
      "required": false
    },
    {
      "schema": {
        "type": "string"
      },
      "in": "header",
      "name": "x-workspace-id",
      "required": false,
      "description": "Workspace ID. Required for session authentication when the user has multiple memberships; must name one of their workspaces. API keys remain bound to their own workspace."
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "x-csrf-token",
      "required": false,
      "description": "Required for cookie session mutations; not required for API keys."
    }
  ],
  "security": [
    {
      "apiKey": []
    },
    {
      "session": []
    }
  ],
  "x-required-scopes": [
    "write:sequences"
  ],
  "x-public-api": true,
  "x-api-stability": "beta",
  "responses": {
    "201": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "id",
              "workspaceId",
              "name",
              "draft",
              "publishedVersionId",
              "status",
              "isDefault",
              "usedByCount",
              "createdAt",
              "revision"
            ],
            "properties": {
              "id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 160
              },
              "workspaceId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 160
              },
              "name": {
                "type": "string",
                "minLength": 1,
                "maxLength": 200
              },
              "draft": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "schemaVersion",
                  "nodes"
                ],
                "properties": {
                  "schemaVersion": {
                    "type": "integer",
                    "enum": [
                      1
                    ]
                  },
                  "nodes": {
                    "type": "array",
                    "minItems": 1,
                    "items": {
                      "oneOf": [
                        {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "id",
                            "type",
                            "trigger",
                            "next"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 160
                            },
                            "type": {
                              "type": "string",
                              "enum": [
                                "trigger"
                              ]
                            },
                            "trigger": {
                              "oneOf": [
                                {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "required": [
                                    "kind"
                                  ],
                                  "properties": {
                                    "kind": {
                                      "type": "string",
                                      "enum": [
                                        "booking_created"
                                      ]
                                    }
                                  }
                                },
                                {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "required": [
                                    "kind"
                                  ],
                                  "properties": {
                                    "kind": {
                                      "type": "string",
                                      "enum": [
                                        "confirmation_pending"
                                      ]
                                    }
                                  }
                                },
                                {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "required": [
                                    "kind"
                                  ],
                                  "properties": {
                                    "kind": {
                                      "type": "string",
                                      "enum": [
                                        "after_booking_end"
                                      ]
                                    }
                                  }
                                },
                                {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "required": [
                                    "kind"
                                  ],
                                  "properties": {
                                    "kind": {
                                      "type": "string",
                                      "enum": [
                                        "booking_rescheduled"
                                      ]
                                    }
                                  }
                                },
                                {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "required": [
                                    "kind",
                                    "offsetSeconds"
                                  ],
                                  "properties": {
                                    "kind": {
                                      "type": "string",
                                      "enum": [
                                        "before_booking"
                                      ]
                                    },
                                    "offsetSeconds": {
                                      "type": "number",
                                      "minimum": 0,
                                      "description": "Positive duration in elapsed seconds; zero is rejected by domain validation."
                                    }
                                  }
                                }
                              ]
                            },
                            "next": {
                              "type": "string",
                              "nullable": true
                            }
                          }
                        },
                        {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "id",
                            "type",
                            "durationSeconds",
                            "next"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 160
                            },
                            "type": {
                              "type": "string",
                              "enum": [
                                "wait"
                              ]
                            },
                            "durationSeconds": {
                              "type": "number",
                              "minimum": 0,
                              "description": "Positive duration in elapsed seconds; zero is rejected by domain validation."
                            },
                            "next": {
                              "type": "string",
                              "nullable": true
                            }
                          }
                        },
                        {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "id",
                            "type",
                            "condition",
                            "yes",
                            "no"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 160
                            },
                            "type": {
                              "type": "string",
                              "enum": [
                                "branch"
                              ]
                            },
                            "condition": {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "kind",
                                "version"
                              ],
                              "properties": {
                                "kind": {
                                  "type": "string",
                                  "enum": [
                                    "booking_confirmed"
                                  ]
                                },
                                "version": {
                                  "type": "integer",
                                  "enum": [
                                    1
                                  ]
                                }
                              }
                            },
                            "yes": {
                              "type": "string",
                              "nullable": true
                            },
                            "no": {
                              "type": "string",
                              "nullable": true
                            }
                          }
                        },
                        {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "id",
                            "type",
                            "content",
                            "recipient",
                            "next"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 160
                            },
                            "type": {
                              "type": "string",
                              "enum": [
                                "email"
                              ]
                            },
                            "content": {
                              "oneOf": [
                                {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "required": [
                                    "kind",
                                    "texts"
                                  ],
                                  "properties": {
                                    "kind": {
                                      "type": "string",
                                      "enum": [
                                        "reminder"
                                      ]
                                    },
                                    "texts": {
                                      "type": "object",
                                      "additionalProperties": false,
                                      "required": [
                                        "de",
                                        "en"
                                      ],
                                      "properties": {
                                        "de": {
                                          "type": "object",
                                          "additionalProperties": false,
                                          "required": [
                                            "subject",
                                            "subjectDate",
                                            "title",
                                            "greeting",
                                            "reply",
                                            "appointment",
                                            "meeting",
                                            "reschedule"
                                          ],
                                          "properties": {
                                            "subject": {
                                              "type": "string"
                                            },
                                            "subjectDate": {
                                              "type": "string"
                                            },
                                            "title": {
                                              "type": "string"
                                            },
                                            "greeting": {
                                              "type": "string"
                                            },
                                            "reply": {
                                              "type": "string"
                                            },
                                            "appointment": {
                                              "type": "string"
                                            },
                                            "meeting": {
                                              "type": "string"
                                            },
                                            "reschedule": {
                                              "type": "string"
                                            }
                                          }
                                        },
                                        "en": {
                                          "type": "object",
                                          "additionalProperties": false,
                                          "required": [
                                            "subject",
                                            "subjectDate",
                                            "title",
                                            "greeting",
                                            "reply",
                                            "appointment",
                                            "meeting",
                                            "reschedule"
                                          ],
                                          "properties": {
                                            "subject": {
                                              "type": "string"
                                            },
                                            "subjectDate": {
                                              "type": "string"
                                            },
                                            "title": {
                                              "type": "string"
                                            },
                                            "greeting": {
                                              "type": "string"
                                            },
                                            "reply": {
                                              "type": "string"
                                            },
                                            "appointment": {
                                              "type": "string"
                                            },
                                            "meeting": {
                                              "type": "string"
                                            },
                                            "reschedule": {
                                              "type": "string"
                                            }
                                          }
                                        }
                                      }
                                    }
                                  }
                                },
                                {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "required": [
                                    "kind",
                                    "locales"
                                  ],
                                  "properties": {
                                    "kind": {
                                      "type": "string",
                                      "enum": [
                                        "email"
                                      ]
                                    },
                                    "locales": {
                                      "type": "object",
                                      "additionalProperties": false,
                                      "required": [
                                        "de",
                                        "en"
                                      ],
                                      "properties": {
                                        "de": {
                                          "type": "object",
                                          "additionalProperties": false,
                                          "required": [
                                            "subject",
                                            "text",
                                            "html"
                                          ],
                                          "properties": {
                                            "subject": {
                                              "type": "string"
                                            },
                                            "text": {
                                              "type": "string"
                                            },
                                            "html": {
                                              "type": "string"
                                            }
                                          }
                                        },
                                        "en": {
                                          "type": "object",
                                          "additionalProperties": false,
                                          "required": [
                                            "subject",
                                            "text",
                                            "html"
                                          ],
                                          "properties": {
                                            "subject": {
                                              "type": "string"
                                            },
                                            "text": {
                                              "type": "string"
                                            },
                                            "html": {
                                              "type": "string"
                                            }
                                          }
                                        }
                                      }
                                    }
                                  }
                                }
                              ]
                            },
                            "recipient": {
                              "type": "string",
                              "enum": [
                                "invitee",
                                "host"
                              ]
                            },
                            "next": {
                              "type": "string",
                              "nullable": true
                            }
                          }
                        },
                        {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "id",
                            "type",
                            "content",
                            "recipient",
                            "recipientEmail",
                            "next"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 160
                            },
                            "type": {
                              "type": "string",
                              "enum": [
                                "email"
                              ]
                            },
                            "content": {
                              "oneOf": [
                                {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "required": [
                                    "kind",
                                    "texts"
                                  ],
                                  "properties": {
                                    "kind": {
                                      "type": "string",
                                      "enum": [
                                        "reminder"
                                      ]
                                    },
                                    "texts": {
                                      "type": "object",
                                      "additionalProperties": false,
                                      "required": [
                                        "de",
                                        "en"
                                      ],
                                      "properties": {
                                        "de": {
                                          "type": "object",
                                          "additionalProperties": false,
                                          "required": [
                                            "subject",
                                            "subjectDate",
                                            "title",
                                            "greeting",
                                            "reply",
                                            "appointment",
                                            "meeting",
                                            "reschedule"
                                          ],
                                          "properties": {
                                            "subject": {
                                              "type": "string"
                                            },
                                            "subjectDate": {
                                              "type": "string"
                                            },
                                            "title": {
                                              "type": "string"
                                            },
                                            "greeting": {
                                              "type": "string"
                                            },
                                            "reply": {
                                              "type": "string"
                                            },
                                            "appointment": {
                                              "type": "string"
                                            },
                                            "meeting": {
                                              "type": "string"
                                            },
                                            "reschedule": {
                                              "type": "string"
                                            }
                                          }
                                        },
                                        "en": {
                                          "type": "object",
                                          "additionalProperties": false,
                                          "required": [
                                            "subject",
                                            "subjectDate",
                                            "title",
                                            "greeting",
                                            "reply",
                                            "appointment",
                                            "meeting",
                                            "reschedule"
                                          ],
                                          "properties": {
                                            "subject": {
                                              "type": "string"
                                            },
                                            "subjectDate": {
                                              "type": "string"
                                            },
                                            "title": {
                                              "type": "string"
                                            },
                                            "greeting": {
                                              "type": "string"
                                            },
                                            "reply": {
                                              "type": "string"
                                            },
                                            "appointment": {
                                              "type": "string"
                                            },
                                            "meeting": {
                                              "type": "string"
                                            },
                                            "reschedule": {
                                              "type": "string"
                                            }
                                          }
                                        }
                                      }
                                    }
                                  }
                                },
                                {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "required": [
                                    "kind",
                                    "locales"
                                  ],
                                  "properties": {
                                    "kind": {
                                      "type": "string",
                                      "enum": [
                                        "email"
                                      ]
                                    },
                                    "locales": {
                                      "type": "object",
                                      "additionalProperties": false,
                                      "required": [
                                        "de",
                                        "en"
                                      ],
                                      "properties": {
                                        "de": {
                                          "type": "object",
                                          "additionalProperties": false,
                                          "required": [
                                            "subject",
                                            "text",
                                            "html"
                                          ],
                                          "properties": {
                                            "subject": {
                                              "type": "string"
                                            },
                                            "text": {
                                              "type": "string"
                                            },
                                            "html": {
                                              "type": "string"
                                            }
                                          }
                                        },
                                        "en": {
                                          "type": "object",
                                          "additionalProperties": false,
                                          "required": [
                                            "subject",
                                            "text",
                                            "html"
                                          ],
                                          "properties": {
                                            "subject": {
                                              "type": "string"
                                            },
                                            "text": {
                                              "type": "string"
                                            },
                                            "html": {
                                              "type": "string"
                                            }
                                          }
                                        }
                                      }
                                    }
                                  }
                                }
                              ]
                            },
                            "recipient": {
                              "type": "string",
                              "enum": [
                                "specific_email"
                              ]
                            },
                            "recipientEmail": {
                              "type": "string"
                            },
                            "recipientEmails": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            "next": {
                              "type": "string",
                              "nullable": true
                            }
                          }
                        },
                        {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "id",
                            "type",
                            "templateVersionId",
                            "recipient",
                            "recipientEmail",
                            "next"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 160
                            },
                            "type": {
                              "type": "string",
                              "enum": [
                                "email"
                              ]
                            },
                            "templateVersionId": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 160
                            },
                            "recipient": {
                              "type": "string",
                              "enum": [
                                "specific_email"
                              ]
                            },
                            "recipientEmail": {
                              "type": "string"
                            },
                            "recipientEmails": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            "next": {
                              "type": "string",
                              "nullable": true
                            }
                          }
                        },
                        {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "id",
                            "type",
                            "templateVersionId",
                            "recipient",
                            "next"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 160
                            },
                            "type": {
                              "type": "string",
                              "enum": [
                                "email",
                                "whatsapp"
                              ]
                            },
                            "templateVersionId": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 160
                            },
                            "recipient": {
                              "type": "string",
                              "enum": [
                                "invitee",
                                "host"
                              ]
                            },
                            "next": {
                              "type": "string",
                              "nullable": true
                            }
                          }
                        }
                      ]
                    }
                  }
                }
              },
              "labels": {
                "type": "array",
                "maxItems": 3,
                "items": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "name",
                    "color"
                  ],
                  "properties": {
                    "name": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 32
                    },
                    "color": {
                      "type": "string",
                      "enum": [
                        "blue",
                        "cyan",
                        "green",
                        "orange",
                        "pink",
                        "purple",
                        "gray"
                      ]
                    }
                  }
                }
              },
              "emailContents": {
                "type": "object",
                "additionalProperties": {
                  "oneOf": [
                    {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "kind",
                        "texts"
                      ],
                      "properties": {
                        "kind": {
                          "type": "string",
                          "enum": [
                            "reminder"
                          ]
                        },
                        "texts": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "de",
                            "en"
                          ],
                          "properties": {
                            "de": {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "subject",
                                "subjectDate",
                                "title",
                                "greeting",
                                "reply",
                                "appointment",
                                "meeting",
                                "reschedule"
                              ],
                              "properties": {
                                "subject": {
                                  "type": "string"
                                },
                                "subjectDate": {
                                  "type": "string"
                                },
                                "title": {
                                  "type": "string"
                                },
                                "greeting": {
                                  "type": "string"
                                },
                                "reply": {
                                  "type": "string"
                                },
                                "appointment": {
                                  "type": "string"
                                },
                                "meeting": {
                                  "type": "string"
                                },
                                "reschedule": {
                                  "type": "string"
                                }
                              }
                            },
                            "en": {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "subject",
                                "subjectDate",
                                "title",
                                "greeting",
                                "reply",
                                "appointment",
                                "meeting",
                                "reschedule"
                              ],
                              "properties": {
                                "subject": {
                                  "type": "string"
                                },
                                "subjectDate": {
                                  "type": "string"
                                },
                                "title": {
                                  "type": "string"
                                },
                                "greeting": {
                                  "type": "string"
                                },
                                "reply": {
                                  "type": "string"
                                },
                                "appointment": {
                                  "type": "string"
                                },
                                "meeting": {
                                  "type": "string"
                                },
                                "reschedule": {
                                  "type": "string"
                                }
                              }
                            }
                          }
                        }
                      }
                    },
                    {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "kind",
                        "locales"
                      ],
                      "properties": {
                        "kind": {
                          "type": "string",
                          "enum": [
                            "email"
                          ]
                        },
                        "locales": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "de",
                            "en"
                          ],
                          "properties": {
                            "de": {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "subject",
                                "text",
                                "html"
                              ],
                              "properties": {
                                "subject": {
                                  "type": "string"
                                },
                                "text": {
                                  "type": "string"
                                },
                                "html": {
                                  "type": "string"
                                }
                              }
                            },
                            "en": {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "subject",
                                "text",
                                "html"
                              ],
                              "properties": {
                                "subject": {
                                  "type": "string"
                                },
                                "text": {
                                  "type": "string"
                                },
                                "html": {
                                  "type": "string"
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  ]
                }
              },
              "publishedVersionId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 160,
                "nullable": true
              },
              "status": {
                "type": "string",
                "enum": [
                  "draft",
                  "published"
                ]
              },
              "isDefault": {
                "type": "boolean"
              },
              "usedByCount": {
                "type": "integer"
              },
              "createdAt": {
                "type": "string",
                "format": "date-time"
              },
              "revision": {
                "type": "string",
                "minLength": 1,
                "maxLength": 128
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "401": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "403": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "404": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "409": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "410": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "413": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "415": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "422": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
      "headers": {
        "Retry-After": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Limit": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Remaining": {
          "schema": {
            "type": "integer",
            "minimum": 0
          }
        },
        "RateLimit-Reset": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "rate_limited"
                    ]
                  },
                  "message": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "500": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "503": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
Beta, ohne Stabilitätszusage

GET /v1/sequences/{sequenceId}

getSequence

Berechtigungen: ["read:sequences"]

Anfrage und Antworten
{
  "operationId": "getSequence",
  "parameters": [
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 160
      },
      "in": "path",
      "name": "sequenceId",
      "required": true
    },
    {
      "schema": {
        "type": "string"
      },
      "in": "header",
      "name": "x-workspace-id",
      "required": false,
      "description": "Workspace ID. Required for session authentication when the user has multiple memberships; must name one of their workspaces. API keys remain bound to their own workspace."
    }
  ],
  "security": [
    {
      "apiKey": []
    },
    {
      "session": []
    }
  ],
  "x-required-scopes": [
    "read:sequences"
  ],
  "x-public-api": true,
  "x-api-stability": "beta",
  "responses": {
    "200": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "id",
              "workspaceId",
              "name",
              "draft",
              "publishedVersionId",
              "status",
              "isDefault",
              "usedByCount",
              "createdAt",
              "revision"
            ],
            "properties": {
              "id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 160
              },
              "workspaceId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 160
              },
              "name": {
                "type": "string",
                "minLength": 1,
                "maxLength": 200
              },
              "draft": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "schemaVersion",
                  "nodes"
                ],
                "properties": {
                  "schemaVersion": {
                    "type": "integer",
                    "enum": [
                      1
                    ]
                  },
                  "nodes": {
                    "type": "array",
                    "minItems": 1,
                    "items": {
                      "oneOf": [
                        {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "id",
                            "type",
                            "trigger",
                            "next"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 160
                            },
                            "type": {
                              "type": "string",
                              "enum": [
                                "trigger"
                              ]
                            },
                            "trigger": {
                              "oneOf": [
                                {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "required": [
                                    "kind"
                                  ],
                                  "properties": {
                                    "kind": {
                                      "type": "string",
                                      "enum": [
                                        "booking_created"
                                      ]
                                    }
                                  }
                                },
                                {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "required": [
                                    "kind"
                                  ],
                                  "properties": {
                                    "kind": {
                                      "type": "string",
                                      "enum": [
                                        "confirmation_pending"
                                      ]
                                    }
                                  }
                                },
                                {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "required": [
                                    "kind"
                                  ],
                                  "properties": {
                                    "kind": {
                                      "type": "string",
                                      "enum": [
                                        "after_booking_end"
                                      ]
                                    }
                                  }
                                },
                                {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "required": [
                                    "kind"
                                  ],
                                  "properties": {
                                    "kind": {
                                      "type": "string",
                                      "enum": [
                                        "booking_rescheduled"
                                      ]
                                    }
                                  }
                                },
                                {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "required": [
                                    "kind",
                                    "offsetSeconds"
                                  ],
                                  "properties": {
                                    "kind": {
                                      "type": "string",
                                      "enum": [
                                        "before_booking"
                                      ]
                                    },
                                    "offsetSeconds": {
                                      "type": "number",
                                      "minimum": 0,
                                      "description": "Positive duration in elapsed seconds; zero is rejected by domain validation."
                                    }
                                  }
                                }
                              ]
                            },
                            "next": {
                              "type": "string",
                              "nullable": true
                            }
                          }
                        },
                        {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "id",
                            "type",
                            "durationSeconds",
                            "next"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 160
                            },
                            "type": {
                              "type": "string",
                              "enum": [
                                "wait"
                              ]
                            },
                            "durationSeconds": {
                              "type": "number",
                              "minimum": 0,
                              "description": "Positive duration in elapsed seconds; zero is rejected by domain validation."
                            },
                            "next": {
                              "type": "string",
                              "nullable": true
                            }
                          }
                        },
                        {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "id",
                            "type",
                            "condition",
                            "yes",
                            "no"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 160
                            },
                            "type": {
                              "type": "string",
                              "enum": [
                                "branch"
                              ]
                            },
                            "condition": {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "kind",
                                "version"
                              ],
                              "properties": {
                                "kind": {
                                  "type": "string",
                                  "enum": [
                                    "booking_confirmed"
                                  ]
                                },
                                "version": {
                                  "type": "integer",
                                  "enum": [
                                    1
                                  ]
                                }
                              }
                            },
                            "yes": {
                              "type": "string",
                              "nullable": true
                            },
                            "no": {
                              "type": "string",
                              "nullable": true
                            }
                          }
                        },
                        {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "id",
                            "type",
                            "content",
                            "recipient",
                            "next"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 160
                            },
                            "type": {
                              "type": "string",
                              "enum": [
                                "email"
                              ]
                            },
                            "content": {
                              "oneOf": [
                                {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "required": [
                                    "kind",
                                    "texts"
                                  ],
                                  "properties": {
                                    "kind": {
                                      "type": "string",
                                      "enum": [
                                        "reminder"
                                      ]
                                    },
                                    "texts": {
                                      "type": "object",
                                      "additionalProperties": false,
                                      "required": [
                                        "de",
                                        "en"
                                      ],
                                      "properties": {
                                        "de": {
                                          "type": "object",
                                          "additionalProperties": false,
                                          "required": [
                                            "subject",
                                            "subjectDate",
                                            "title",
                                            "greeting",
                                            "reply",
                                            "appointment",
                                            "meeting",
                                            "reschedule"
                                          ],
                                          "properties": {
                                            "subject": {
                                              "type": "string"
                                            },
                                            "subjectDate": {
                                              "type": "string"
                                            },
                                            "title": {
                                              "type": "string"
                                            },
                                            "greeting": {
                                              "type": "string"
                                            },
                                            "reply": {
                                              "type": "string"
                                            },
                                            "appointment": {
                                              "type": "string"
                                            },
                                            "meeting": {
                                              "type": "string"
                                            },
                                            "reschedule": {
                                              "type": "string"
                                            }
                                          }
                                        },
                                        "en": {
                                          "type": "object",
                                          "additionalProperties": false,
                                          "required": [
                                            "subject",
                                            "subjectDate",
                                            "title",
                                            "greeting",
                                            "reply",
                                            "appointment",
                                            "meeting",
                                            "reschedule"
                                          ],
                                          "properties": {
                                            "subject": {
                                              "type": "string"
                                            },
                                            "subjectDate": {
                                              "type": "string"
                                            },
                                            "title": {
                                              "type": "string"
                                            },
                                            "greeting": {
                                              "type": "string"
                                            },
                                            "reply": {
                                              "type": "string"
                                            },
                                            "appointment": {
                                              "type": "string"
                                            },
                                            "meeting": {
                                              "type": "string"
                                            },
                                            "reschedule": {
                                              "type": "string"
                                            }
                                          }
                                        }
                                      }
                                    }
                                  }
                                },
                                {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "required": [
                                    "kind",
                                    "locales"
                                  ],
                                  "properties": {
                                    "kind": {
                                      "type": "string",
                                      "enum": [
                                        "email"
                                      ]
                                    },
                                    "locales": {
                                      "type": "object",
                                      "additionalProperties": false,
                                      "required": [
                                        "de",
                                        "en"
                                      ],
                                      "properties": {
                                        "de": {
                                          "type": "object",
                                          "additionalProperties": false,
                                          "required": [
                                            "subject",
                                            "text",
                                            "html"
                                          ],
                                          "properties": {
                                            "subject": {
                                              "type": "string"
                                            },
                                            "text": {
                                              "type": "string"
                                            },
                                            "html": {
                                              "type": "string"
                                            }
                                          }
                                        },
                                        "en": {
                                          "type": "object",
                                          "additionalProperties": false,
                                          "required": [
                                            "subject",
                                            "text",
                                            "html"
                                          ],
                                          "properties": {
                                            "subject": {
                                              "type": "string"
                                            },
                                            "text": {
                                              "type": "string"
                                            },
                                            "html": {
                                              "type": "string"
                                            }
                                          }
                                        }
                                      }
                                    }
                                  }
                                }
                              ]
                            },
                            "recipient": {
                              "type": "string",
                              "enum": [
                                "invitee",
                                "host"
                              ]
                            },
                            "next": {
                              "type": "string",
                              "nullable": true
                            }
                          }
                        },
                        {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "id",
                            "type",
                            "content",
                            "recipient",
                            "recipientEmail",
                            "next"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 160
                            },
                            "type": {
                              "type": "string",
                              "enum": [
                                "email"
                              ]
                            },
                            "content": {
                              "oneOf": [
                                {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "required": [
                                    "kind",
                                    "texts"
                                  ],
                                  "properties": {
                                    "kind": {
                                      "type": "string",
                                      "enum": [
                                        "reminder"
                                      ]
                                    },
                                    "texts": {
                                      "type": "object",
                                      "additionalProperties": false,
                                      "required": [
                                        "de",
                                        "en"
                                      ],
                                      "properties": {
                                        "de": {
                                          "type": "object",
                                          "additionalProperties": false,
                                          "required": [
                                            "subject",
                                            "subjectDate",
                                            "title",
                                            "greeting",
                                            "reply",
                                            "appointment",
                                            "meeting",
                                            "reschedule"
                                          ],
                                          "properties": {
                                            "subject": {
                                              "type": "string"
                                            },
                                            "subjectDate": {
                                              "type": "string"
                                            },
                                            "title": {
                                              "type": "string"
                                            },
                                            "greeting": {
                                              "type": "string"
                                            },
                                            "reply": {
                                              "type": "string"
                                            },
                                            "appointment": {
                                              "type": "string"
                                            },
                                            "meeting": {
                                              "type": "string"
                                            },
                                            "reschedule": {
                                              "type": "string"
                                            }
                                          }
                                        },
                                        "en": {
                                          "type": "object",
                                          "additionalProperties": false,
                                          "required": [
                                            "subject",
                                            "subjectDate",
                                            "title",
                                            "greeting",
                                            "reply",
                                            "appointment",
                                            "meeting",
                                            "reschedule"
                                          ],
                                          "properties": {
                                            "subject": {
                                              "type": "string"
                                            },
                                            "subjectDate": {
                                              "type": "string"
                                            },
                                            "title": {
                                              "type": "string"
                                            },
                                            "greeting": {
                                              "type": "string"
                                            },
                                            "reply": {
                                              "type": "string"
                                            },
                                            "appointment": {
                                              "type": "string"
                                            },
                                            "meeting": {
                                              "type": "string"
                                            },
                                            "reschedule": {
                                              "type": "string"
                                            }
                                          }
                                        }
                                      }
                                    }
                                  }
                                },
                                {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "required": [
                                    "kind",
                                    "locales"
                                  ],
                                  "properties": {
                                    "kind": {
                                      "type": "string",
                                      "enum": [
                                        "email"
                                      ]
                                    },
                                    "locales": {
                                      "type": "object",
                                      "additionalProperties": false,
                                      "required": [
                                        "de",
                                        "en"
                                      ],
                                      "properties": {
                                        "de": {
                                          "type": "object",
                                          "additionalProperties": false,
                                          "required": [
                                            "subject",
                                            "text",
                                            "html"
                                          ],
                                          "properties": {
                                            "subject": {
                                              "type": "string"
                                            },
                                            "text": {
                                              "type": "string"
                                            },
                                            "html": {
                                              "type": "string"
                                            }
                                          }
                                        },
                                        "en": {
                                          "type": "object",
                                          "additionalProperties": false,
                                          "required": [
                                            "subject",
                                            "text",
                                            "html"
                                          ],
                                          "properties": {
                                            "subject": {
                                              "type": "string"
                                            },
                                            "text": {
                                              "type": "string"
                                            },
                                            "html": {
                                              "type": "string"
                                            }
                                          }
                                        }
                                      }
                                    }
                                  }
                                }
                              ]
                            },
                            "recipient": {
                              "type": "string",
                              "enum": [
                                "specific_email"
                              ]
                            },
                            "recipientEmail": {
                              "type": "string"
                            },
                            "recipientEmails": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            "next": {
                              "type": "string",
                              "nullable": true
                            }
                          }
                        },
                        {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "id",
                            "type",
                            "templateVersionId",
                            "recipient",
                            "recipientEmail",
                            "next"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 160
                            },
                            "type": {
                              "type": "string",
                              "enum": [
                                "email"
                              ]
                            },
                            "templateVersionId": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 160
                            },
                            "recipient": {
                              "type": "string",
                              "enum": [
                                "specific_email"
                              ]
                            },
                            "recipientEmail": {
                              "type": "string"
                            },
                            "recipientEmails": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            "next": {
                              "type": "string",
                              "nullable": true
                            }
                          }
                        },
                        {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "id",
                            "type",
                            "templateVersionId",
                            "recipient",
                            "next"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 160
                            },
                            "type": {
                              "type": "string",
                              "enum": [
                                "email",
                                "whatsapp"
                              ]
                            },
                            "templateVersionId": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 160
                            },
                            "recipient": {
                              "type": "string",
                              "enum": [
                                "invitee",
                                "host"
                              ]
                            },
                            "next": {
                              "type": "string",
                              "nullable": true
                            }
                          }
                        }
                      ]
                    }
                  }
                }
              },
              "labels": {
                "type": "array",
                "maxItems": 3,
                "items": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "name",
                    "color"
                  ],
                  "properties": {
                    "name": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 32
                    },
                    "color": {
                      "type": "string",
                      "enum": [
                        "blue",
                        "cyan",
                        "green",
                        "orange",
                        "pink",
                        "purple",
                        "gray"
                      ]
                    }
                  }
                }
              },
              "emailContents": {
                "type": "object",
                "additionalProperties": {
                  "oneOf": [
                    {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "kind",
                        "texts"
                      ],
                      "properties": {
                        "kind": {
                          "type": "string",
                          "enum": [
                            "reminder"
                          ]
                        },
                        "texts": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "de",
                            "en"
                          ],
                          "properties": {
                            "de": {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "subject",
                                "subjectDate",
                                "title",
                                "greeting",
                                "reply",
                                "appointment",
                                "meeting",
                                "reschedule"
                              ],
                              "properties": {
                                "subject": {
                                  "type": "string"
                                },
                                "subjectDate": {
                                  "type": "string"
                                },
                                "title": {
                                  "type": "string"
                                },
                                "greeting": {
                                  "type": "string"
                                },
                                "reply": {
                                  "type": "string"
                                },
                                "appointment": {
                                  "type": "string"
                                },
                                "meeting": {
                                  "type": "string"
                                },
                                "reschedule": {
                                  "type": "string"
                                }
                              }
                            },
                            "en": {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "subject",
                                "subjectDate",
                                "title",
                                "greeting",
                                "reply",
                                "appointment",
                                "meeting",
                                "reschedule"
                              ],
                              "properties": {
                                "subject": {
                                  "type": "string"
                                },
                                "subjectDate": {
                                  "type": "string"
                                },
                                "title": {
                                  "type": "string"
                                },
                                "greeting": {
                                  "type": "string"
                                },
                                "reply": {
                                  "type": "string"
                                },
                                "appointment": {
                                  "type": "string"
                                },
                                "meeting": {
                                  "type": "string"
                                },
                                "reschedule": {
                                  "type": "string"
                                }
                              }
                            }
                          }
                        }
                      }
                    },
                    {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "kind",
                        "locales"
                      ],
                      "properties": {
                        "kind": {
                          "type": "string",
                          "enum": [
                            "email"
                          ]
                        },
                        "locales": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "de",
                            "en"
                          ],
                          "properties": {
                            "de": {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "subject",
                                "text",
                                "html"
                              ],
                              "properties": {
                                "subject": {
                                  "type": "string"
                                },
                                "text": {
                                  "type": "string"
                                },
                                "html": {
                                  "type": "string"
                                }
                              }
                            },
                            "en": {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "subject",
                                "text",
                                "html"
                              ],
                              "properties": {
                                "subject": {
                                  "type": "string"
                                },
                                "text": {
                                  "type": "string"
                                },
                                "html": {
                                  "type": "string"
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  ]
                }
              },
              "publishedVersionId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 160,
                "nullable": true
              },
              "status": {
                "type": "string",
                "enum": [
                  "draft",
                  "published"
                ]
              },
              "isDefault": {
                "type": "boolean"
              },
              "usedByCount": {
                "type": "integer"
              },
              "createdAt": {
                "type": "string",
                "format": "date-time"
              },
              "revision": {
                "type": "string",
                "minLength": 1,
                "maxLength": 128
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "401": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "403": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "404": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "409": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "410": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "413": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "415": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "422": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
      "headers": {
        "Retry-After": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Limit": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Remaining": {
          "schema": {
            "type": "integer",
            "minimum": 0
          }
        },
        "RateLimit-Reset": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "rate_limited"
                    ]
                  },
                  "message": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "500": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "503": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
Beta, ohne Stabilitätszusage

PUT /v1/sequences/{sequenceId}

updateSequence

Berechtigungen: ["write:sequences"]

Anfrage und Antworten
{
  "operationId": "updateSequence",
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "expectedRevision"
          ],
          "properties": {
            "name": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            },
            "draft": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "schemaVersion",
                "nodes"
              ],
              "properties": {
                "schemaVersion": {
                  "type": "integer",
                  "enum": [
                    1
                  ]
                },
                "nodes": {
                  "type": "array",
                  "minItems": 1,
                  "items": {
                    "oneOf": [
                      {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "id",
                          "type",
                          "trigger",
                          "next"
                        ],
                        "properties": {
                          "id": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 160
                          },
                          "type": {
                            "type": "string",
                            "enum": [
                              "trigger"
                            ]
                          },
                          "trigger": {
                            "oneOf": [
                              {
                                "type": "object",
                                "additionalProperties": false,
                                "required": [
                                  "kind"
                                ],
                                "properties": {
                                  "kind": {
                                    "type": "string",
                                    "enum": [
                                      "booking_created"
                                    ]
                                  }
                                }
                              },
                              {
                                "type": "object",
                                "additionalProperties": false,
                                "required": [
                                  "kind"
                                ],
                                "properties": {
                                  "kind": {
                                    "type": "string",
                                    "enum": [
                                      "confirmation_pending"
                                    ]
                                  }
                                }
                              },
                              {
                                "type": "object",
                                "additionalProperties": false,
                                "required": [
                                  "kind"
                                ],
                                "properties": {
                                  "kind": {
                                    "type": "string",
                                    "enum": [
                                      "after_booking_end"
                                    ]
                                  }
                                }
                              },
                              {
                                "type": "object",
                                "additionalProperties": false,
                                "required": [
                                  "kind"
                                ],
                                "properties": {
                                  "kind": {
                                    "type": "string",
                                    "enum": [
                                      "booking_rescheduled"
                                    ]
                                  }
                                }
                              },
                              {
                                "type": "object",
                                "additionalProperties": false,
                                "required": [
                                  "kind",
                                  "offsetSeconds"
                                ],
                                "properties": {
                                  "kind": {
                                    "type": "string",
                                    "enum": [
                                      "before_booking"
                                    ]
                                  },
                                  "offsetSeconds": {
                                    "type": "number",
                                    "minimum": 0,
                                    "description": "Positive duration in elapsed seconds; zero is rejected by domain validation."
                                  }
                                }
                              }
                            ]
                          },
                          "next": {
                            "type": "string",
                            "nullable": true
                          }
                        }
                      },
                      {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "id",
                          "type",
                          "durationSeconds",
                          "next"
                        ],
                        "properties": {
                          "id": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 160
                          },
                          "type": {
                            "type": "string",
                            "enum": [
                              "wait"
                            ]
                          },
                          "durationSeconds": {
                            "type": "number",
                            "minimum": 0,
                            "description": "Positive duration in elapsed seconds; zero is rejected by domain validation."
                          },
                          "next": {
                            "type": "string",
                            "nullable": true
                          }
                        }
                      },
                      {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "id",
                          "type",
                          "condition",
                          "yes",
                          "no"
                        ],
                        "properties": {
                          "id": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 160
                          },
                          "type": {
                            "type": "string",
                            "enum": [
                              "branch"
                            ]
                          },
                          "condition": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "kind",
                              "version"
                            ],
                            "properties": {
                              "kind": {
                                "type": "string",
                                "enum": [
                                  "booking_confirmed"
                                ]
                              },
                              "version": {
                                "type": "integer",
                                "enum": [
                                  1
                                ]
                              }
                            }
                          },
                          "yes": {
                            "type": "string",
                            "nullable": true
                          },
                          "no": {
                            "type": "string",
                            "nullable": true
                          }
                        }
                      },
                      {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "id",
                          "type",
                          "content",
                          "recipient",
                          "next"
                        ],
                        "properties": {
                          "id": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 160
                          },
                          "type": {
                            "type": "string",
                            "enum": [
                              "email"
                            ]
                          },
                          "content": {
                            "oneOf": [
                              {
                                "type": "object",
                                "additionalProperties": false,
                                "required": [
                                  "kind",
                                  "texts"
                                ],
                                "properties": {
                                  "kind": {
                                    "type": "string",
                                    "enum": [
                                      "reminder"
                                    ]
                                  },
                                  "texts": {
                                    "type": "object",
                                    "additionalProperties": false,
                                    "required": [
                                      "de",
                                      "en"
                                    ],
                                    "properties": {
                                      "de": {
                                        "type": "object",
                                        "additionalProperties": false,
                                        "required": [
                                          "subject",
                                          "subjectDate",
                                          "title",
                                          "greeting",
                                          "reply",
                                          "appointment",
                                          "meeting",
                                          "reschedule"
                                        ],
                                        "properties": {
                                          "subject": {
                                            "type": "string"
                                          },
                                          "subjectDate": {
                                            "type": "string"
                                          },
                                          "title": {
                                            "type": "string"
                                          },
                                          "greeting": {
                                            "type": "string"
                                          },
                                          "reply": {
                                            "type": "string"
                                          },
                                          "appointment": {
                                            "type": "string"
                                          },
                                          "meeting": {
                                            "type": "string"
                                          },
                                          "reschedule": {
                                            "type": "string"
                                          }
                                        }
                                      },
                                      "en": {
                                        "type": "object",
                                        "additionalProperties": false,
                                        "required": [
                                          "subject",
                                          "subjectDate",
                                          "title",
                                          "greeting",
                                          "reply",
                                          "appointment",
                                          "meeting",
                                          "reschedule"
                                        ],
                                        "properties": {
                                          "subject": {
                                            "type": "string"
                                          },
                                          "subjectDate": {
                                            "type": "string"
                                          },
                                          "title": {
                                            "type": "string"
                                          },
                                          "greeting": {
                                            "type": "string"
                                          },
                                          "reply": {
                                            "type": "string"
                                          },
                                          "appointment": {
                                            "type": "string"
                                          },
                                          "meeting": {
                                            "type": "string"
                                          },
                                          "reschedule": {
                                            "type": "string"
                                          }
                                        }
                                      }
                                    }
                                  }
                                }
                              },
                              {
                                "type": "object",
                                "additionalProperties": false,
                                "required": [
                                  "kind",
                                  "locales"
                                ],
                                "properties": {
                                  "kind": {
                                    "type": "string",
                                    "enum": [
                                      "email"
                                    ]
                                  },
                                  "locales": {
                                    "type": "object",
                                    "additionalProperties": false,
                                    "required": [
                                      "de",
                                      "en"
                                    ],
                                    "properties": {
                                      "de": {
                                        "type": "object",
                                        "additionalProperties": false,
                                        "required": [
                                          "subject",
                                          "text",
                                          "html"
                                        ],
                                        "properties": {
                                          "subject": {
                                            "type": "string"
                                          },
                                          "text": {
                                            "type": "string"
                                          },
                                          "html": {
                                            "type": "string"
                                          }
                                        }
                                      },
                                      "en": {
                                        "type": "object",
                                        "additionalProperties": false,
                                        "required": [
                                          "subject",
                                          "text",
                                          "html"
                                        ],
                                        "properties": {
                                          "subject": {
                                            "type": "string"
                                          },
                                          "text": {
                                            "type": "string"
                                          },
                                          "html": {
                                            "type": "string"
                                          }
                                        }
                                      }
                                    }
                                  }
                                }
                              }
                            ]
                          },
                          "recipient": {
                            "type": "string",
                            "enum": [
                              "invitee",
                              "host"
                            ]
                          },
                          "next": {
                            "type": "string",
                            "nullable": true
                          }
                        }
                      },
                      {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "id",
                          "type",
                          "content",
                          "recipient",
                          "recipientEmail",
                          "next"
                        ],
                        "properties": {
                          "id": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 160
                          },
                          "type": {
                            "type": "string",
                            "enum": [
                              "email"
                            ]
                          },
                          "content": {
                            "oneOf": [
                              {
                                "type": "object",
                                "additionalProperties": false,
                                "required": [
                                  "kind",
                                  "texts"
                                ],
                                "properties": {
                                  "kind": {
                                    "type": "string",
                                    "enum": [
                                      "reminder"
                                    ]
                                  },
                                  "texts": {
                                    "type": "object",
                                    "additionalProperties": false,
                                    "required": [
                                      "de",
                                      "en"
                                    ],
                                    "properties": {
                                      "de": {
                                        "type": "object",
                                        "additionalProperties": false,
                                        "required": [
                                          "subject",
                                          "subjectDate",
                                          "title",
                                          "greeting",
                                          "reply",
                                          "appointment",
                                          "meeting",
                                          "reschedule"
                                        ],
                                        "properties": {
                                          "subject": {
                                            "type": "string"
                                          },
                                          "subjectDate": {
                                            "type": "string"
                                          },
                                          "title": {
                                            "type": "string"
                                          },
                                          "greeting": {
                                            "type": "string"
                                          },
                                          "reply": {
                                            "type": "string"
                                          },
                                          "appointment": {
                                            "type": "string"
                                          },
                                          "meeting": {
                                            "type": "string"
                                          },
                                          "reschedule": {
                                            "type": "string"
                                          }
                                        }
                                      },
                                      "en": {
                                        "type": "object",
                                        "additionalProperties": false,
                                        "required": [
                                          "subject",
                                          "subjectDate",
                                          "title",
                                          "greeting",
                                          "reply",
                                          "appointment",
                                          "meeting",
                                          "reschedule"
                                        ],
                                        "properties": {
                                          "subject": {
                                            "type": "string"
                                          },
                                          "subjectDate": {
                                            "type": "string"
                                          },
                                          "title": {
                                            "type": "string"
                                          },
                                          "greeting": {
                                            "type": "string"
                                          },
                                          "reply": {
                                            "type": "string"
                                          },
                                          "appointment": {
                                            "type": "string"
                                          },
                                          "meeting": {
                                            "type": "string"
                                          },
                                          "reschedule": {
                                            "type": "string"
                                          }
                                        }
                                      }
                                    }
                                  }
                                }
                              },
                              {
                                "type": "object",
                                "additionalProperties": false,
                                "required": [
                                  "kind",
                                  "locales"
                                ],
                                "properties": {
                                  "kind": {
                                    "type": "string",
                                    "enum": [
                                      "email"
                                    ]
                                  },
                                  "locales": {
                                    "type": "object",
                                    "additionalProperties": false,
                                    "required": [
                                      "de",
                                      "en"
                                    ],
                                    "properties": {
                                      "de": {
                                        "type": "object",
                                        "additionalProperties": false,
                                        "required": [
                                          "subject",
                                          "text",
                                          "html"
                                        ],
                                        "properties": {
                                          "subject": {
                                            "type": "string"
                                          },
                                          "text": {
                                            "type": "string"
                                          },
                                          "html": {
                                            "type": "string"
                                          }
                                        }
                                      },
                                      "en": {
                                        "type": "object",
                                        "additionalProperties": false,
                                        "required": [
                                          "subject",
                                          "text",
                                          "html"
                                        ],
                                        "properties": {
                                          "subject": {
                                            "type": "string"
                                          },
                                          "text": {
                                            "type": "string"
                                          },
                                          "html": {
                                            "type": "string"
                                          }
                                        }
                                      }
                                    }
                                  }
                                }
                              }
                            ]
                          },
                          "recipient": {
                            "type": "string",
                            "enum": [
                              "specific_email"
                            ]
                          },
                          "recipientEmail": {
                            "type": "string"
                          },
                          "recipientEmails": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "next": {
                            "type": "string",
                            "nullable": true
                          }
                        }
                      },
                      {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "id",
                          "type",
                          "templateVersionId",
                          "recipient",
                          "recipientEmail",
                          "next"
                        ],
                        "properties": {
                          "id": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 160
                          },
                          "type": {
                            "type": "string",
                            "enum": [
                              "email"
                            ]
                          },
                          "templateVersionId": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 160
                          },
                          "recipient": {
                            "type": "string",
                            "enum": [
                              "specific_email"
                            ]
                          },
                          "recipientEmail": {
                            "type": "string"
                          },
                          "recipientEmails": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "next": {
                            "type": "string",
                            "nullable": true
                          }
                        }
                      },
                      {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "id",
                          "type",
                          "templateVersionId",
                          "recipient",
                          "next"
                        ],
                        "properties": {
                          "id": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 160
                          },
                          "type": {
                            "type": "string",
                            "enum": [
                              "email",
                              "whatsapp"
                            ]
                          },
                          "templateVersionId": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 160
                          },
                          "recipient": {
                            "type": "string",
                            "enum": [
                              "invitee",
                              "host"
                            ]
                          },
                          "next": {
                            "type": "string",
                            "nullable": true
                          }
                        }
                      }
                    ]
                  }
                }
              }
            },
            "labels": {
              "type": "array",
              "maxItems": 3,
              "items": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "name",
                  "color"
                ],
                "properties": {
                  "name": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 32
                  },
                  "color": {
                    "type": "string",
                    "enum": [
                      "blue",
                      "cyan",
                      "green",
                      "orange",
                      "pink",
                      "purple",
                      "gray"
                    ]
                  }
                }
              }
            },
            "expectedRevision": {
              "type": "string",
              "minLength": 1,
              "maxLength": 128
            }
          }
        }
      }
    }
  },
  "parameters": [
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 160
      },
      "in": "path",
      "name": "sequenceId",
      "required": true
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "idempotency-key",
      "required": true
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 2048
      },
      "in": "header",
      "name": "x-booking-token",
      "required": false
    },
    {
      "schema": {
        "type": "string"
      },
      "in": "header",
      "name": "x-workspace-id",
      "required": false,
      "description": "Workspace ID. Required for session authentication when the user has multiple memberships; must name one of their workspaces. API keys remain bound to their own workspace."
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "x-csrf-token",
      "required": false,
      "description": "Required for cookie session mutations; not required for API keys."
    }
  ],
  "security": [
    {
      "apiKey": []
    },
    {
      "session": []
    }
  ],
  "x-required-scopes": [
    "write:sequences"
  ],
  "x-public-api": true,
  "x-api-stability": "beta",
  "responses": {
    "200": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "id",
              "workspaceId",
              "name",
              "draft",
              "publishedVersionId",
              "status",
              "isDefault",
              "usedByCount",
              "createdAt",
              "revision"
            ],
            "properties": {
              "id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 160
              },
              "workspaceId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 160
              },
              "name": {
                "type": "string",
                "minLength": 1,
                "maxLength": 200
              },
              "draft": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "schemaVersion",
                  "nodes"
                ],
                "properties": {
                  "schemaVersion": {
                    "type": "integer",
                    "enum": [
                      1
                    ]
                  },
                  "nodes": {
                    "type": "array",
                    "minItems": 1,
                    "items": {
                      "oneOf": [
                        {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "id",
                            "type",
                            "trigger",
                            "next"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 160
                            },
                            "type": {
                              "type": "string",
                              "enum": [
                                "trigger"
                              ]
                            },
                            "trigger": {
                              "oneOf": [
                                {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "required": [
                                    "kind"
                                  ],
                                  "properties": {
                                    "kind": {
                                      "type": "string",
                                      "enum": [
                                        "booking_created"
                                      ]
                                    }
                                  }
                                },
                                {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "required": [
                                    "kind"
                                  ],
                                  "properties": {
                                    "kind": {
                                      "type": "string",
                                      "enum": [
                                        "confirmation_pending"
                                      ]
                                    }
                                  }
                                },
                                {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "required": [
                                    "kind"
                                  ],
                                  "properties": {
                                    "kind": {
                                      "type": "string",
                                      "enum": [
                                        "after_booking_end"
                                      ]
                                    }
                                  }
                                },
                                {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "required": [
                                    "kind"
                                  ],
                                  "properties": {
                                    "kind": {
                                      "type": "string",
                                      "enum": [
                                        "booking_rescheduled"
                                      ]
                                    }
                                  }
                                },
                                {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "required": [
                                    "kind",
                                    "offsetSeconds"
                                  ],
                                  "properties": {
                                    "kind": {
                                      "type": "string",
                                      "enum": [
                                        "before_booking"
                                      ]
                                    },
                                    "offsetSeconds": {
                                      "type": "number",
                                      "minimum": 0,
                                      "description": "Positive duration in elapsed seconds; zero is rejected by domain validation."
                                    }
                                  }
                                }
                              ]
                            },
                            "next": {
                              "type": "string",
                              "nullable": true
                            }
                          }
                        },
                        {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "id",
                            "type",
                            "durationSeconds",
                            "next"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 160
                            },
                            "type": {
                              "type": "string",
                              "enum": [
                                "wait"
                              ]
                            },
                            "durationSeconds": {
                              "type": "number",
                              "minimum": 0,
                              "description": "Positive duration in elapsed seconds; zero is rejected by domain validation."
                            },
                            "next": {
                              "type": "string",
                              "nullable": true
                            }
                          }
                        },
                        {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "id",
                            "type",
                            "condition",
                            "yes",
                            "no"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 160
                            },
                            "type": {
                              "type": "string",
                              "enum": [
                                "branch"
                              ]
                            },
                            "condition": {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "kind",
                                "version"
                              ],
                              "properties": {
                                "kind": {
                                  "type": "string",
                                  "enum": [
                                    "booking_confirmed"
                                  ]
                                },
                                "version": {
                                  "type": "integer",
                                  "enum": [
                                    1
                                  ]
                                }
                              }
                            },
                            "yes": {
                              "type": "string",
                              "nullable": true
                            },
                            "no": {
                              "type": "string",
                              "nullable": true
                            }
                          }
                        },
                        {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "id",
                            "type",
                            "content",
                            "recipient",
                            "next"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 160
                            },
                            "type": {
                              "type": "string",
                              "enum": [
                                "email"
                              ]
                            },
                            "content": {
                              "oneOf": [
                                {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "required": [
                                    "kind",
                                    "texts"
                                  ],
                                  "properties": {
                                    "kind": {
                                      "type": "string",
                                      "enum": [
                                        "reminder"
                                      ]
                                    },
                                    "texts": {
                                      "type": "object",
                                      "additionalProperties": false,
                                      "required": [
                                        "de",
                                        "en"
                                      ],
                                      "properties": {
                                        "de": {
                                          "type": "object",
                                          "additionalProperties": false,
                                          "required": [
                                            "subject",
                                            "subjectDate",
                                            "title",
                                            "greeting",
                                            "reply",
                                            "appointment",
                                            "meeting",
                                            "reschedule"
                                          ],
                                          "properties": {
                                            "subject": {
                                              "type": "string"
                                            },
                                            "subjectDate": {
                                              "type": "string"
                                            },
                                            "title": {
                                              "type": "string"
                                            },
                                            "greeting": {
                                              "type": "string"
                                            },
                                            "reply": {
                                              "type": "string"
                                            },
                                            "appointment": {
                                              "type": "string"
                                            },
                                            "meeting": {
                                              "type": "string"
                                            },
                                            "reschedule": {
                                              "type": "string"
                                            }
                                          }
                                        },
                                        "en": {
                                          "type": "object",
                                          "additionalProperties": false,
                                          "required": [
                                            "subject",
                                            "subjectDate",
                                            "title",
                                            "greeting",
                                            "reply",
                                            "appointment",
                                            "meeting",
                                            "reschedule"
                                          ],
                                          "properties": {
                                            "subject": {
                                              "type": "string"
                                            },
                                            "subjectDate": {
                                              "type": "string"
                                            },
                                            "title": {
                                              "type": "string"
                                            },
                                            "greeting": {
                                              "type": "string"
                                            },
                                            "reply": {
                                              "type": "string"
                                            },
                                            "appointment": {
                                              "type": "string"
                                            },
                                            "meeting": {
                                              "type": "string"
                                            },
                                            "reschedule": {
                                              "type": "string"
                                            }
                                          }
                                        }
                                      }
                                    }
                                  }
                                },
                                {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "required": [
                                    "kind",
                                    "locales"
                                  ],
                                  "properties": {
                                    "kind": {
                                      "type": "string",
                                      "enum": [
                                        "email"
                                      ]
                                    },
                                    "locales": {
                                      "type": "object",
                                      "additionalProperties": false,
                                      "required": [
                                        "de",
                                        "en"
                                      ],
                                      "properties": {
                                        "de": {
                                          "type": "object",
                                          "additionalProperties": false,
                                          "required": [
                                            "subject",
                                            "text",
                                            "html"
                                          ],
                                          "properties": {
                                            "subject": {
                                              "type": "string"
                                            },
                                            "text": {
                                              "type": "string"
                                            },
                                            "html": {
                                              "type": "string"
                                            }
                                          }
                                        },
                                        "en": {
                                          "type": "object",
                                          "additionalProperties": false,
                                          "required": [
                                            "subject",
                                            "text",
                                            "html"
                                          ],
                                          "properties": {
                                            "subject": {
                                              "type": "string"
                                            },
                                            "text": {
                                              "type": "string"
                                            },
                                            "html": {
                                              "type": "string"
                                            }
                                          }
                                        }
                                      }
                                    }
                                  }
                                }
                              ]
                            },
                            "recipient": {
                              "type": "string",
                              "enum": [
                                "invitee",
                                "host"
                              ]
                            },
                            "next": {
                              "type": "string",
                              "nullable": true
                            }
                          }
                        },
                        {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "id",
                            "type",
                            "content",
                            "recipient",
                            "recipientEmail",
                            "next"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 160
                            },
                            "type": {
                              "type": "string",
                              "enum": [
                                "email"
                              ]
                            },
                            "content": {
                              "oneOf": [
                                {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "required": [
                                    "kind",
                                    "texts"
                                  ],
                                  "properties": {
                                    "kind": {
                                      "type": "string",
                                      "enum": [
                                        "reminder"
                                      ]
                                    },
                                    "texts": {
                                      "type": "object",
                                      "additionalProperties": false,
                                      "required": [
                                        "de",
                                        "en"
                                      ],
                                      "properties": {
                                        "de": {
                                          "type": "object",
                                          "additionalProperties": false,
                                          "required": [
                                            "subject",
                                            "subjectDate",
                                            "title",
                                            "greeting",
                                            "reply",
                                            "appointment",
                                            "meeting",
                                            "reschedule"
                                          ],
                                          "properties": {
                                            "subject": {
                                              "type": "string"
                                            },
                                            "subjectDate": {
                                              "type": "string"
                                            },
                                            "title": {
                                              "type": "string"
                                            },
                                            "greeting": {
                                              "type": "string"
                                            },
                                            "reply": {
                                              "type": "string"
                                            },
                                            "appointment": {
                                              "type": "string"
                                            },
                                            "meeting": {
                                              "type": "string"
                                            },
                                            "reschedule": {
                                              "type": "string"
                                            }
                                          }
                                        },
                                        "en": {
                                          "type": "object",
                                          "additionalProperties": false,
                                          "required": [
                                            "subject",
                                            "subjectDate",
                                            "title",
                                            "greeting",
                                            "reply",
                                            "appointment",
                                            "meeting",
                                            "reschedule"
                                          ],
                                          "properties": {
                                            "subject": {
                                              "type": "string"
                                            },
                                            "subjectDate": {
                                              "type": "string"
                                            },
                                            "title": {
                                              "type": "string"
                                            },
                                            "greeting": {
                                              "type": "string"
                                            },
                                            "reply": {
                                              "type": "string"
                                            },
                                            "appointment": {
                                              "type": "string"
                                            },
                                            "meeting": {
                                              "type": "string"
                                            },
                                            "reschedule": {
                                              "type": "string"
                                            }
                                          }
                                        }
                                      }
                                    }
                                  }
                                },
                                {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "required": [
                                    "kind",
                                    "locales"
                                  ],
                                  "properties": {
                                    "kind": {
                                      "type": "string",
                                      "enum": [
                                        "email"
                                      ]
                                    },
                                    "locales": {
                                      "type": "object",
                                      "additionalProperties": false,
                                      "required": [
                                        "de",
                                        "en"
                                      ],
                                      "properties": {
                                        "de": {
                                          "type": "object",
                                          "additionalProperties": false,
                                          "required": [
                                            "subject",
                                            "text",
                                            "html"
                                          ],
                                          "properties": {
                                            "subject": {
                                              "type": "string"
                                            },
                                            "text": {
                                              "type": "string"
                                            },
                                            "html": {
                                              "type": "string"
                                            }
                                          }
                                        },
                                        "en": {
                                          "type": "object",
                                          "additionalProperties": false,
                                          "required": [
                                            "subject",
                                            "text",
                                            "html"
                                          ],
                                          "properties": {
                                            "subject": {
                                              "type": "string"
                                            },
                                            "text": {
                                              "type": "string"
                                            },
                                            "html": {
                                              "type": "string"
                                            }
                                          }
                                        }
                                      }
                                    }
                                  }
                                }
                              ]
                            },
                            "recipient": {
                              "type": "string",
                              "enum": [
                                "specific_email"
                              ]
                            },
                            "recipientEmail": {
                              "type": "string"
                            },
                            "recipientEmails": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            "next": {
                              "type": "string",
                              "nullable": true
                            }
                          }
                        },
                        {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "id",
                            "type",
                            "templateVersionId",
                            "recipient",
                            "recipientEmail",
                            "next"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 160
                            },
                            "type": {
                              "type": "string",
                              "enum": [
                                "email"
                              ]
                            },
                            "templateVersionId": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 160
                            },
                            "recipient": {
                              "type": "string",
                              "enum": [
                                "specific_email"
                              ]
                            },
                            "recipientEmail": {
                              "type": "string"
                            },
                            "recipientEmails": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            "next": {
                              "type": "string",
                              "nullable": true
                            }
                          }
                        },
                        {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "id",
                            "type",
                            "templateVersionId",
                            "recipient",
                            "next"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 160
                            },
                            "type": {
                              "type": "string",
                              "enum": [
                                "email",
                                "whatsapp"
                              ]
                            },
                            "templateVersionId": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 160
                            },
                            "recipient": {
                              "type": "string",
                              "enum": [
                                "invitee",
                                "host"
                              ]
                            },
                            "next": {
                              "type": "string",
                              "nullable": true
                            }
                          }
                        }
                      ]
                    }
                  }
                }
              },
              "labels": {
                "type": "array",
                "maxItems": 3,
                "items": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "name",
                    "color"
                  ],
                  "properties": {
                    "name": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 32
                    },
                    "color": {
                      "type": "string",
                      "enum": [
                        "blue",
                        "cyan",
                        "green",
                        "orange",
                        "pink",
                        "purple",
                        "gray"
                      ]
                    }
                  }
                }
              },
              "emailContents": {
                "type": "object",
                "additionalProperties": {
                  "oneOf": [
                    {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "kind",
                        "texts"
                      ],
                      "properties": {
                        "kind": {
                          "type": "string",
                          "enum": [
                            "reminder"
                          ]
                        },
                        "texts": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "de",
                            "en"
                          ],
                          "properties": {
                            "de": {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "subject",
                                "subjectDate",
                                "title",
                                "greeting",
                                "reply",
                                "appointment",
                                "meeting",
                                "reschedule"
                              ],
                              "properties": {
                                "subject": {
                                  "type": "string"
                                },
                                "subjectDate": {
                                  "type": "string"
                                },
                                "title": {
                                  "type": "string"
                                },
                                "greeting": {
                                  "type": "string"
                                },
                                "reply": {
                                  "type": "string"
                                },
                                "appointment": {
                                  "type": "string"
                                },
                                "meeting": {
                                  "type": "string"
                                },
                                "reschedule": {
                                  "type": "string"
                                }
                              }
                            },
                            "en": {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "subject",
                                "subjectDate",
                                "title",
                                "greeting",
                                "reply",
                                "appointment",
                                "meeting",
                                "reschedule"
                              ],
                              "properties": {
                                "subject": {
                                  "type": "string"
                                },
                                "subjectDate": {
                                  "type": "string"
                                },
                                "title": {
                                  "type": "string"
                                },
                                "greeting": {
                                  "type": "string"
                                },
                                "reply": {
                                  "type": "string"
                                },
                                "appointment": {
                                  "type": "string"
                                },
                                "meeting": {
                                  "type": "string"
                                },
                                "reschedule": {
                                  "type": "string"
                                }
                              }
                            }
                          }
                        }
                      }
                    },
                    {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "kind",
                        "locales"
                      ],
                      "properties": {
                        "kind": {
                          "type": "string",
                          "enum": [
                            "email"
                          ]
                        },
                        "locales": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "de",
                            "en"
                          ],
                          "properties": {
                            "de": {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "subject",
                                "text",
                                "html"
                              ],
                              "properties": {
                                "subject": {
                                  "type": "string"
                                },
                                "text": {
                                  "type": "string"
                                },
                                "html": {
                                  "type": "string"
                                }
                              }
                            },
                            "en": {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "subject",
                                "text",
                                "html"
                              ],
                              "properties": {
                                "subject": {
                                  "type": "string"
                                },
                                "text": {
                                  "type": "string"
                                },
                                "html": {
                                  "type": "string"
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  ]
                }
              },
              "publishedVersionId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 160,
                "nullable": true
              },
              "status": {
                "type": "string",
                "enum": [
                  "draft",
                  "published"
                ]
              },
              "isDefault": {
                "type": "boolean"
              },
              "usedByCount": {
                "type": "integer"
              },
              "createdAt": {
                "type": "string",
                "format": "date-time"
              },
              "revision": {
                "type": "string",
                "minLength": 1,
                "maxLength": 128
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "401": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "403": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "404": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "409": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "410": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "413": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "415": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "422": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
      "headers": {
        "Retry-After": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Limit": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Remaining": {
          "schema": {
            "type": "integer",
            "minimum": 0
          }
        },
        "RateLimit-Reset": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "rate_limited"
                    ]
                  },
                  "message": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "500": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "503": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
Beta, ohne Stabilitätszusage

DELETE /v1/sequences/{sequenceId}

deleteSequence

Berechtigungen: ["write:sequences"]

Anfrage und Antworten
{
  "operationId": "deleteSequence",
  "parameters": [
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 160
      },
      "in": "path",
      "name": "sequenceId",
      "required": true
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "idempotency-key",
      "required": true
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 2048
      },
      "in": "header",
      "name": "x-booking-token",
      "required": false
    },
    {
      "schema": {
        "type": "string"
      },
      "in": "header",
      "name": "x-workspace-id",
      "required": false,
      "description": "Workspace ID. Required for session authentication when the user has multiple memberships; must name one of their workspaces. API keys remain bound to their own workspace."
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "x-csrf-token",
      "required": false,
      "description": "Required for cookie session mutations; not required for API keys."
    }
  ],
  "security": [
    {
      "apiKey": []
    },
    {
      "session": []
    }
  ],
  "x-required-scopes": [
    "write:sequences"
  ],
  "x-public-api": true,
  "x-api-stability": "beta",
  "responses": {
    "200": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "401": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "403": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "404": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "409": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "410": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "413": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "415": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "422": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
      "headers": {
        "Retry-After": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Limit": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Remaining": {
          "schema": {
            "type": "integer",
            "minimum": 0
          }
        },
        "RateLimit-Reset": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "rate_limited"
                    ]
                  },
                  "message": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "500": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "503": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
Beta, ohne Stabilitätszusage

GET /v1/sequences/{sequenceId}/impact

getSequenceImpact

Berechtigungen: ["read:sequences"]

Anfrage und Antworten
{
  "operationId": "getSequenceImpact",
  "parameters": [
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 160
      },
      "in": "path",
      "name": "sequenceId",
      "required": true
    },
    {
      "schema": {
        "type": "string"
      },
      "in": "header",
      "name": "x-workspace-id",
      "required": false,
      "description": "Workspace ID. Required for session authentication when the user has multiple memberships; must name one of their workspaces. API keys remain bound to their own workspace."
    }
  ],
  "security": [
    {
      "apiKey": []
    },
    {
      "session": []
    }
  ],
  "x-required-scopes": [
    "read:sequences"
  ],
  "x-public-api": true,
  "x-api-stability": "beta",
  "responses": {
    "200": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "count",
              "revision"
            ],
            "properties": {
              "count": {
                "type": "integer"
              },
              "revision": {
                "type": "string",
                "minLength": 1,
                "maxLength": 128
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "401": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "403": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "404": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "409": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "410": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "413": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "415": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "422": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
      "headers": {
        "Retry-After": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Limit": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Remaining": {
          "schema": {
            "type": "integer",
            "minimum": 0
          }
        },
        "RateLimit-Reset": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "rate_limited"
                    ]
                  },
                  "message": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "500": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "503": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
Beta, ohne Stabilitätszusage

POST /v1/sequences/{sequenceId}/duplicate

duplicateSequence

Berechtigungen: ["write:sequences"]

Anfrage und Antworten
{
  "operationId": "duplicateSequence",
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "name"
          ],
          "properties": {
            "name": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            }
          }
        }
      }
    }
  },
  "parameters": [
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 160
      },
      "in": "path",
      "name": "sequenceId",
      "required": true
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "idempotency-key",
      "required": true
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 2048
      },
      "in": "header",
      "name": "x-booking-token",
      "required": false
    },
    {
      "schema": {
        "type": "string"
      },
      "in": "header",
      "name": "x-workspace-id",
      "required": false,
      "description": "Workspace ID. Required for session authentication when the user has multiple memberships; must name one of their workspaces. API keys remain bound to their own workspace."
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "x-csrf-token",
      "required": false,
      "description": "Required for cookie session mutations; not required for API keys."
    }
  ],
  "security": [
    {
      "apiKey": []
    },
    {
      "session": []
    }
  ],
  "x-required-scopes": [
    "write:sequences"
  ],
  "x-public-api": true,
  "x-api-stability": "beta",
  "responses": {
    "201": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "id",
              "workspaceId",
              "name",
              "draft",
              "publishedVersionId",
              "status",
              "isDefault",
              "usedByCount",
              "createdAt",
              "revision"
            ],
            "properties": {
              "id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 160
              },
              "workspaceId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 160
              },
              "name": {
                "type": "string",
                "minLength": 1,
                "maxLength": 200
              },
              "draft": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "schemaVersion",
                  "nodes"
                ],
                "properties": {
                  "schemaVersion": {
                    "type": "integer",
                    "enum": [
                      1
                    ]
                  },
                  "nodes": {
                    "type": "array",
                    "minItems": 1,
                    "items": {
                      "oneOf": [
                        {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "id",
                            "type",
                            "trigger",
                            "next"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 160
                            },
                            "type": {
                              "type": "string",
                              "enum": [
                                "trigger"
                              ]
                            },
                            "trigger": {
                              "oneOf": [
                                {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "required": [
                                    "kind"
                                  ],
                                  "properties": {
                                    "kind": {
                                      "type": "string",
                                      "enum": [
                                        "booking_created"
                                      ]
                                    }
                                  }
                                },
                                {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "required": [
                                    "kind"
                                  ],
                                  "properties": {
                                    "kind": {
                                      "type": "string",
                                      "enum": [
                                        "confirmation_pending"
                                      ]
                                    }
                                  }
                                },
                                {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "required": [
                                    "kind"
                                  ],
                                  "properties": {
                                    "kind": {
                                      "type": "string",
                                      "enum": [
                                        "after_booking_end"
                                      ]
                                    }
                                  }
                                },
                                {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "required": [
                                    "kind"
                                  ],
                                  "properties": {
                                    "kind": {
                                      "type": "string",
                                      "enum": [
                                        "booking_rescheduled"
                                      ]
                                    }
                                  }
                                },
                                {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "required": [
                                    "kind",
                                    "offsetSeconds"
                                  ],
                                  "properties": {
                                    "kind": {
                                      "type": "string",
                                      "enum": [
                                        "before_booking"
                                      ]
                                    },
                                    "offsetSeconds": {
                                      "type": "number",
                                      "minimum": 0,
                                      "description": "Positive duration in elapsed seconds; zero is rejected by domain validation."
                                    }
                                  }
                                }
                              ]
                            },
                            "next": {
                              "type": "string",
                              "nullable": true
                            }
                          }
                        },
                        {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "id",
                            "type",
                            "durationSeconds",
                            "next"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 160
                            },
                            "type": {
                              "type": "string",
                              "enum": [
                                "wait"
                              ]
                            },
                            "durationSeconds": {
                              "type": "number",
                              "minimum": 0,
                              "description": "Positive duration in elapsed seconds; zero is rejected by domain validation."
                            },
                            "next": {
                              "type": "string",
                              "nullable": true
                            }
                          }
                        },
                        {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "id",
                            "type",
                            "condition",
                            "yes",
                            "no"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 160
                            },
                            "type": {
                              "type": "string",
                              "enum": [
                                "branch"
                              ]
                            },
                            "condition": {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "kind",
                                "version"
                              ],
                              "properties": {
                                "kind": {
                                  "type": "string",
                                  "enum": [
                                    "booking_confirmed"
                                  ]
                                },
                                "version": {
                                  "type": "integer",
                                  "enum": [
                                    1
                                  ]
                                }
                              }
                            },
                            "yes": {
                              "type": "string",
                              "nullable": true
                            },
                            "no": {
                              "type": "string",
                              "nullable": true
                            }
                          }
                        },
                        {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "id",
                            "type",
                            "content",
                            "recipient",
                            "next"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 160
                            },
                            "type": {
                              "type": "string",
                              "enum": [
                                "email"
                              ]
                            },
                            "content": {
                              "oneOf": [
                                {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "required": [
                                    "kind",
                                    "texts"
                                  ],
                                  "properties": {
                                    "kind": {
                                      "type": "string",
                                      "enum": [
                                        "reminder"
                                      ]
                                    },
                                    "texts": {
                                      "type": "object",
                                      "additionalProperties": false,
                                      "required": [
                                        "de",
                                        "en"
                                      ],
                                      "properties": {
                                        "de": {
                                          "type": "object",
                                          "additionalProperties": false,
                                          "required": [
                                            "subject",
                                            "subjectDate",
                                            "title",
                                            "greeting",
                                            "reply",
                                            "appointment",
                                            "meeting",
                                            "reschedule"
                                          ],
                                          "properties": {
                                            "subject": {
                                              "type": "string"
                                            },
                                            "subjectDate": {
                                              "type": "string"
                                            },
                                            "title": {
                                              "type": "string"
                                            },
                                            "greeting": {
                                              "type": "string"
                                            },
                                            "reply": {
                                              "type": "string"
                                            },
                                            "appointment": {
                                              "type": "string"
                                            },
                                            "meeting": {
                                              "type": "string"
                                            },
                                            "reschedule": {
                                              "type": "string"
                                            }
                                          }
                                        },
                                        "en": {
                                          "type": "object",
                                          "additionalProperties": false,
                                          "required": [
                                            "subject",
                                            "subjectDate",
                                            "title",
                                            "greeting",
                                            "reply",
                                            "appointment",
                                            "meeting",
                                            "reschedule"
                                          ],
                                          "properties": {
                                            "subject": {
                                              "type": "string"
                                            },
                                            "subjectDate": {
                                              "type": "string"
                                            },
                                            "title": {
                                              "type": "string"
                                            },
                                            "greeting": {
                                              "type": "string"
                                            },
                                            "reply": {
                                              "type": "string"
                                            },
                                            "appointment": {
                                              "type": "string"
                                            },
                                            "meeting": {
                                              "type": "string"
                                            },
                                            "reschedule": {
                                              "type": "string"
                                            }
                                          }
                                        }
                                      }
                                    }
                                  }
                                },
                                {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "required": [
                                    "kind",
                                    "locales"
                                  ],
                                  "properties": {
                                    "kind": {
                                      "type": "string",
                                      "enum": [
                                        "email"
                                      ]
                                    },
                                    "locales": {
                                      "type": "object",
                                      "additionalProperties": false,
                                      "required": [
                                        "de",
                                        "en"
                                      ],
                                      "properties": {
                                        "de": {
                                          "type": "object",
                                          "additionalProperties": false,
                                          "required": [
                                            "subject",
                                            "text",
                                            "html"
                                          ],
                                          "properties": {
                                            "subject": {
                                              "type": "string"
                                            },
                                            "text": {
                                              "type": "string"
                                            },
                                            "html": {
                                              "type": "string"
                                            }
                                          }
                                        },
                                        "en": {
                                          "type": "object",
                                          "additionalProperties": false,
                                          "required": [
                                            "subject",
                                            "text",
                                            "html"
                                          ],
                                          "properties": {
                                            "subject": {
                                              "type": "string"
                                            },
                                            "text": {
                                              "type": "string"
                                            },
                                            "html": {
                                              "type": "string"
                                            }
                                          }
                                        }
                                      }
                                    }
                                  }
                                }
                              ]
                            },
                            "recipient": {
                              "type": "string",
                              "enum": [
                                "invitee",
                                "host"
                              ]
                            },
                            "next": {
                              "type": "string",
                              "nullable": true
                            }
                          }
                        },
                        {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "id",
                            "type",
                            "content",
                            "recipient",
                            "recipientEmail",
                            "next"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 160
                            },
                            "type": {
                              "type": "string",
                              "enum": [
                                "email"
                              ]
                            },
                            "content": {
                              "oneOf": [
                                {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "required": [
                                    "kind",
                                    "texts"
                                  ],
                                  "properties": {
                                    "kind": {
                                      "type": "string",
                                      "enum": [
                                        "reminder"
                                      ]
                                    },
                                    "texts": {
                                      "type": "object",
                                      "additionalProperties": false,
                                      "required": [
                                        "de",
                                        "en"
                                      ],
                                      "properties": {
                                        "de": {
                                          "type": "object",
                                          "additionalProperties": false,
                                          "required": [
                                            "subject",
                                            "subjectDate",
                                            "title",
                                            "greeting",
                                            "reply",
                                            "appointment",
                                            "meeting",
                                            "reschedule"
                                          ],
                                          "properties": {
                                            "subject": {
                                              "type": "string"
                                            },
                                            "subjectDate": {
                                              "type": "string"
                                            },
                                            "title": {
                                              "type": "string"
                                            },
                                            "greeting": {
                                              "type": "string"
                                            },
                                            "reply": {
                                              "type": "string"
                                            },
                                            "appointment": {
                                              "type": "string"
                                            },
                                            "meeting": {
                                              "type": "string"
                                            },
                                            "reschedule": {
                                              "type": "string"
                                            }
                                          }
                                        },
                                        "en": {
                                          "type": "object",
                                          "additionalProperties": false,
                                          "required": [
                                            "subject",
                                            "subjectDate",
                                            "title",
                                            "greeting",
                                            "reply",
                                            "appointment",
                                            "meeting",
                                            "reschedule"
                                          ],
                                          "properties": {
                                            "subject": {
                                              "type": "string"
                                            },
                                            "subjectDate": {
                                              "type": "string"
                                            },
                                            "title": {
                                              "type": "string"
                                            },
                                            "greeting": {
                                              "type": "string"
                                            },
                                            "reply": {
                                              "type": "string"
                                            },
                                            "appointment": {
                                              "type": "string"
                                            },
                                            "meeting": {
                                              "type": "string"
                                            },
                                            "reschedule": {
                                              "type": "string"
                                            }
                                          }
                                        }
                                      }
                                    }
                                  }
                                },
                                {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "required": [
                                    "kind",
                                    "locales"
                                  ],
                                  "properties": {
                                    "kind": {
                                      "type": "string",
                                      "enum": [
                                        "email"
                                      ]
                                    },
                                    "locales": {
                                      "type": "object",
                                      "additionalProperties": false,
                                      "required": [
                                        "de",
                                        "en"
                                      ],
                                      "properties": {
                                        "de": {
                                          "type": "object",
                                          "additionalProperties": false,
                                          "required": [
                                            "subject",
                                            "text",
                                            "html"
                                          ],
                                          "properties": {
                                            "subject": {
                                              "type": "string"
                                            },
                                            "text": {
                                              "type": "string"
                                            },
                                            "html": {
                                              "type": "string"
                                            }
                                          }
                                        },
                                        "en": {
                                          "type": "object",
                                          "additionalProperties": false,
                                          "required": [
                                            "subject",
                                            "text",
                                            "html"
                                          ],
                                          "properties": {
                                            "subject": {
                                              "type": "string"
                                            },
                                            "text": {
                                              "type": "string"
                                            },
                                            "html": {
                                              "type": "string"
                                            }
                                          }
                                        }
                                      }
                                    }
                                  }
                                }
                              ]
                            },
                            "recipient": {
                              "type": "string",
                              "enum": [
                                "specific_email"
                              ]
                            },
                            "recipientEmail": {
                              "type": "string"
                            },
                            "recipientEmails": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            "next": {
                              "type": "string",
                              "nullable": true
                            }
                          }
                        },
                        {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "id",
                            "type",
                            "templateVersionId",
                            "recipient",
                            "recipientEmail",
                            "next"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 160
                            },
                            "type": {
                              "type": "string",
                              "enum": [
                                "email"
                              ]
                            },
                            "templateVersionId": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 160
                            },
                            "recipient": {
                              "type": "string",
                              "enum": [
                                "specific_email"
                              ]
                            },
                            "recipientEmail": {
                              "type": "string"
                            },
                            "recipientEmails": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            "next": {
                              "type": "string",
                              "nullable": true
                            }
                          }
                        },
                        {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "id",
                            "type",
                            "templateVersionId",
                            "recipient",
                            "next"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 160
                            },
                            "type": {
                              "type": "string",
                              "enum": [
                                "email",
                                "whatsapp"
                              ]
                            },
                            "templateVersionId": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 160
                            },
                            "recipient": {
                              "type": "string",
                              "enum": [
                                "invitee",
                                "host"
                              ]
                            },
                            "next": {
                              "type": "string",
                              "nullable": true
                            }
                          }
                        }
                      ]
                    }
                  }
                }
              },
              "labels": {
                "type": "array",
                "maxItems": 3,
                "items": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "name",
                    "color"
                  ],
                  "properties": {
                    "name": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 32
                    },
                    "color": {
                      "type": "string",
                      "enum": [
                        "blue",
                        "cyan",
                        "green",
                        "orange",
                        "pink",
                        "purple",
                        "gray"
                      ]
                    }
                  }
                }
              },
              "emailContents": {
                "type": "object",
                "additionalProperties": {
                  "oneOf": [
                    {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "kind",
                        "texts"
                      ],
                      "properties": {
                        "kind": {
                          "type": "string",
                          "enum": [
                            "reminder"
                          ]
                        },
                        "texts": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "de",
                            "en"
                          ],
                          "properties": {
                            "de": {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "subject",
                                "subjectDate",
                                "title",
                                "greeting",
                                "reply",
                                "appointment",
                                "meeting",
                                "reschedule"
                              ],
                              "properties": {
                                "subject": {
                                  "type": "string"
                                },
                                "subjectDate": {
                                  "type": "string"
                                },
                                "title": {
                                  "type": "string"
                                },
                                "greeting": {
                                  "type": "string"
                                },
                                "reply": {
                                  "type": "string"
                                },
                                "appointment": {
                                  "type": "string"
                                },
                                "meeting": {
                                  "type": "string"
                                },
                                "reschedule": {
                                  "type": "string"
                                }
                              }
                            },
                            "en": {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "subject",
                                "subjectDate",
                                "title",
                                "greeting",
                                "reply",
                                "appointment",
                                "meeting",
                                "reschedule"
                              ],
                              "properties": {
                                "subject": {
                                  "type": "string"
                                },
                                "subjectDate": {
                                  "type": "string"
                                },
                                "title": {
                                  "type": "string"
                                },
                                "greeting": {
                                  "type": "string"
                                },
                                "reply": {
                                  "type": "string"
                                },
                                "appointment": {
                                  "type": "string"
                                },
                                "meeting": {
                                  "type": "string"
                                },
                                "reschedule": {
                                  "type": "string"
                                }
                              }
                            }
                          }
                        }
                      }
                    },
                    {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "kind",
                        "locales"
                      ],
                      "properties": {
                        "kind": {
                          "type": "string",
                          "enum": [
                            "email"
                          ]
                        },
                        "locales": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "de",
                            "en"
                          ],
                          "properties": {
                            "de": {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "subject",
                                "text",
                                "html"
                              ],
                              "properties": {
                                "subject": {
                                  "type": "string"
                                },
                                "text": {
                                  "type": "string"
                                },
                                "html": {
                                  "type": "string"
                                }
                              }
                            },
                            "en": {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "subject",
                                "text",
                                "html"
                              ],
                              "properties": {
                                "subject": {
                                  "type": "string"
                                },
                                "text": {
                                  "type": "string"
                                },
                                "html": {
                                  "type": "string"
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  ]
                }
              },
              "publishedVersionId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 160,
                "nullable": true
              },
              "status": {
                "type": "string",
                "enum": [
                  "draft",
                  "published"
                ]
              },
              "isDefault": {
                "type": "boolean"
              },
              "usedByCount": {
                "type": "integer"
              },
              "createdAt": {
                "type": "string",
                "format": "date-time"
              },
              "revision": {
                "type": "string",
                "minLength": 1,
                "maxLength": 128
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "401": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "403": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "404": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "409": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "410": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "413": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "415": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "422": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
      "headers": {
        "Retry-After": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Limit": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Remaining": {
          "schema": {
            "type": "integer",
            "minimum": 0
          }
        },
        "RateLimit-Reset": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "rate_limited"
                    ]
                  },
                  "message": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "500": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "503": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
Beta, ohne Stabilitätszusage

POST /v1/sequences/{sequenceId}/publish

publishSequence

Berechtigungen: ["write:sequences"]

Anfrage und Antworten
{
  "operationId": "publishSequence",
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "applyToFuture",
            "expectedRevision"
          ],
          "properties": {
            "applyToFuture": {
              "type": "boolean"
            },
            "expectedRevision": {
              "type": "string",
              "minLength": 1,
              "maxLength": 128
            }
          }
        }
      }
    }
  },
  "parameters": [
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 160
      },
      "in": "path",
      "name": "sequenceId",
      "required": true
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "idempotency-key",
      "required": true
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 2048
      },
      "in": "header",
      "name": "x-booking-token",
      "required": false
    },
    {
      "schema": {
        "type": "string"
      },
      "in": "header",
      "name": "x-workspace-id",
      "required": false,
      "description": "Workspace ID. Required for session authentication when the user has multiple memberships; must name one of their workspaces. API keys remain bound to their own workspace."
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "x-csrf-token",
      "required": false,
      "description": "Required for cookie session mutations; not required for API keys."
    }
  ],
  "security": [
    {
      "apiKey": []
    },
    {
      "session": []
    }
  ],
  "x-required-scopes": [
    "write:sequences"
  ],
  "x-public-api": true,
  "x-api-stability": "beta",
  "responses": {
    "200": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "id",
              "workspaceId",
              "name",
              "draft",
              "publishedVersionId",
              "status",
              "isDefault",
              "usedByCount",
              "createdAt",
              "revision",
              "affectedBookings"
            ],
            "properties": {
              "id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 160
              },
              "workspaceId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 160
              },
              "name": {
                "type": "string",
                "minLength": 1,
                "maxLength": 200
              },
              "draft": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "schemaVersion",
                  "nodes"
                ],
                "properties": {
                  "schemaVersion": {
                    "type": "integer",
                    "enum": [
                      1
                    ]
                  },
                  "nodes": {
                    "type": "array",
                    "minItems": 1,
                    "items": {
                      "oneOf": [
                        {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "id",
                            "type",
                            "trigger",
                            "next"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 160
                            },
                            "type": {
                              "type": "string",
                              "enum": [
                                "trigger"
                              ]
                            },
                            "trigger": {
                              "oneOf": [
                                {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "required": [
                                    "kind"
                                  ],
                                  "properties": {
                                    "kind": {
                                      "type": "string",
                                      "enum": [
                                        "booking_created"
                                      ]
                                    }
                                  }
                                },
                                {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "required": [
                                    "kind"
                                  ],
                                  "properties": {
                                    "kind": {
                                      "type": "string",
                                      "enum": [
                                        "confirmation_pending"
                                      ]
                                    }
                                  }
                                },
                                {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "required": [
                                    "kind"
                                  ],
                                  "properties": {
                                    "kind": {
                                      "type": "string",
                                      "enum": [
                                        "after_booking_end"
                                      ]
                                    }
                                  }
                                },
                                {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "required": [
                                    "kind"
                                  ],
                                  "properties": {
                                    "kind": {
                                      "type": "string",
                                      "enum": [
                                        "booking_rescheduled"
                                      ]
                                    }
                                  }
                                },
                                {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "required": [
                                    "kind",
                                    "offsetSeconds"
                                  ],
                                  "properties": {
                                    "kind": {
                                      "type": "string",
                                      "enum": [
                                        "before_booking"
                                      ]
                                    },
                                    "offsetSeconds": {
                                      "type": "number",
                                      "minimum": 0,
                                      "description": "Positive duration in elapsed seconds; zero is rejected by domain validation."
                                    }
                                  }
                                }
                              ]
                            },
                            "next": {
                              "type": "string",
                              "nullable": true
                            }
                          }
                        },
                        {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "id",
                            "type",
                            "durationSeconds",
                            "next"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 160
                            },
                            "type": {
                              "type": "string",
                              "enum": [
                                "wait"
                              ]
                            },
                            "durationSeconds": {
                              "type": "number",
                              "minimum": 0,
                              "description": "Positive duration in elapsed seconds; zero is rejected by domain validation."
                            },
                            "next": {
                              "type": "string",
                              "nullable": true
                            }
                          }
                        },
                        {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "id",
                            "type",
                            "condition",
                            "yes",
                            "no"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 160
                            },
                            "type": {
                              "type": "string",
                              "enum": [
                                "branch"
                              ]
                            },
                            "condition": {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "kind",
                                "version"
                              ],
                              "properties": {
                                "kind": {
                                  "type": "string",
                                  "enum": [
                                    "booking_confirmed"
                                  ]
                                },
                                "version": {
                                  "type": "integer",
                                  "enum": [
                                    1
                                  ]
                                }
                              }
                            },
                            "yes": {
                              "type": "string",
                              "nullable": true
                            },
                            "no": {
                              "type": "string",
                              "nullable": true
                            }
                          }
                        },
                        {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "id",
                            "type",
                            "content",
                            "recipient",
                            "next"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 160
                            },
                            "type": {
                              "type": "string",
                              "enum": [
                                "email"
                              ]
                            },
                            "content": {
                              "oneOf": [
                                {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "required": [
                                    "kind",
                                    "texts"
                                  ],
                                  "properties": {
                                    "kind": {
                                      "type": "string",
                                      "enum": [
                                        "reminder"
                                      ]
                                    },
                                    "texts": {
                                      "type": "object",
                                      "additionalProperties": false,
                                      "required": [
                                        "de",
                                        "en"
                                      ],
                                      "properties": {
                                        "de": {
                                          "type": "object",
                                          "additionalProperties": false,
                                          "required": [
                                            "subject",
                                            "subjectDate",
                                            "title",
                                            "greeting",
                                            "reply",
                                            "appointment",
                                            "meeting",
                                            "reschedule"
                                          ],
                                          "properties": {
                                            "subject": {
                                              "type": "string"
                                            },
                                            "subjectDate": {
                                              "type": "string"
                                            },
                                            "title": {
                                              "type": "string"
                                            },
                                            "greeting": {
                                              "type": "string"
                                            },
                                            "reply": {
                                              "type": "string"
                                            },
                                            "appointment": {
                                              "type": "string"
                                            },
                                            "meeting": {
                                              "type": "string"
                                            },
                                            "reschedule": {
                                              "type": "string"
                                            }
                                          }
                                        },
                                        "en": {
                                          "type": "object",
                                          "additionalProperties": false,
                                          "required": [
                                            "subject",
                                            "subjectDate",
                                            "title",
                                            "greeting",
                                            "reply",
                                            "appointment",
                                            "meeting",
                                            "reschedule"
                                          ],
                                          "properties": {
                                            "subject": {
                                              "type": "string"
                                            },
                                            "subjectDate": {
                                              "type": "string"
                                            },
                                            "title": {
                                              "type": "string"
                                            },
                                            "greeting": {
                                              "type": "string"
                                            },
                                            "reply": {
                                              "type": "string"
                                            },
                                            "appointment": {
                                              "type": "string"
                                            },
                                            "meeting": {
                                              "type": "string"
                                            },
                                            "reschedule": {
                                              "type": "string"
                                            }
                                          }
                                        }
                                      }
                                    }
                                  }
                                },
                                {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "required": [
                                    "kind",
                                    "locales"
                                  ],
                                  "properties": {
                                    "kind": {
                                      "type": "string",
                                      "enum": [
                                        "email"
                                      ]
                                    },
                                    "locales": {
                                      "type": "object",
                                      "additionalProperties": false,
                                      "required": [
                                        "de",
                                        "en"
                                      ],
                                      "properties": {
                                        "de": {
                                          "type": "object",
                                          "additionalProperties": false,
                                          "required": [
                                            "subject",
                                            "text",
                                            "html"
                                          ],
                                          "properties": {
                                            "subject": {
                                              "type": "string"
                                            },
                                            "text": {
                                              "type": "string"
                                            },
                                            "html": {
                                              "type": "string"
                                            }
                                          }
                                        },
                                        "en": {
                                          "type": "object",
                                          "additionalProperties": false,
                                          "required": [
                                            "subject",
                                            "text",
                                            "html"
                                          ],
                                          "properties": {
                                            "subject": {
                                              "type": "string"
                                            },
                                            "text": {
                                              "type": "string"
                                            },
                                            "html": {
                                              "type": "string"
                                            }
                                          }
                                        }
                                      }
                                    }
                                  }
                                }
                              ]
                            },
                            "recipient": {
                              "type": "string",
                              "enum": [
                                "invitee",
                                "host"
                              ]
                            },
                            "next": {
                              "type": "string",
                              "nullable": true
                            }
                          }
                        },
                        {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "id",
                            "type",
                            "content",
                            "recipient",
                            "recipientEmail",
                            "next"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 160
                            },
                            "type": {
                              "type": "string",
                              "enum": [
                                "email"
                              ]
                            },
                            "content": {
                              "oneOf": [
                                {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "required": [
                                    "kind",
                                    "texts"
                                  ],
                                  "properties": {
                                    "kind": {
                                      "type": "string",
                                      "enum": [
                                        "reminder"
                                      ]
                                    },
                                    "texts": {
                                      "type": "object",
                                      "additionalProperties": false,
                                      "required": [
                                        "de",
                                        "en"
                                      ],
                                      "properties": {
                                        "de": {
                                          "type": "object",
                                          "additionalProperties": false,
                                          "required": [
                                            "subject",
                                            "subjectDate",
                                            "title",
                                            "greeting",
                                            "reply",
                                            "appointment",
                                            "meeting",
                                            "reschedule"
                                          ],
                                          "properties": {
                                            "subject": {
                                              "type": "string"
                                            },
                                            "subjectDate": {
                                              "type": "string"
                                            },
                                            "title": {
                                              "type": "string"
                                            },
                                            "greeting": {
                                              "type": "string"
                                            },
                                            "reply": {
                                              "type": "string"
                                            },
                                            "appointment": {
                                              "type": "string"
                                            },
                                            "meeting": {
                                              "type": "string"
                                            },
                                            "reschedule": {
                                              "type": "string"
                                            }
                                          }
                                        },
                                        "en": {
                                          "type": "object",
                                          "additionalProperties": false,
                                          "required": [
                                            "subject",
                                            "subjectDate",
                                            "title",
                                            "greeting",
                                            "reply",
                                            "appointment",
                                            "meeting",
                                            "reschedule"
                                          ],
                                          "properties": {
                                            "subject": {
                                              "type": "string"
                                            },
                                            "subjectDate": {
                                              "type": "string"
                                            },
                                            "title": {
                                              "type": "string"
                                            },
                                            "greeting": {
                                              "type": "string"
                                            },
                                            "reply": {
                                              "type": "string"
                                            },
                                            "appointment": {
                                              "type": "string"
                                            },
                                            "meeting": {
                                              "type": "string"
                                            },
                                            "reschedule": {
                                              "type": "string"
                                            }
                                          }
                                        }
                                      }
                                    }
                                  }
                                },
                                {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "required": [
                                    "kind",
                                    "locales"
                                  ],
                                  "properties": {
                                    "kind": {
                                      "type": "string",
                                      "enum": [
                                        "email"
                                      ]
                                    },
                                    "locales": {
                                      "type": "object",
                                      "additionalProperties": false,
                                      "required": [
                                        "de",
                                        "en"
                                      ],
                                      "properties": {
                                        "de": {
                                          "type": "object",
                                          "additionalProperties": false,
                                          "required": [
                                            "subject",
                                            "text",
                                            "html"
                                          ],
                                          "properties": {
                                            "subject": {
                                              "type": "string"
                                            },
                                            "text": {
                                              "type": "string"
                                            },
                                            "html": {
                                              "type": "string"
                                            }
                                          }
                                        },
                                        "en": {
                                          "type": "object",
                                          "additionalProperties": false,
                                          "required": [
                                            "subject",
                                            "text",
                                            "html"
                                          ],
                                          "properties": {
                                            "subject": {
                                              "type": "string"
                                            },
                                            "text": {
                                              "type": "string"
                                            },
                                            "html": {
                                              "type": "string"
                                            }
                                          }
                                        }
                                      }
                                    }
                                  }
                                }
                              ]
                            },
                            "recipient": {
                              "type": "string",
                              "enum": [
                                "specific_email"
                              ]
                            },
                            "recipientEmail": {
                              "type": "string"
                            },
                            "recipientEmails": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            "next": {
                              "type": "string",
                              "nullable": true
                            }
                          }
                        },
                        {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "id",
                            "type",
                            "templateVersionId",
                            "recipient",
                            "recipientEmail",
                            "next"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 160
                            },
                            "type": {
                              "type": "string",
                              "enum": [
                                "email"
                              ]
                            },
                            "templateVersionId": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 160
                            },
                            "recipient": {
                              "type": "string",
                              "enum": [
                                "specific_email"
                              ]
                            },
                            "recipientEmail": {
                              "type": "string"
                            },
                            "recipientEmails": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            "next": {
                              "type": "string",
                              "nullable": true
                            }
                          }
                        },
                        {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "id",
                            "type",
                            "templateVersionId",
                            "recipient",
                            "next"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 160
                            },
                            "type": {
                              "type": "string",
                              "enum": [
                                "email",
                                "whatsapp"
                              ]
                            },
                            "templateVersionId": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 160
                            },
                            "recipient": {
                              "type": "string",
                              "enum": [
                                "invitee",
                                "host"
                              ]
                            },
                            "next": {
                              "type": "string",
                              "nullable": true
                            }
                          }
                        }
                      ]
                    }
                  }
                }
              },
              "labels": {
                "type": "array",
                "maxItems": 3,
                "items": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "name",
                    "color"
                  ],
                  "properties": {
                    "name": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 32
                    },
                    "color": {
                      "type": "string",
                      "enum": [
                        "blue",
                        "cyan",
                        "green",
                        "orange",
                        "pink",
                        "purple",
                        "gray"
                      ]
                    }
                  }
                }
              },
              "emailContents": {
                "type": "object",
                "additionalProperties": {
                  "oneOf": [
                    {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "kind",
                        "texts"
                      ],
                      "properties": {
                        "kind": {
                          "type": "string",
                          "enum": [
                            "reminder"
                          ]
                        },
                        "texts": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "de",
                            "en"
                          ],
                          "properties": {
                            "de": {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "subject",
                                "subjectDate",
                                "title",
                                "greeting",
                                "reply",
                                "appointment",
                                "meeting",
                                "reschedule"
                              ],
                              "properties": {
                                "subject": {
                                  "type": "string"
                                },
                                "subjectDate": {
                                  "type": "string"
                                },
                                "title": {
                                  "type": "string"
                                },
                                "greeting": {
                                  "type": "string"
                                },
                                "reply": {
                                  "type": "string"
                                },
                                "appointment": {
                                  "type": "string"
                                },
                                "meeting": {
                                  "type": "string"
                                },
                                "reschedule": {
                                  "type": "string"
                                }
                              }
                            },
                            "en": {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "subject",
                                "subjectDate",
                                "title",
                                "greeting",
                                "reply",
                                "appointment",
                                "meeting",
                                "reschedule"
                              ],
                              "properties": {
                                "subject": {
                                  "type": "string"
                                },
                                "subjectDate": {
                                  "type": "string"
                                },
                                "title": {
                                  "type": "string"
                                },
                                "greeting": {
                                  "type": "string"
                                },
                                "reply": {
                                  "type": "string"
                                },
                                "appointment": {
                                  "type": "string"
                                },
                                "meeting": {
                                  "type": "string"
                                },
                                "reschedule": {
                                  "type": "string"
                                }
                              }
                            }
                          }
                        }
                      }
                    },
                    {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "kind",
                        "locales"
                      ],
                      "properties": {
                        "kind": {
                          "type": "string",
                          "enum": [
                            "email"
                          ]
                        },
                        "locales": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "de",
                            "en"
                          ],
                          "properties": {
                            "de": {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "subject",
                                "text",
                                "html"
                              ],
                              "properties": {
                                "subject": {
                                  "type": "string"
                                },
                                "text": {
                                  "type": "string"
                                },
                                "html": {
                                  "type": "string"
                                }
                              }
                            },
                            "en": {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "subject",
                                "text",
                                "html"
                              ],
                              "properties": {
                                "subject": {
                                  "type": "string"
                                },
                                "text": {
                                  "type": "string"
                                },
                                "html": {
                                  "type": "string"
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  ]
                }
              },
              "publishedVersionId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 160,
                "nullable": true
              },
              "status": {
                "type": "string",
                "enum": [
                  "draft",
                  "published"
                ]
              },
              "isDefault": {
                "type": "boolean"
              },
              "usedByCount": {
                "type": "integer"
              },
              "createdAt": {
                "type": "string",
                "format": "date-time"
              },
              "revision": {
                "type": "string",
                "minLength": 1,
                "maxLength": 128
              },
              "affectedBookings": {
                "type": "integer"
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "401": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "403": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "404": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "409": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "410": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "413": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "415": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "422": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
      "headers": {
        "Retry-After": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Limit": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Remaining": {
          "schema": {
            "type": "integer",
            "minimum": 0
          }
        },
        "RateLimit-Reset": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "rate_limited"
                    ]
                  },
                  "message": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "500": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "503": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
Beta, ohne Stabilitätszusage

POST /v1/sequences/{sequenceId}/unpublish

unpublishSequence

Berechtigungen: ["write:sequences"]

Anfrage und Antworten
{
  "operationId": "unpublishSequence",
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "expectedRevision"
          ],
          "properties": {
            "expectedRevision": {
              "type": "string",
              "minLength": 1,
              "maxLength": 128
            }
          }
        }
      }
    }
  },
  "parameters": [
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 160
      },
      "in": "path",
      "name": "sequenceId",
      "required": true
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "idempotency-key",
      "required": true
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 2048
      },
      "in": "header",
      "name": "x-booking-token",
      "required": false
    },
    {
      "schema": {
        "type": "string"
      },
      "in": "header",
      "name": "x-workspace-id",
      "required": false,
      "description": "Workspace ID. Required for session authentication when the user has multiple memberships; must name one of their workspaces. API keys remain bound to their own workspace."
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "x-csrf-token",
      "required": false,
      "description": "Required for cookie session mutations; not required for API keys."
    }
  ],
  "security": [
    {
      "apiKey": []
    },
    {
      "session": []
    }
  ],
  "x-required-scopes": [
    "write:sequences"
  ],
  "x-public-api": true,
  "x-api-stability": "beta",
  "responses": {
    "200": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "id",
              "workspaceId",
              "name",
              "draft",
              "publishedVersionId",
              "status",
              "isDefault",
              "usedByCount",
              "createdAt",
              "revision"
            ],
            "properties": {
              "id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 160
              },
              "workspaceId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 160
              },
              "name": {
                "type": "string",
                "minLength": 1,
                "maxLength": 200
              },
              "draft": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "schemaVersion",
                  "nodes"
                ],
                "properties": {
                  "schemaVersion": {
                    "type": "integer",
                    "enum": [
                      1
                    ]
                  },
                  "nodes": {
                    "type": "array",
                    "minItems": 1,
                    "items": {
                      "oneOf": [
                        {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "id",
                            "type",
                            "trigger",
                            "next"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 160
                            },
                            "type": {
                              "type": "string",
                              "enum": [
                                "trigger"
                              ]
                            },
                            "trigger": {
                              "oneOf": [
                                {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "required": [
                                    "kind"
                                  ],
                                  "properties": {
                                    "kind": {
                                      "type": "string",
                                      "enum": [
                                        "booking_created"
                                      ]
                                    }
                                  }
                                },
                                {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "required": [
                                    "kind"
                                  ],
                                  "properties": {
                                    "kind": {
                                      "type": "string",
                                      "enum": [
                                        "confirmation_pending"
                                      ]
                                    }
                                  }
                                },
                                {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "required": [
                                    "kind"
                                  ],
                                  "properties": {
                                    "kind": {
                                      "type": "string",
                                      "enum": [
                                        "after_booking_end"
                                      ]
                                    }
                                  }
                                },
                                {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "required": [
                                    "kind"
                                  ],
                                  "properties": {
                                    "kind": {
                                      "type": "string",
                                      "enum": [
                                        "booking_rescheduled"
                                      ]
                                    }
                                  }
                                },
                                {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "required": [
                                    "kind",
                                    "offsetSeconds"
                                  ],
                                  "properties": {
                                    "kind": {
                                      "type": "string",
                                      "enum": [
                                        "before_booking"
                                      ]
                                    },
                                    "offsetSeconds": {
                                      "type": "number",
                                      "minimum": 0,
                                      "description": "Positive duration in elapsed seconds; zero is rejected by domain validation."
                                    }
                                  }
                                }
                              ]
                            },
                            "next": {
                              "type": "string",
                              "nullable": true
                            }
                          }
                        },
                        {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "id",
                            "type",
                            "durationSeconds",
                            "next"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 160
                            },
                            "type": {
                              "type": "string",
                              "enum": [
                                "wait"
                              ]
                            },
                            "durationSeconds": {
                              "type": "number",
                              "minimum": 0,
                              "description": "Positive duration in elapsed seconds; zero is rejected by domain validation."
                            },
                            "next": {
                              "type": "string",
                              "nullable": true
                            }
                          }
                        },
                        {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "id",
                            "type",
                            "condition",
                            "yes",
                            "no"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 160
                            },
                            "type": {
                              "type": "string",
                              "enum": [
                                "branch"
                              ]
                            },
                            "condition": {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "kind",
                                "version"
                              ],
                              "properties": {
                                "kind": {
                                  "type": "string",
                                  "enum": [
                                    "booking_confirmed"
                                  ]
                                },
                                "version": {
                                  "type": "integer",
                                  "enum": [
                                    1
                                  ]
                                }
                              }
                            },
                            "yes": {
                              "type": "string",
                              "nullable": true
                            },
                            "no": {
                              "type": "string",
                              "nullable": true
                            }
                          }
                        },
                        {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "id",
                            "type",
                            "content",
                            "recipient",
                            "next"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 160
                            },
                            "type": {
                              "type": "string",
                              "enum": [
                                "email"
                              ]
                            },
                            "content": {
                              "oneOf": [
                                {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "required": [
                                    "kind",
                                    "texts"
                                  ],
                                  "properties": {
                                    "kind": {
                                      "type": "string",
                                      "enum": [
                                        "reminder"
                                      ]
                                    },
                                    "texts": {
                                      "type": "object",
                                      "additionalProperties": false,
                                      "required": [
                                        "de",
                                        "en"
                                      ],
                                      "properties": {
                                        "de": {
                                          "type": "object",
                                          "additionalProperties": false,
                                          "required": [
                                            "subject",
                                            "subjectDate",
                                            "title",
                                            "greeting",
                                            "reply",
                                            "appointment",
                                            "meeting",
                                            "reschedule"
                                          ],
                                          "properties": {
                                            "subject": {
                                              "type": "string"
                                            },
                                            "subjectDate": {
                                              "type": "string"
                                            },
                                            "title": {
                                              "type": "string"
                                            },
                                            "greeting": {
                                              "type": "string"
                                            },
                                            "reply": {
                                              "type": "string"
                                            },
                                            "appointment": {
                                              "type": "string"
                                            },
                                            "meeting": {
                                              "type": "string"
                                            },
                                            "reschedule": {
                                              "type": "string"
                                            }
                                          }
                                        },
                                        "en": {
                                          "type": "object",
                                          "additionalProperties": false,
                                          "required": [
                                            "subject",
                                            "subjectDate",
                                            "title",
                                            "greeting",
                                            "reply",
                                            "appointment",
                                            "meeting",
                                            "reschedule"
                                          ],
                                          "properties": {
                                            "subject": {
                                              "type": "string"
                                            },
                                            "subjectDate": {
                                              "type": "string"
                                            },
                                            "title": {
                                              "type": "string"
                                            },
                                            "greeting": {
                                              "type": "string"
                                            },
                                            "reply": {
                                              "type": "string"
                                            },
                                            "appointment": {
                                              "type": "string"
                                            },
                                            "meeting": {
                                              "type": "string"
                                            },
                                            "reschedule": {
                                              "type": "string"
                                            }
                                          }
                                        }
                                      }
                                    }
                                  }
                                },
                                {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "required": [
                                    "kind",
                                    "locales"
                                  ],
                                  "properties": {
                                    "kind": {
                                      "type": "string",
                                      "enum": [
                                        "email"
                                      ]
                                    },
                                    "locales": {
                                      "type": "object",
                                      "additionalProperties": false,
                                      "required": [
                                        "de",
                                        "en"
                                      ],
                                      "properties": {
                                        "de": {
                                          "type": "object",
                                          "additionalProperties": false,
                                          "required": [
                                            "subject",
                                            "text",
                                            "html"
                                          ],
                                          "properties": {
                                            "subject": {
                                              "type": "string"
                                            },
                                            "text": {
                                              "type": "string"
                                            },
                                            "html": {
                                              "type": "string"
                                            }
                                          }
                                        },
                                        "en": {
                                          "type": "object",
                                          "additionalProperties": false,
                                          "required": [
                                            "subject",
                                            "text",
                                            "html"
                                          ],
                                          "properties": {
                                            "subject": {
                                              "type": "string"
                                            },
                                            "text": {
                                              "type": "string"
                                            },
                                            "html": {
                                              "type": "string"
                                            }
                                          }
                                        }
                                      }
                                    }
                                  }
                                }
                              ]
                            },
                            "recipient": {
                              "type": "string",
                              "enum": [
                                "invitee",
                                "host"
                              ]
                            },
                            "next": {
                              "type": "string",
                              "nullable": true
                            }
                          }
                        },
                        {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "id",
                            "type",
                            "content",
                            "recipient",
                            "recipientEmail",
                            "next"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 160
                            },
                            "type": {
                              "type": "string",
                              "enum": [
                                "email"
                              ]
                            },
                            "content": {
                              "oneOf": [
                                {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "required": [
                                    "kind",
                                    "texts"
                                  ],
                                  "properties": {
                                    "kind": {
                                      "type": "string",
                                      "enum": [
                                        "reminder"
                                      ]
                                    },
                                    "texts": {
                                      "type": "object",
                                      "additionalProperties": false,
                                      "required": [
                                        "de",
                                        "en"
                                      ],
                                      "properties": {
                                        "de": {
                                          "type": "object",
                                          "additionalProperties": false,
                                          "required": [
                                            "subject",
                                            "subjectDate",
                                            "title",
                                            "greeting",
                                            "reply",
                                            "appointment",
                                            "meeting",
                                            "reschedule"
                                          ],
                                          "properties": {
                                            "subject": {
                                              "type": "string"
                                            },
                                            "subjectDate": {
                                              "type": "string"
                                            },
                                            "title": {
                                              "type": "string"
                                            },
                                            "greeting": {
                                              "type": "string"
                                            },
                                            "reply": {
                                              "type": "string"
                                            },
                                            "appointment": {
                                              "type": "string"
                                            },
                                            "meeting": {
                                              "type": "string"
                                            },
                                            "reschedule": {
                                              "type": "string"
                                            }
                                          }
                                        },
                                        "en": {
                                          "type": "object",
                                          "additionalProperties": false,
                                          "required": [
                                            "subject",
                                            "subjectDate",
                                            "title",
                                            "greeting",
                                            "reply",
                                            "appointment",
                                            "meeting",
                                            "reschedule"
                                          ],
                                          "properties": {
                                            "subject": {
                                              "type": "string"
                                            },
                                            "subjectDate": {
                                              "type": "string"
                                            },
                                            "title": {
                                              "type": "string"
                                            },
                                            "greeting": {
                                              "type": "string"
                                            },
                                            "reply": {
                                              "type": "string"
                                            },
                                            "appointment": {
                                              "type": "string"
                                            },
                                            "meeting": {
                                              "type": "string"
                                            },
                                            "reschedule": {
                                              "type": "string"
                                            }
                                          }
                                        }
                                      }
                                    }
                                  }
                                },
                                {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "required": [
                                    "kind",
                                    "locales"
                                  ],
                                  "properties": {
                                    "kind": {
                                      "type": "string",
                                      "enum": [
                                        "email"
                                      ]
                                    },
                                    "locales": {
                                      "type": "object",
                                      "additionalProperties": false,
                                      "required": [
                                        "de",
                                        "en"
                                      ],
                                      "properties": {
                                        "de": {
                                          "type": "object",
                                          "additionalProperties": false,
                                          "required": [
                                            "subject",
                                            "text",
                                            "html"
                                          ],
                                          "properties": {
                                            "subject": {
                                              "type": "string"
                                            },
                                            "text": {
                                              "type": "string"
                                            },
                                            "html": {
                                              "type": "string"
                                            }
                                          }
                                        },
                                        "en": {
                                          "type": "object",
                                          "additionalProperties": false,
                                          "required": [
                                            "subject",
                                            "text",
                                            "html"
                                          ],
                                          "properties": {
                                            "subject": {
                                              "type": "string"
                                            },
                                            "text": {
                                              "type": "string"
                                            },
                                            "html": {
                                              "type": "string"
                                            }
                                          }
                                        }
                                      }
                                    }
                                  }
                                }
                              ]
                            },
                            "recipient": {
                              "type": "string",
                              "enum": [
                                "specific_email"
                              ]
                            },
                            "recipientEmail": {
                              "type": "string"
                            },
                            "recipientEmails": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            "next": {
                              "type": "string",
                              "nullable": true
                            }
                          }
                        },
                        {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "id",
                            "type",
                            "templateVersionId",
                            "recipient",
                            "recipientEmail",
                            "next"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 160
                            },
                            "type": {
                              "type": "string",
                              "enum": [
                                "email"
                              ]
                            },
                            "templateVersionId": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 160
                            },
                            "recipient": {
                              "type": "string",
                              "enum": [
                                "specific_email"
                              ]
                            },
                            "recipientEmail": {
                              "type": "string"
                            },
                            "recipientEmails": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            "next": {
                              "type": "string",
                              "nullable": true
                            }
                          }
                        },
                        {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "id",
                            "type",
                            "templateVersionId",
                            "recipient",
                            "next"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 160
                            },
                            "type": {
                              "type": "string",
                              "enum": [
                                "email",
                                "whatsapp"
                              ]
                            },
                            "templateVersionId": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 160
                            },
                            "recipient": {
                              "type": "string",
                              "enum": [
                                "invitee",
                                "host"
                              ]
                            },
                            "next": {
                              "type": "string",
                              "nullable": true
                            }
                          }
                        }
                      ]
                    }
                  }
                }
              },
              "labels": {
                "type": "array",
                "maxItems": 3,
                "items": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "name",
                    "color"
                  ],
                  "properties": {
                    "name": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 32
                    },
                    "color": {
                      "type": "string",
                      "enum": [
                        "blue",
                        "cyan",
                        "green",
                        "orange",
                        "pink",
                        "purple",
                        "gray"
                      ]
                    }
                  }
                }
              },
              "emailContents": {
                "type": "object",
                "additionalProperties": {
                  "oneOf": [
                    {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "kind",
                        "texts"
                      ],
                      "properties": {
                        "kind": {
                          "type": "string",
                          "enum": [
                            "reminder"
                          ]
                        },
                        "texts": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "de",
                            "en"
                          ],
                          "properties": {
                            "de": {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "subject",
                                "subjectDate",
                                "title",
                                "greeting",
                                "reply",
                                "appointment",
                                "meeting",
                                "reschedule"
                              ],
                              "properties": {
                                "subject": {
                                  "type": "string"
                                },
                                "subjectDate": {
                                  "type": "string"
                                },
                                "title": {
                                  "type": "string"
                                },
                                "greeting": {
                                  "type": "string"
                                },
                                "reply": {
                                  "type": "string"
                                },
                                "appointment": {
                                  "type": "string"
                                },
                                "meeting": {
                                  "type": "string"
                                },
                                "reschedule": {
                                  "type": "string"
                                }
                              }
                            },
                            "en": {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "subject",
                                "subjectDate",
                                "title",
                                "greeting",
                                "reply",
                                "appointment",
                                "meeting",
                                "reschedule"
                              ],
                              "properties": {
                                "subject": {
                                  "type": "string"
                                },
                                "subjectDate": {
                                  "type": "string"
                                },
                                "title": {
                                  "type": "string"
                                },
                                "greeting": {
                                  "type": "string"
                                },
                                "reply": {
                                  "type": "string"
                                },
                                "appointment": {
                                  "type": "string"
                                },
                                "meeting": {
                                  "type": "string"
                                },
                                "reschedule": {
                                  "type": "string"
                                }
                              }
                            }
                          }
                        }
                      }
                    },
                    {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "kind",
                        "locales"
                      ],
                      "properties": {
                        "kind": {
                          "type": "string",
                          "enum": [
                            "email"
                          ]
                        },
                        "locales": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "de",
                            "en"
                          ],
                          "properties": {
                            "de": {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "subject",
                                "text",
                                "html"
                              ],
                              "properties": {
                                "subject": {
                                  "type": "string"
                                },
                                "text": {
                                  "type": "string"
                                },
                                "html": {
                                  "type": "string"
                                }
                              }
                            },
                            "en": {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "subject",
                                "text",
                                "html"
                              ],
                              "properties": {
                                "subject": {
                                  "type": "string"
                                },
                                "text": {
                                  "type": "string"
                                },
                                "html": {
                                  "type": "string"
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  ]
                }
              },
              "publishedVersionId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 160,
                "nullable": true
              },
              "status": {
                "type": "string",
                "enum": [
                  "draft",
                  "published"
                ]
              },
              "isDefault": {
                "type": "boolean"
              },
              "usedByCount": {
                "type": "integer"
              },
              "createdAt": {
                "type": "string",
                "format": "date-time"
              },
              "revision": {
                "type": "string",
                "minLength": 1,
                "maxLength": 128
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "401": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "403": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "404": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "409": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "410": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "413": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "415": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "422": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
      "headers": {
        "Retry-After": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Limit": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Remaining": {
          "schema": {
            "type": "integer",
            "minimum": 0
          }
        },
        "RateLimit-Reset": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "rate_limited"
                    ]
                  },
                  "message": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "500": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "503": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
Beta, ohne Stabilitätszusage

GET /v1/message-templates

listMessageTemplates

Berechtigungen: ["read:message-templates"]

Anfrage und Antworten
{
  "operationId": "listMessageTemplates",
  "parameters": [
    {
      "schema": {
        "type": "integer",
        "minimum": 1,
        "maximum": 100,
        "default": 25
      },
      "in": "query",
      "name": "limit",
      "required": false
    },
    {
      "schema": {
        "type": "integer",
        "minimum": 0,
        "default": 0
      },
      "in": "query",
      "name": "offset",
      "required": false
    },
    {
      "schema": {
        "type": "string"
      },
      "in": "header",
      "name": "x-workspace-id",
      "required": false,
      "description": "Workspace ID. Required for session authentication when the user has multiple memberships; must name one of their workspaces. API keys remain bound to their own workspace."
    }
  ],
  "security": [
    {
      "apiKey": []
    },
    {
      "session": []
    }
  ],
  "x-required-scopes": [
    "read:message-templates"
  ],
  "x-public-api": true,
  "x-api-stability": "beta",
  "responses": {
    "200": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "data",
              "total",
              "limit",
              "offset"
            ],
            "properties": {
              "data": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "id",
                    "workspaceId",
                    "name",
                    "channel",
                    "draft",
                    "publishedVersionId",
                    "usedByCount",
                    "versionIds",
                    "createdAt",
                    "revision"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 160
                    },
                    "workspaceId": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 160
                    },
                    "name": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 200
                    },
                    "channel": {
                      "type": "string",
                      "enum": [
                        "email",
                        "whatsapp"
                      ]
                    },
                    "draft": {
                      "oneOf": [
                        {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "kind",
                            "texts"
                          ],
                          "properties": {
                            "kind": {
                              "type": "string",
                              "enum": [
                                "reminder"
                              ]
                            },
                            "texts": {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "de",
                                "en"
                              ],
                              "properties": {
                                "de": {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "required": [
                                    "subject",
                                    "subjectDate",
                                    "title",
                                    "greeting",
                                    "reply",
                                    "appointment",
                                    "meeting",
                                    "reschedule"
                                  ],
                                  "properties": {
                                    "subject": {
                                      "type": "string"
                                    },
                                    "subjectDate": {
                                      "type": "string"
                                    },
                                    "title": {
                                      "type": "string"
                                    },
                                    "greeting": {
                                      "type": "string"
                                    },
                                    "reply": {
                                      "type": "string"
                                    },
                                    "appointment": {
                                      "type": "string"
                                    },
                                    "meeting": {
                                      "type": "string"
                                    },
                                    "reschedule": {
                                      "type": "string"
                                    }
                                  }
                                },
                                "en": {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "required": [
                                    "subject",
                                    "subjectDate",
                                    "title",
                                    "greeting",
                                    "reply",
                                    "appointment",
                                    "meeting",
                                    "reschedule"
                                  ],
                                  "properties": {
                                    "subject": {
                                      "type": "string"
                                    },
                                    "subjectDate": {
                                      "type": "string"
                                    },
                                    "title": {
                                      "type": "string"
                                    },
                                    "greeting": {
                                      "type": "string"
                                    },
                                    "reply": {
                                      "type": "string"
                                    },
                                    "appointment": {
                                      "type": "string"
                                    },
                                    "meeting": {
                                      "type": "string"
                                    },
                                    "reschedule": {
                                      "type": "string"
                                    }
                                  }
                                }
                              }
                            }
                          }
                        },
                        {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "kind",
                            "locales"
                          ],
                          "properties": {
                            "kind": {
                              "type": "string",
                              "enum": [
                                "email"
                              ]
                            },
                            "locales": {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "de",
                                "en"
                              ],
                              "properties": {
                                "de": {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "required": [
                                    "subject",
                                    "text",
                                    "html"
                                  ],
                                  "properties": {
                                    "subject": {
                                      "type": "string"
                                    },
                                    "text": {
                                      "type": "string"
                                    },
                                    "html": {
                                      "type": "string"
                                    }
                                  }
                                },
                                "en": {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "required": [
                                    "subject",
                                    "text",
                                    "html"
                                  ],
                                  "properties": {
                                    "subject": {
                                      "type": "string"
                                    },
                                    "text": {
                                      "type": "string"
                                    },
                                    "html": {
                                      "type": "string"
                                    }
                                  }
                                }
                              }
                            }
                          }
                        },
                        {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "kind",
                            "locales"
                          ],
                          "properties": {
                            "kind": {
                              "type": "string",
                              "enum": [
                                "whatsapp"
                              ]
                            },
                            "locales": {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "de",
                                "en"
                              ],
                              "properties": {
                                "de": {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "required": [
                                    "name",
                                    "status",
                                    "variables"
                                  ],
                                  "properties": {
                                    "name": {
                                      "type": "string"
                                    },
                                    "status": {
                                      "type": "string",
                                      "enum": [
                                        "pending",
                                        "approved",
                                        "rejected"
                                      ]
                                    },
                                    "variables": {
                                      "type": "object",
                                      "additionalProperties": {
                                        "type": "string"
                                      }
                                    }
                                  }
                                },
                                "en": {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "required": [
                                    "name",
                                    "status",
                                    "variables"
                                  ],
                                  "properties": {
                                    "name": {
                                      "type": "string"
                                    },
                                    "status": {
                                      "type": "string",
                                      "enum": [
                                        "pending",
                                        "approved",
                                        "rejected"
                                      ]
                                    },
                                    "variables": {
                                      "type": "object",
                                      "additionalProperties": {
                                        "type": "string"
                                      }
                                    }
                                  }
                                }
                              }
                            }
                          }
                        }
                      ]
                    },
                    "publishedContent": {
                      "oneOf": [
                        {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "kind",
                            "texts"
                          ],
                          "properties": {
                            "kind": {
                              "type": "string",
                              "enum": [
                                "reminder"
                              ]
                            },
                            "texts": {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "de",
                                "en"
                              ],
                              "properties": {
                                "de": {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "required": [
                                    "subject",
                                    "subjectDate",
                                    "title",
                                    "greeting",
                                    "reply",
                                    "appointment",
                                    "meeting",
                                    "reschedule"
                                  ],
                                  "properties": {
                                    "subject": {
                                      "type": "string"
                                    },
                                    "subjectDate": {
                                      "type": "string"
                                    },
                                    "title": {
                                      "type": "string"
                                    },
                                    "greeting": {
                                      "type": "string"
                                    },
                                    "reply": {
                                      "type": "string"
                                    },
                                    "appointment": {
                                      "type": "string"
                                    },
                                    "meeting": {
                                      "type": "string"
                                    },
                                    "reschedule": {
                                      "type": "string"
                                    }
                                  }
                                },
                                "en": {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "required": [
                                    "subject",
                                    "subjectDate",
                                    "title",
                                    "greeting",
                                    "reply",
                                    "appointment",
                                    "meeting",
                                    "reschedule"
                                  ],
                                  "properties": {
                                    "subject": {
                                      "type": "string"
                                    },
                                    "subjectDate": {
                                      "type": "string"
                                    },
                                    "title": {
                                      "type": "string"
                                    },
                                    "greeting": {
                                      "type": "string"
                                    },
                                    "reply": {
                                      "type": "string"
                                    },
                                    "appointment": {
                                      "type": "string"
                                    },
                                    "meeting": {
                                      "type": "string"
                                    },
                                    "reschedule": {
                                      "type": "string"
                                    }
                                  }
                                }
                              }
                            }
                          }
                        },
                        {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "kind",
                            "locales"
                          ],
                          "properties": {
                            "kind": {
                              "type": "string",
                              "enum": [
                                "email"
                              ]
                            },
                            "locales": {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "de",
                                "en"
                              ],
                              "properties": {
                                "de": {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "required": [
                                    "subject",
                                    "text",
                                    "html"
                                  ],
                                  "properties": {
                                    "subject": {
                                      "type": "string"
                                    },
                                    "text": {
                                      "type": "string"
                                    },
                                    "html": {
                                      "type": "string"
                                    }
                                  }
                                },
                                "en": {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "required": [
                                    "subject",
                                    "text",
                                    "html"
                                  ],
                                  "properties": {
                                    "subject": {
                                      "type": "string"
                                    },
                                    "text": {
                                      "type": "string"
                                    },
                                    "html": {
                                      "type": "string"
                                    }
                                  }
                                }
                              }
                            }
                          }
                        },
                        {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "kind",
                            "locales"
                          ],
                          "properties": {
                            "kind": {
                              "type": "string",
                              "enum": [
                                "whatsapp"
                              ]
                            },
                            "locales": {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "de",
                                "en"
                              ],
                              "properties": {
                                "de": {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "required": [
                                    "name",
                                    "status",
                                    "variables"
                                  ],
                                  "properties": {
                                    "name": {
                                      "type": "string"
                                    },
                                    "status": {
                                      "type": "string",
                                      "enum": [
                                        "pending",
                                        "approved",
                                        "rejected"
                                      ]
                                    },
                                    "variables": {
                                      "type": "object",
                                      "additionalProperties": {
                                        "type": "string"
                                      }
                                    }
                                  }
                                },
                                "en": {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "required": [
                                    "name",
                                    "status",
                                    "variables"
                                  ],
                                  "properties": {
                                    "name": {
                                      "type": "string"
                                    },
                                    "status": {
                                      "type": "string",
                                      "enum": [
                                        "pending",
                                        "approved",
                                        "rejected"
                                      ]
                                    },
                                    "variables": {
                                      "type": "object",
                                      "additionalProperties": {
                                        "type": "string"
                                      }
                                    }
                                  }
                                }
                              }
                            }
                          }
                        }
                      ]
                    },
                    "publishedVersionId": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 160,
                      "nullable": true
                    },
                    "usedByCount": {
                      "type": "integer"
                    },
                    "versionIds": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 160
                      }
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "revision": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 128
                    }
                  }
                }
              },
              "total": {
                "type": "integer"
              },
              "limit": {
                "type": "integer"
              },
              "offset": {
                "type": "integer"
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "401": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "403": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "404": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "409": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "410": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "413": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "415": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "422": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
      "headers": {
        "Retry-After": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Limit": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Remaining": {
          "schema": {
            "type": "integer",
            "minimum": 0
          }
        },
        "RateLimit-Reset": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "rate_limited"
                    ]
                  },
                  "message": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "500": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "503": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
Beta, ohne Stabilitätszusage

POST /v1/message-templates

createMessageTemplate

Berechtigungen: ["write:message-templates"]

Anfrage und Antworten
{
  "operationId": "createMessageTemplate",
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "name",
            "content"
          ],
          "properties": {
            "name": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            },
            "content": {
              "oneOf": [
                {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "kind",
                    "texts"
                  ],
                  "properties": {
                    "kind": {
                      "type": "string",
                      "enum": [
                        "reminder"
                      ]
                    },
                    "texts": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "de",
                        "en"
                      ],
                      "properties": {
                        "de": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "subject",
                            "subjectDate",
                            "title",
                            "greeting",
                            "reply",
                            "appointment",
                            "meeting",
                            "reschedule"
                          ],
                          "properties": {
                            "subject": {
                              "type": "string"
                            },
                            "subjectDate": {
                              "type": "string"
                            },
                            "title": {
                              "type": "string"
                            },
                            "greeting": {
                              "type": "string"
                            },
                            "reply": {
                              "type": "string"
                            },
                            "appointment": {
                              "type": "string"
                            },
                            "meeting": {
                              "type": "string"
                            },
                            "reschedule": {
                              "type": "string"
                            }
                          }
                        },
                        "en": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "subject",
                            "subjectDate",
                            "title",
                            "greeting",
                            "reply",
                            "appointment",
                            "meeting",
                            "reschedule"
                          ],
                          "properties": {
                            "subject": {
                              "type": "string"
                            },
                            "subjectDate": {
                              "type": "string"
                            },
                            "title": {
                              "type": "string"
                            },
                            "greeting": {
                              "type": "string"
                            },
                            "reply": {
                              "type": "string"
                            },
                            "appointment": {
                              "type": "string"
                            },
                            "meeting": {
                              "type": "string"
                            },
                            "reschedule": {
                              "type": "string"
                            }
                          }
                        }
                      }
                    }
                  }
                },
                {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "kind",
                    "locales"
                  ],
                  "properties": {
                    "kind": {
                      "type": "string",
                      "enum": [
                        "email"
                      ]
                    },
                    "locales": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "de",
                        "en"
                      ],
                      "properties": {
                        "de": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "subject",
                            "text",
                            "html"
                          ],
                          "properties": {
                            "subject": {
                              "type": "string"
                            },
                            "text": {
                              "type": "string"
                            },
                            "html": {
                              "type": "string"
                            }
                          }
                        },
                        "en": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "subject",
                            "text",
                            "html"
                          ],
                          "properties": {
                            "subject": {
                              "type": "string"
                            },
                            "text": {
                              "type": "string"
                            },
                            "html": {
                              "type": "string"
                            }
                          }
                        }
                      }
                    }
                  }
                },
                {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "kind",
                    "locales"
                  ],
                  "properties": {
                    "kind": {
                      "type": "string",
                      "enum": [
                        "whatsapp"
                      ]
                    },
                    "locales": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "de",
                        "en"
                      ],
                      "properties": {
                        "de": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "name",
                            "status",
                            "variables"
                          ],
                          "properties": {
                            "name": {
                              "type": "string"
                            },
                            "status": {
                              "type": "string",
                              "enum": [
                                "pending",
                                "approved",
                                "rejected"
                              ]
                            },
                            "variables": {
                              "type": "object",
                              "additionalProperties": {
                                "type": "string"
                              }
                            }
                          }
                        },
                        "en": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "name",
                            "status",
                            "variables"
                          ],
                          "properties": {
                            "name": {
                              "type": "string"
                            },
                            "status": {
                              "type": "string",
                              "enum": [
                                "pending",
                                "approved",
                                "rejected"
                              ]
                            },
                            "variables": {
                              "type": "object",
                              "additionalProperties": {
                                "type": "string"
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              ]
            }
          }
        }
      }
    }
  },
  "parameters": [
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "idempotency-key",
      "required": true
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 2048
      },
      "in": "header",
      "name": "x-booking-token",
      "required": false
    },
    {
      "schema": {
        "type": "string"
      },
      "in": "header",
      "name": "x-workspace-id",
      "required": false,
      "description": "Workspace ID. Required for session authentication when the user has multiple memberships; must name one of their workspaces. API keys remain bound to their own workspace."
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "x-csrf-token",
      "required": false,
      "description": "Required for cookie session mutations; not required for API keys."
    }
  ],
  "security": [
    {
      "apiKey": []
    },
    {
      "session": []
    }
  ],
  "x-required-scopes": [
    "write:message-templates"
  ],
  "x-public-api": true,
  "x-api-stability": "beta",
  "responses": {
    "201": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "id",
              "workspaceId",
              "name",
              "channel",
              "draft",
              "publishedVersionId",
              "usedByCount",
              "versionIds",
              "createdAt",
              "revision"
            ],
            "properties": {
              "id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 160
              },
              "workspaceId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 160
              },
              "name": {
                "type": "string",
                "minLength": 1,
                "maxLength": 200
              },
              "channel": {
                "type": "string",
                "enum": [
                  "email",
                  "whatsapp"
                ]
              },
              "draft": {
                "oneOf": [
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "kind",
                      "texts"
                    ],
                    "properties": {
                      "kind": {
                        "type": "string",
                        "enum": [
                          "reminder"
                        ]
                      },
                      "texts": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "de",
                          "en"
                        ],
                        "properties": {
                          "de": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "subject",
                              "subjectDate",
                              "title",
                              "greeting",
                              "reply",
                              "appointment",
                              "meeting",
                              "reschedule"
                            ],
                            "properties": {
                              "subject": {
                                "type": "string"
                              },
                              "subjectDate": {
                                "type": "string"
                              },
                              "title": {
                                "type": "string"
                              },
                              "greeting": {
                                "type": "string"
                              },
                              "reply": {
                                "type": "string"
                              },
                              "appointment": {
                                "type": "string"
                              },
                              "meeting": {
                                "type": "string"
                              },
                              "reschedule": {
                                "type": "string"
                              }
                            }
                          },
                          "en": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "subject",
                              "subjectDate",
                              "title",
                              "greeting",
                              "reply",
                              "appointment",
                              "meeting",
                              "reschedule"
                            ],
                            "properties": {
                              "subject": {
                                "type": "string"
                              },
                              "subjectDate": {
                                "type": "string"
                              },
                              "title": {
                                "type": "string"
                              },
                              "greeting": {
                                "type": "string"
                              },
                              "reply": {
                                "type": "string"
                              },
                              "appointment": {
                                "type": "string"
                              },
                              "meeting": {
                                "type": "string"
                              },
                              "reschedule": {
                                "type": "string"
                              }
                            }
                          }
                        }
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "kind",
                      "locales"
                    ],
                    "properties": {
                      "kind": {
                        "type": "string",
                        "enum": [
                          "email"
                        ]
                      },
                      "locales": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "de",
                          "en"
                        ],
                        "properties": {
                          "de": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "subject",
                              "text",
                              "html"
                            ],
                            "properties": {
                              "subject": {
                                "type": "string"
                              },
                              "text": {
                                "type": "string"
                              },
                              "html": {
                                "type": "string"
                              }
                            }
                          },
                          "en": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "subject",
                              "text",
                              "html"
                            ],
                            "properties": {
                              "subject": {
                                "type": "string"
                              },
                              "text": {
                                "type": "string"
                              },
                              "html": {
                                "type": "string"
                              }
                            }
                          }
                        }
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "kind",
                      "locales"
                    ],
                    "properties": {
                      "kind": {
                        "type": "string",
                        "enum": [
                          "whatsapp"
                        ]
                      },
                      "locales": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "de",
                          "en"
                        ],
                        "properties": {
                          "de": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "name",
                              "status",
                              "variables"
                            ],
                            "properties": {
                              "name": {
                                "type": "string"
                              },
                              "status": {
                                "type": "string",
                                "enum": [
                                  "pending",
                                  "approved",
                                  "rejected"
                                ]
                              },
                              "variables": {
                                "type": "object",
                                "additionalProperties": {
                                  "type": "string"
                                }
                              }
                            }
                          },
                          "en": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "name",
                              "status",
                              "variables"
                            ],
                            "properties": {
                              "name": {
                                "type": "string"
                              },
                              "status": {
                                "type": "string",
                                "enum": [
                                  "pending",
                                  "approved",
                                  "rejected"
                                ]
                              },
                              "variables": {
                                "type": "object",
                                "additionalProperties": {
                                  "type": "string"
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                ]
              },
              "publishedContent": {
                "oneOf": [
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "kind",
                      "texts"
                    ],
                    "properties": {
                      "kind": {
                        "type": "string",
                        "enum": [
                          "reminder"
                        ]
                      },
                      "texts": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "de",
                          "en"
                        ],
                        "properties": {
                          "de": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "subject",
                              "subjectDate",
                              "title",
                              "greeting",
                              "reply",
                              "appointment",
                              "meeting",
                              "reschedule"
                            ],
                            "properties": {
                              "subject": {
                                "type": "string"
                              },
                              "subjectDate": {
                                "type": "string"
                              },
                              "title": {
                                "type": "string"
                              },
                              "greeting": {
                                "type": "string"
                              },
                              "reply": {
                                "type": "string"
                              },
                              "appointment": {
                                "type": "string"
                              },
                              "meeting": {
                                "type": "string"
                              },
                              "reschedule": {
                                "type": "string"
                              }
                            }
                          },
                          "en": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "subject",
                              "subjectDate",
                              "title",
                              "greeting",
                              "reply",
                              "appointment",
                              "meeting",
                              "reschedule"
                            ],
                            "properties": {
                              "subject": {
                                "type": "string"
                              },
                              "subjectDate": {
                                "type": "string"
                              },
                              "title": {
                                "type": "string"
                              },
                              "greeting": {
                                "type": "string"
                              },
                              "reply": {
                                "type": "string"
                              },
                              "appointment": {
                                "type": "string"
                              },
                              "meeting": {
                                "type": "string"
                              },
                              "reschedule": {
                                "type": "string"
                              }
                            }
                          }
                        }
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "kind",
                      "locales"
                    ],
                    "properties": {
                      "kind": {
                        "type": "string",
                        "enum": [
                          "email"
                        ]
                      },
                      "locales": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "de",
                          "en"
                        ],
                        "properties": {
                          "de": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "subject",
                              "text",
                              "html"
                            ],
                            "properties": {
                              "subject": {
                                "type": "string"
                              },
                              "text": {
                                "type": "string"
                              },
                              "html": {
                                "type": "string"
                              }
                            }
                          },
                          "en": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "subject",
                              "text",
                              "html"
                            ],
                            "properties": {
                              "subject": {
                                "type": "string"
                              },
                              "text": {
                                "type": "string"
                              },
                              "html": {
                                "type": "string"
                              }
                            }
                          }
                        }
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "kind",
                      "locales"
                    ],
                    "properties": {
                      "kind": {
                        "type": "string",
                        "enum": [
                          "whatsapp"
                        ]
                      },
                      "locales": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "de",
                          "en"
                        ],
                        "properties": {
                          "de": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "name",
                              "status",
                              "variables"
                            ],
                            "properties": {
                              "name": {
                                "type": "string"
                              },
                              "status": {
                                "type": "string",
                                "enum": [
                                  "pending",
                                  "approved",
                                  "rejected"
                                ]
                              },
                              "variables": {
                                "type": "object",
                                "additionalProperties": {
                                  "type": "string"
                                }
                              }
                            }
                          },
                          "en": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "name",
                              "status",
                              "variables"
                            ],
                            "properties": {
                              "name": {
                                "type": "string"
                              },
                              "status": {
                                "type": "string",
                                "enum": [
                                  "pending",
                                  "approved",
                                  "rejected"
                                ]
                              },
                              "variables": {
                                "type": "object",
                                "additionalProperties": {
                                  "type": "string"
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                ]
              },
              "publishedVersionId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 160,
                "nullable": true
              },
              "usedByCount": {
                "type": "integer"
              },
              "versionIds": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 160
                }
              },
              "createdAt": {
                "type": "string",
                "format": "date-time"
              },
              "revision": {
                "type": "string",
                "minLength": 1,
                "maxLength": 128
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "401": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "403": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "404": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "409": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "410": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "413": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "415": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "422": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
      "headers": {
        "Retry-After": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Limit": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Remaining": {
          "schema": {
            "type": "integer",
            "minimum": 0
          }
        },
        "RateLimit-Reset": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "rate_limited"
                    ]
                  },
                  "message": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "500": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "503": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
Beta, ohne Stabilitätszusage

GET /v1/message-templates/{templateId}

getMessageTemplate

Berechtigungen: ["read:message-templates"]

Anfrage und Antworten
{
  "operationId": "getMessageTemplate",
  "parameters": [
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 160
      },
      "in": "path",
      "name": "templateId",
      "required": true
    },
    {
      "schema": {
        "type": "string"
      },
      "in": "header",
      "name": "x-workspace-id",
      "required": false,
      "description": "Workspace ID. Required for session authentication when the user has multiple memberships; must name one of their workspaces. API keys remain bound to their own workspace."
    }
  ],
  "security": [
    {
      "apiKey": []
    },
    {
      "session": []
    }
  ],
  "x-required-scopes": [
    "read:message-templates"
  ],
  "x-public-api": true,
  "x-api-stability": "beta",
  "responses": {
    "200": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "id",
              "workspaceId",
              "name",
              "channel",
              "draft",
              "publishedVersionId",
              "usedByCount",
              "versionIds",
              "createdAt",
              "revision"
            ],
            "properties": {
              "id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 160
              },
              "workspaceId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 160
              },
              "name": {
                "type": "string",
                "minLength": 1,
                "maxLength": 200
              },
              "channel": {
                "type": "string",
                "enum": [
                  "email",
                  "whatsapp"
                ]
              },
              "draft": {
                "oneOf": [
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "kind",
                      "texts"
                    ],
                    "properties": {
                      "kind": {
                        "type": "string",
                        "enum": [
                          "reminder"
                        ]
                      },
                      "texts": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "de",
                          "en"
                        ],
                        "properties": {
                          "de": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "subject",
                              "subjectDate",
                              "title",
                              "greeting",
                              "reply",
                              "appointment",
                              "meeting",
                              "reschedule"
                            ],
                            "properties": {
                              "subject": {
                                "type": "string"
                              },
                              "subjectDate": {
                                "type": "string"
                              },
                              "title": {
                                "type": "string"
                              },
                              "greeting": {
                                "type": "string"
                              },
                              "reply": {
                                "type": "string"
                              },
                              "appointment": {
                                "type": "string"
                              },
                              "meeting": {
                                "type": "string"
                              },
                              "reschedule": {
                                "type": "string"
                              }
                            }
                          },
                          "en": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "subject",
                              "subjectDate",
                              "title",
                              "greeting",
                              "reply",
                              "appointment",
                              "meeting",
                              "reschedule"
                            ],
                            "properties": {
                              "subject": {
                                "type": "string"
                              },
                              "subjectDate": {
                                "type": "string"
                              },
                              "title": {
                                "type": "string"
                              },
                              "greeting": {
                                "type": "string"
                              },
                              "reply": {
                                "type": "string"
                              },
                              "appointment": {
                                "type": "string"
                              },
                              "meeting": {
                                "type": "string"
                              },
                              "reschedule": {
                                "type": "string"
                              }
                            }
                          }
                        }
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "kind",
                      "locales"
                    ],
                    "properties": {
                      "kind": {
                        "type": "string",
                        "enum": [
                          "email"
                        ]
                      },
                      "locales": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "de",
                          "en"
                        ],
                        "properties": {
                          "de": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "subject",
                              "text",
                              "html"
                            ],
                            "properties": {
                              "subject": {
                                "type": "string"
                              },
                              "text": {
                                "type": "string"
                              },
                              "html": {
                                "type": "string"
                              }
                            }
                          },
                          "en": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "subject",
                              "text",
                              "html"
                            ],
                            "properties": {
                              "subject": {
                                "type": "string"
                              },
                              "text": {
                                "type": "string"
                              },
                              "html": {
                                "type": "string"
                              }
                            }
                          }
                        }
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "kind",
                      "locales"
                    ],
                    "properties": {
                      "kind": {
                        "type": "string",
                        "enum": [
                          "whatsapp"
                        ]
                      },
                      "locales": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "de",
                          "en"
                        ],
                        "properties": {
                          "de": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "name",
                              "status",
                              "variables"
                            ],
                            "properties": {
                              "name": {
                                "type": "string"
                              },
                              "status": {
                                "type": "string",
                                "enum": [
                                  "pending",
                                  "approved",
                                  "rejected"
                                ]
                              },
                              "variables": {
                                "type": "object",
                                "additionalProperties": {
                                  "type": "string"
                                }
                              }
                            }
                          },
                          "en": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "name",
                              "status",
                              "variables"
                            ],
                            "properties": {
                              "name": {
                                "type": "string"
                              },
                              "status": {
                                "type": "string",
                                "enum": [
                                  "pending",
                                  "approved",
                                  "rejected"
                                ]
                              },
                              "variables": {
                                "type": "object",
                                "additionalProperties": {
                                  "type": "string"
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                ]
              },
              "publishedContent": {
                "oneOf": [
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "kind",
                      "texts"
                    ],
                    "properties": {
                      "kind": {
                        "type": "string",
                        "enum": [
                          "reminder"
                        ]
                      },
                      "texts": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "de",
                          "en"
                        ],
                        "properties": {
                          "de": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "subject",
                              "subjectDate",
                              "title",
                              "greeting",
                              "reply",
                              "appointment",
                              "meeting",
                              "reschedule"
                            ],
                            "properties": {
                              "subject": {
                                "type": "string"
                              },
                              "subjectDate": {
                                "type": "string"
                              },
                              "title": {
                                "type": "string"
                              },
                              "greeting": {
                                "type": "string"
                              },
                              "reply": {
                                "type": "string"
                              },
                              "appointment": {
                                "type": "string"
                              },
                              "meeting": {
                                "type": "string"
                              },
                              "reschedule": {
                                "type": "string"
                              }
                            }
                          },
                          "en": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "subject",
                              "subjectDate",
                              "title",
                              "greeting",
                              "reply",
                              "appointment",
                              "meeting",
                              "reschedule"
                            ],
                            "properties": {
                              "subject": {
                                "type": "string"
                              },
                              "subjectDate": {
                                "type": "string"
                              },
                              "title": {
                                "type": "string"
                              },
                              "greeting": {
                                "type": "string"
                              },
                              "reply": {
                                "type": "string"
                              },
                              "appointment": {
                                "type": "string"
                              },
                              "meeting": {
                                "type": "string"
                              },
                              "reschedule": {
                                "type": "string"
                              }
                            }
                          }
                        }
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "kind",
                      "locales"
                    ],
                    "properties": {
                      "kind": {
                        "type": "string",
                        "enum": [
                          "email"
                        ]
                      },
                      "locales": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "de",
                          "en"
                        ],
                        "properties": {
                          "de": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "subject",
                              "text",
                              "html"
                            ],
                            "properties": {
                              "subject": {
                                "type": "string"
                              },
                              "text": {
                                "type": "string"
                              },
                              "html": {
                                "type": "string"
                              }
                            }
                          },
                          "en": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "subject",
                              "text",
                              "html"
                            ],
                            "properties": {
                              "subject": {
                                "type": "string"
                              },
                              "text": {
                                "type": "string"
                              },
                              "html": {
                                "type": "string"
                              }
                            }
                          }
                        }
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "kind",
                      "locales"
                    ],
                    "properties": {
                      "kind": {
                        "type": "string",
                        "enum": [
                          "whatsapp"
                        ]
                      },
                      "locales": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "de",
                          "en"
                        ],
                        "properties": {
                          "de": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "name",
                              "status",
                              "variables"
                            ],
                            "properties": {
                              "name": {
                                "type": "string"
                              },
                              "status": {
                                "type": "string",
                                "enum": [
                                  "pending",
                                  "approved",
                                  "rejected"
                                ]
                              },
                              "variables": {
                                "type": "object",
                                "additionalProperties": {
                                  "type": "string"
                                }
                              }
                            }
                          },
                          "en": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "name",
                              "status",
                              "variables"
                            ],
                            "properties": {
                              "name": {
                                "type": "string"
                              },
                              "status": {
                                "type": "string",
                                "enum": [
                                  "pending",
                                  "approved",
                                  "rejected"
                                ]
                              },
                              "variables": {
                                "type": "object",
                                "additionalProperties": {
                                  "type": "string"
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                ]
              },
              "publishedVersionId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 160,
                "nullable": true
              },
              "usedByCount": {
                "type": "integer"
              },
              "versionIds": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 160
                }
              },
              "createdAt": {
                "type": "string",
                "format": "date-time"
              },
              "revision": {
                "type": "string",
                "minLength": 1,
                "maxLength": 128
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "401": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "403": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "404": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "409": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "410": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "413": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "415": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "422": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
      "headers": {
        "Retry-After": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Limit": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Remaining": {
          "schema": {
            "type": "integer",
            "minimum": 0
          }
        },
        "RateLimit-Reset": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "rate_limited"
                    ]
                  },
                  "message": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "500": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "503": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
Beta, ohne Stabilitätszusage

PUT /v1/message-templates/{templateId}

updateMessageTemplate

Berechtigungen: ["write:message-templates"]

Anfrage und Antworten
{
  "operationId": "updateMessageTemplate",
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "content",
            "expectedRevision",
            "applyToPending"
          ],
          "properties": {
            "name": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            },
            "content": {
              "oneOf": [
                {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "kind",
                    "texts"
                  ],
                  "properties": {
                    "kind": {
                      "type": "string",
                      "enum": [
                        "reminder"
                      ]
                    },
                    "texts": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "de",
                        "en"
                      ],
                      "properties": {
                        "de": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "subject",
                            "subjectDate",
                            "title",
                            "greeting",
                            "reply",
                            "appointment",
                            "meeting",
                            "reschedule"
                          ],
                          "properties": {
                            "subject": {
                              "type": "string"
                            },
                            "subjectDate": {
                              "type": "string"
                            },
                            "title": {
                              "type": "string"
                            },
                            "greeting": {
                              "type": "string"
                            },
                            "reply": {
                              "type": "string"
                            },
                            "appointment": {
                              "type": "string"
                            },
                            "meeting": {
                              "type": "string"
                            },
                            "reschedule": {
                              "type": "string"
                            }
                          }
                        },
                        "en": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "subject",
                            "subjectDate",
                            "title",
                            "greeting",
                            "reply",
                            "appointment",
                            "meeting",
                            "reschedule"
                          ],
                          "properties": {
                            "subject": {
                              "type": "string"
                            },
                            "subjectDate": {
                              "type": "string"
                            },
                            "title": {
                              "type": "string"
                            },
                            "greeting": {
                              "type": "string"
                            },
                            "reply": {
                              "type": "string"
                            },
                            "appointment": {
                              "type": "string"
                            },
                            "meeting": {
                              "type": "string"
                            },
                            "reschedule": {
                              "type": "string"
                            }
                          }
                        }
                      }
                    }
                  }
                },
                {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "kind",
                    "locales"
                  ],
                  "properties": {
                    "kind": {
                      "type": "string",
                      "enum": [
                        "email"
                      ]
                    },
                    "locales": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "de",
                        "en"
                      ],
                      "properties": {
                        "de": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "subject",
                            "text",
                            "html"
                          ],
                          "properties": {
                            "subject": {
                              "type": "string"
                            },
                            "text": {
                              "type": "string"
                            },
                            "html": {
                              "type": "string"
                            }
                          }
                        },
                        "en": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "subject",
                            "text",
                            "html"
                          ],
                          "properties": {
                            "subject": {
                              "type": "string"
                            },
                            "text": {
                              "type": "string"
                            },
                            "html": {
                              "type": "string"
                            }
                          }
                        }
                      }
                    }
                  }
                },
                {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "kind",
                    "locales"
                  ],
                  "properties": {
                    "kind": {
                      "type": "string",
                      "enum": [
                        "whatsapp"
                      ]
                    },
                    "locales": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "de",
                        "en"
                      ],
                      "properties": {
                        "de": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "name",
                            "status",
                            "variables"
                          ],
                          "properties": {
                            "name": {
                              "type": "string"
                            },
                            "status": {
                              "type": "string",
                              "enum": [
                                "pending",
                                "approved",
                                "rejected"
                              ]
                            },
                            "variables": {
                              "type": "object",
                              "additionalProperties": {
                                "type": "string"
                              }
                            }
                          }
                        },
                        "en": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "name",
                            "status",
                            "variables"
                          ],
                          "properties": {
                            "name": {
                              "type": "string"
                            },
                            "status": {
                              "type": "string",
                              "enum": [
                                "pending",
                                "approved",
                                "rejected"
                              ]
                            },
                            "variables": {
                              "type": "object",
                              "additionalProperties": {
                                "type": "string"
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              ]
            },
            "expectedRevision": {
              "type": "string",
              "minLength": 1,
              "maxLength": 128
            },
            "applyToPending": {
              "type": "boolean"
            }
          }
        }
      }
    }
  },
  "parameters": [
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 160
      },
      "in": "path",
      "name": "templateId",
      "required": true
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "idempotency-key",
      "required": true
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 2048
      },
      "in": "header",
      "name": "x-booking-token",
      "required": false
    },
    {
      "schema": {
        "type": "string"
      },
      "in": "header",
      "name": "x-workspace-id",
      "required": false,
      "description": "Workspace ID. Required for session authentication when the user has multiple memberships; must name one of their workspaces. API keys remain bound to their own workspace."
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "x-csrf-token",
      "required": false,
      "description": "Required for cookie session mutations; not required for API keys."
    }
  ],
  "security": [
    {
      "apiKey": []
    },
    {
      "session": []
    }
  ],
  "x-required-scopes": [
    "write:message-templates"
  ],
  "x-public-api": true,
  "x-api-stability": "beta",
  "responses": {
    "200": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "id",
              "workspaceId",
              "name",
              "channel",
              "draft",
              "publishedVersionId",
              "usedByCount",
              "versionIds",
              "createdAt",
              "revision",
              "affectedMessages"
            ],
            "properties": {
              "id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 160
              },
              "workspaceId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 160
              },
              "name": {
                "type": "string",
                "minLength": 1,
                "maxLength": 200
              },
              "channel": {
                "type": "string",
                "enum": [
                  "email",
                  "whatsapp"
                ]
              },
              "draft": {
                "oneOf": [
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "kind",
                      "texts"
                    ],
                    "properties": {
                      "kind": {
                        "type": "string",
                        "enum": [
                          "reminder"
                        ]
                      },
                      "texts": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "de",
                          "en"
                        ],
                        "properties": {
                          "de": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "subject",
                              "subjectDate",
                              "title",
                              "greeting",
                              "reply",
                              "appointment",
                              "meeting",
                              "reschedule"
                            ],
                            "properties": {
                              "subject": {
                                "type": "string"
                              },
                              "subjectDate": {
                                "type": "string"
                              },
                              "title": {
                                "type": "string"
                              },
                              "greeting": {
                                "type": "string"
                              },
                              "reply": {
                                "type": "string"
                              },
                              "appointment": {
                                "type": "string"
                              },
                              "meeting": {
                                "type": "string"
                              },
                              "reschedule": {
                                "type": "string"
                              }
                            }
                          },
                          "en": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "subject",
                              "subjectDate",
                              "title",
                              "greeting",
                              "reply",
                              "appointment",
                              "meeting",
                              "reschedule"
                            ],
                            "properties": {
                              "subject": {
                                "type": "string"
                              },
                              "subjectDate": {
                                "type": "string"
                              },
                              "title": {
                                "type": "string"
                              },
                              "greeting": {
                                "type": "string"
                              },
                              "reply": {
                                "type": "string"
                              },
                              "appointment": {
                                "type": "string"
                              },
                              "meeting": {
                                "type": "string"
                              },
                              "reschedule": {
                                "type": "string"
                              }
                            }
                          }
                        }
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "kind",
                      "locales"
                    ],
                    "properties": {
                      "kind": {
                        "type": "string",
                        "enum": [
                          "email"
                        ]
                      },
                      "locales": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "de",
                          "en"
                        ],
                        "properties": {
                          "de": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "subject",
                              "text",
                              "html"
                            ],
                            "properties": {
                              "subject": {
                                "type": "string"
                              },
                              "text": {
                                "type": "string"
                              },
                              "html": {
                                "type": "string"
                              }
                            }
                          },
                          "en": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "subject",
                              "text",
                              "html"
                            ],
                            "properties": {
                              "subject": {
                                "type": "string"
                              },
                              "text": {
                                "type": "string"
                              },
                              "html": {
                                "type": "string"
                              }
                            }
                          }
                        }
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "kind",
                      "locales"
                    ],
                    "properties": {
                      "kind": {
                        "type": "string",
                        "enum": [
                          "whatsapp"
                        ]
                      },
                      "locales": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "de",
                          "en"
                        ],
                        "properties": {
                          "de": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "name",
                              "status",
                              "variables"
                            ],
                            "properties": {
                              "name": {
                                "type": "string"
                              },
                              "status": {
                                "type": "string",
                                "enum": [
                                  "pending",
                                  "approved",
                                  "rejected"
                                ]
                              },
                              "variables": {
                                "type": "object",
                                "additionalProperties": {
                                  "type": "string"
                                }
                              }
                            }
                          },
                          "en": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "name",
                              "status",
                              "variables"
                            ],
                            "properties": {
                              "name": {
                                "type": "string"
                              },
                              "status": {
                                "type": "string",
                                "enum": [
                                  "pending",
                                  "approved",
                                  "rejected"
                                ]
                              },
                              "variables": {
                                "type": "object",
                                "additionalProperties": {
                                  "type": "string"
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                ]
              },
              "publishedContent": {
                "oneOf": [
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "kind",
                      "texts"
                    ],
                    "properties": {
                      "kind": {
                        "type": "string",
                        "enum": [
                          "reminder"
                        ]
                      },
                      "texts": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "de",
                          "en"
                        ],
                        "properties": {
                          "de": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "subject",
                              "subjectDate",
                              "title",
                              "greeting",
                              "reply",
                              "appointment",
                              "meeting",
                              "reschedule"
                            ],
                            "properties": {
                              "subject": {
                                "type": "string"
                              },
                              "subjectDate": {
                                "type": "string"
                              },
                              "title": {
                                "type": "string"
                              },
                              "greeting": {
                                "type": "string"
                              },
                              "reply": {
                                "type": "string"
                              },
                              "appointment": {
                                "type": "string"
                              },
                              "meeting": {
                                "type": "string"
                              },
                              "reschedule": {
                                "type": "string"
                              }
                            }
                          },
                          "en": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "subject",
                              "subjectDate",
                              "title",
                              "greeting",
                              "reply",
                              "appointment",
                              "meeting",
                              "reschedule"
                            ],
                            "properties": {
                              "subject": {
                                "type": "string"
                              },
                              "subjectDate": {
                                "type": "string"
                              },
                              "title": {
                                "type": "string"
                              },
                              "greeting": {
                                "type": "string"
                              },
                              "reply": {
                                "type": "string"
                              },
                              "appointment": {
                                "type": "string"
                              },
                              "meeting": {
                                "type": "string"
                              },
                              "reschedule": {
                                "type": "string"
                              }
                            }
                          }
                        }
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "kind",
                      "locales"
                    ],
                    "properties": {
                      "kind": {
                        "type": "string",
                        "enum": [
                          "email"
                        ]
                      },
                      "locales": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "de",
                          "en"
                        ],
                        "properties": {
                          "de": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "subject",
                              "text",
                              "html"
                            ],
                            "properties": {
                              "subject": {
                                "type": "string"
                              },
                              "text": {
                                "type": "string"
                              },
                              "html": {
                                "type": "string"
                              }
                            }
                          },
                          "en": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "subject",
                              "text",
                              "html"
                            ],
                            "properties": {
                              "subject": {
                                "type": "string"
                              },
                              "text": {
                                "type": "string"
                              },
                              "html": {
                                "type": "string"
                              }
                            }
                          }
                        }
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "kind",
                      "locales"
                    ],
                    "properties": {
                      "kind": {
                        "type": "string",
                        "enum": [
                          "whatsapp"
                        ]
                      },
                      "locales": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "de",
                          "en"
                        ],
                        "properties": {
                          "de": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "name",
                              "status",
                              "variables"
                            ],
                            "properties": {
                              "name": {
                                "type": "string"
                              },
                              "status": {
                                "type": "string",
                                "enum": [
                                  "pending",
                                  "approved",
                                  "rejected"
                                ]
                              },
                              "variables": {
                                "type": "object",
                                "additionalProperties": {
                                  "type": "string"
                                }
                              }
                            }
                          },
                          "en": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "name",
                              "status",
                              "variables"
                            ],
                            "properties": {
                              "name": {
                                "type": "string"
                              },
                              "status": {
                                "type": "string",
                                "enum": [
                                  "pending",
                                  "approved",
                                  "rejected"
                                ]
                              },
                              "variables": {
                                "type": "object",
                                "additionalProperties": {
                                  "type": "string"
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                ]
              },
              "publishedVersionId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 160,
                "nullable": true
              },
              "usedByCount": {
                "type": "integer"
              },
              "versionIds": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 160
                }
              },
              "createdAt": {
                "type": "string",
                "format": "date-time"
              },
              "revision": {
                "type": "string",
                "minLength": 1,
                "maxLength": 128
              },
              "affectedMessages": {
                "type": "integer"
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "401": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "403": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "404": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "409": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "410": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "413": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "415": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "422": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
      "headers": {
        "Retry-After": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Limit": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Remaining": {
          "schema": {
            "type": "integer",
            "minimum": 0
          }
        },
        "RateLimit-Reset": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "rate_limited"
                    ]
                  },
                  "message": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "500": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "503": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
Beta, ohne Stabilitätszusage

DELETE /v1/message-templates/{templateId}

deleteMessageTemplate

Berechtigungen: ["write:message-templates"]

Anfrage und Antworten
{
  "operationId": "deleteMessageTemplate",
  "parameters": [
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 160
      },
      "in": "path",
      "name": "templateId",
      "required": true
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "idempotency-key",
      "required": true
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 2048
      },
      "in": "header",
      "name": "x-booking-token",
      "required": false
    },
    {
      "schema": {
        "type": "string"
      },
      "in": "header",
      "name": "x-workspace-id",
      "required": false,
      "description": "Workspace ID. Required for session authentication when the user has multiple memberships; must name one of their workspaces. API keys remain bound to their own workspace."
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "x-csrf-token",
      "required": false,
      "description": "Required for cookie session mutations; not required for API keys."
    }
  ],
  "security": [
    {
      "apiKey": []
    },
    {
      "session": []
    }
  ],
  "x-required-scopes": [
    "write:message-templates"
  ],
  "x-public-api": true,
  "x-api-stability": "beta",
  "responses": {
    "200": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "401": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "403": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "404": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "409": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "410": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "413": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "415": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "422": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
      "headers": {
        "Retry-After": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Limit": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Remaining": {
          "schema": {
            "type": "integer",
            "minimum": 0
          }
        },
        "RateLimit-Reset": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "rate_limited"
                    ]
                  },
                  "message": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "500": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "503": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
Beta, ohne Stabilitätszusage

GET /v1/message-templates/{templateId}/impact

getMessageTemplateImpact

Berechtigungen: ["read:message-templates"]

Anfrage und Antworten
{
  "operationId": "getMessageTemplateImpact",
  "parameters": [
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 160
      },
      "in": "path",
      "name": "templateId",
      "required": true
    },
    {
      "schema": {
        "type": "string"
      },
      "in": "header",
      "name": "x-workspace-id",
      "required": false,
      "description": "Workspace ID. Required for session authentication when the user has multiple memberships; must name one of their workspaces. API keys remain bound to their own workspace."
    }
  ],
  "security": [
    {
      "apiKey": []
    },
    {
      "session": []
    }
  ],
  "x-required-scopes": [
    "read:message-templates"
  ],
  "x-public-api": true,
  "x-api-stability": "beta",
  "responses": {
    "200": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "count",
              "revision"
            ],
            "properties": {
              "count": {
                "type": "integer"
              },
              "revision": {
                "type": "string",
                "minLength": 1,
                "maxLength": 128
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "401": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "403": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "404": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "409": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "410": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "413": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "415": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "422": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
      "headers": {
        "Retry-After": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Limit": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Remaining": {
          "schema": {
            "type": "integer",
            "minimum": 0
          }
        },
        "RateLimit-Reset": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "rate_limited"
                    ]
                  },
                  "message": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "500": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "503": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
Beta, ohne Stabilitätszusage

GET /v1/funnels/{funnelId}/sequences

getFunnelSequences

Berechtigungen: ["read:funnels"]

Anfrage und Antworten
{
  "operationId": "getFunnelSequences",
  "parameters": [
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 160
      },
      "in": "path",
      "name": "funnelId",
      "required": true
    },
    {
      "schema": {
        "type": "string"
      },
      "in": "header",
      "name": "x-workspace-id",
      "required": false,
      "description": "Workspace ID. Required for session authentication when the user has multiple memberships; must name one of their workspaces. API keys remain bound to their own workspace."
    }
  ],
  "security": [
    {
      "apiKey": []
    },
    {
      "session": []
    }
  ],
  "x-required-scopes": [
    "read:funnels"
  ],
  "x-public-api": true,
  "x-api-stability": "beta",
  "responses": {
    "200": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "funnelId",
              "usesDefault",
              "sequenceIds",
              "effectiveSequenceIds",
              "defaultSequenceId",
              "confirmationRequired"
            ],
            "properties": {
              "funnelId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 160
              },
              "usesDefault": {
                "type": "boolean"
              },
              "sequenceIds": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 160
                }
              },
              "effectiveSequenceIds": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 160
                }
              },
              "defaultSequenceId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 160
              },
              "confirmationRequired": {
                "type": "boolean"
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "401": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "403": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "404": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "409": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "410": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "413": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "415": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "422": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
      "headers": {
        "Retry-After": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Limit": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Remaining": {
          "schema": {
            "type": "integer",
            "minimum": 0
          }
        },
        "RateLimit-Reset": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "rate_limited"
                    ]
                  },
                  "message": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "500": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "503": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
Beta, ohne Stabilitätszusage

PUT /v1/funnels/{funnelId}/sequences

setFunnelSequences

Berechtigungen: ["write:funnels"]

Anfrage und Antworten
{
  "operationId": "setFunnelSequences",
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "sequenceIds"
          ],
          "properties": {
            "sequenceIds": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 160
              },
              "nullable": true
            },
            "confirmationRequired": {
              "type": "boolean"
            }
          }
        }
      }
    }
  },
  "parameters": [
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 160
      },
      "in": "path",
      "name": "funnelId",
      "required": true
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "idempotency-key",
      "required": true
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 2048
      },
      "in": "header",
      "name": "x-booking-token",
      "required": false
    },
    {
      "schema": {
        "type": "string"
      },
      "in": "header",
      "name": "x-workspace-id",
      "required": false,
      "description": "Workspace ID. Required for session authentication when the user has multiple memberships; must name one of their workspaces. API keys remain bound to their own workspace."
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "x-csrf-token",
      "required": false,
      "description": "Required for cookie session mutations; not required for API keys."
    }
  ],
  "security": [
    {
      "apiKey": []
    },
    {
      "session": []
    }
  ],
  "x-required-scopes": [
    "write:funnels"
  ],
  "x-public-api": true,
  "x-api-stability": "beta",
  "responses": {
    "200": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "funnelId",
              "usesDefault",
              "sequenceIds",
              "effectiveSequenceIds",
              "defaultSequenceId",
              "confirmationRequired"
            ],
            "properties": {
              "funnelId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 160
              },
              "usesDefault": {
                "type": "boolean"
              },
              "sequenceIds": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 160
                }
              },
              "effectiveSequenceIds": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 160
                }
              },
              "defaultSequenceId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 160
              },
              "confirmationRequired": {
                "type": "boolean"
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "401": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "403": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "404": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "409": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "410": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "413": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "415": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "422": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
      "headers": {
        "Retry-After": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Limit": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Remaining": {
          "schema": {
            "type": "integer",
            "minimum": 0
          }
        },
        "RateLimit-Reset": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "rate_limited"
                    ]
                  },
                  "message": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "500": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "503": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
Beta, ohne Stabilitätszusage

POST /v1/message-templates/preview

previewMessageTemplate

Berechtigungen: ["write:message-templates"]

Anfrage und Antworten
{
  "operationId": "previewMessageTemplate",
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "content",
            "locale"
          ],
          "properties": {
            "content": {
              "oneOf": [
                {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "kind",
                    "texts"
                  ],
                  "properties": {
                    "kind": {
                      "type": "string",
                      "enum": [
                        "reminder"
                      ]
                    },
                    "texts": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "de",
                        "en"
                      ],
                      "properties": {
                        "de": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "subject",
                            "subjectDate",
                            "title",
                            "greeting",
                            "reply",
                            "appointment",
                            "meeting",
                            "reschedule"
                          ],
                          "properties": {
                            "subject": {
                              "type": "string"
                            },
                            "subjectDate": {
                              "type": "string"
                            },
                            "title": {
                              "type": "string"
                            },
                            "greeting": {
                              "type": "string"
                            },
                            "reply": {
                              "type": "string"
                            },
                            "appointment": {
                              "type": "string"
                            },
                            "meeting": {
                              "type": "string"
                            },
                            "reschedule": {
                              "type": "string"
                            }
                          }
                        },
                        "en": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "subject",
                            "subjectDate",
                            "title",
                            "greeting",
                            "reply",
                            "appointment",
                            "meeting",
                            "reschedule"
                          ],
                          "properties": {
                            "subject": {
                              "type": "string"
                            },
                            "subjectDate": {
                              "type": "string"
                            },
                            "title": {
                              "type": "string"
                            },
                            "greeting": {
                              "type": "string"
                            },
                            "reply": {
                              "type": "string"
                            },
                            "appointment": {
                              "type": "string"
                            },
                            "meeting": {
                              "type": "string"
                            },
                            "reschedule": {
                              "type": "string"
                            }
                          }
                        }
                      }
                    }
                  }
                },
                {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "kind",
                    "locales"
                  ],
                  "properties": {
                    "kind": {
                      "type": "string",
                      "enum": [
                        "email"
                      ]
                    },
                    "locales": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "de",
                        "en"
                      ],
                      "properties": {
                        "de": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "subject",
                            "text",
                            "html"
                          ],
                          "properties": {
                            "subject": {
                              "type": "string"
                            },
                            "text": {
                              "type": "string"
                            },
                            "html": {
                              "type": "string"
                            }
                          }
                        },
                        "en": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "subject",
                            "text",
                            "html"
                          ],
                          "properties": {
                            "subject": {
                              "type": "string"
                            },
                            "text": {
                              "type": "string"
                            },
                            "html": {
                              "type": "string"
                            }
                          }
                        }
                      }
                    }
                  }
                },
                {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "kind",
                    "locales"
                  ],
                  "properties": {
                    "kind": {
                      "type": "string",
                      "enum": [
                        "whatsapp"
                      ]
                    },
                    "locales": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "de",
                        "en"
                      ],
                      "properties": {
                        "de": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "name",
                            "status",
                            "variables"
                          ],
                          "properties": {
                            "name": {
                              "type": "string"
                            },
                            "status": {
                              "type": "string",
                              "enum": [
                                "pending",
                                "approved",
                                "rejected"
                              ]
                            },
                            "variables": {
                              "type": "object",
                              "additionalProperties": {
                                "type": "string"
                              }
                            }
                          }
                        },
                        "en": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "name",
                            "status",
                            "variables"
                          ],
                          "properties": {
                            "name": {
                              "type": "string"
                            },
                            "status": {
                              "type": "string",
                              "enum": [
                                "pending",
                                "approved",
                                "rejected"
                              ]
                            },
                            "variables": {
                              "type": "object",
                              "additionalProperties": {
                                "type": "string"
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              ]
            },
            "locale": {
              "type": "string",
              "enum": [
                "de",
                "en"
              ]
            }
          }
        }
      }
    }
  },
  "parameters": [
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "idempotency-key",
      "required": true
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 2048
      },
      "in": "header",
      "name": "x-booking-token",
      "required": false
    },
    {
      "schema": {
        "type": "string"
      },
      "in": "header",
      "name": "x-workspace-id",
      "required": false,
      "description": "Workspace ID. Required for session authentication when the user has multiple memberships; must name one of their workspaces. API keys remain bound to their own workspace."
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "x-csrf-token",
      "required": false,
      "description": "Required for cookie session mutations; not required for API keys."
    }
  ],
  "security": [
    {
      "apiKey": []
    },
    {
      "session": []
    }
  ],
  "x-required-scopes": [
    "write:message-templates"
  ],
  "x-public-api": true,
  "x-api-stability": "beta",
  "responses": {
    "200": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "subject",
              "text",
              "html"
            ],
            "properties": {
              "subject": {
                "type": "string"
              },
              "text": {
                "type": "string"
              },
              "html": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "401": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "403": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "404": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "409": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "410": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "413": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "415": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "422": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
      "headers": {
        "Retry-After": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Limit": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Remaining": {
          "schema": {
            "type": "integer",
            "minimum": 0
          }
        },
        "RateLimit-Reset": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "rate_limited"
                    ]
                  },
                  "message": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "500": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "503": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
Beta, ohne Stabilitätszusage

POST /v1/message-templates/{templateId}/test

testMessageTemplate

Berechtigungen: ["write:message-templates"]

Anfrage und Antworten
{
  "operationId": "testMessageTemplate",
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "locale"
          ],
          "properties": {
            "locale": {
              "type": "string",
              "enum": [
                "de",
                "en"
              ]
            }
          }
        }
      }
    }
  },
  "parameters": [
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 160
      },
      "in": "path",
      "name": "templateId",
      "required": true
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "idempotency-key",
      "required": true
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 2048
      },
      "in": "header",
      "name": "x-booking-token",
      "required": false
    },
    {
      "schema": {
        "type": "string"
      },
      "in": "header",
      "name": "x-workspace-id",
      "required": false,
      "description": "Workspace ID. Required for session authentication when the user has multiple memberships; must name one of their workspaces. API keys remain bound to their own workspace."
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "x-csrf-token",
      "required": false,
      "description": "Required for cookie session mutations; not required for API keys."
    }
  ],
  "security": [
    {
      "apiKey": []
    },
    {
      "session": []
    }
  ],
  "x-required-scopes": [
    "write:message-templates"
  ],
  "x-public-api": true,
  "x-api-stability": "beta",
  "responses": {
    "202": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "status",
              "recipient"
            ],
            "properties": {
              "status": {
                "type": "string",
                "enum": [
                  "accepted",
                  "unknown",
                  "failed"
                ]
              },
              "recipient": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "401": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "403": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "404": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "409": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "410": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "413": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "415": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "422": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
      "headers": {
        "Retry-After": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Limit": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Remaining": {
          "schema": {
            "type": "integer",
            "minimum": 0
          }
        },
        "RateLimit-Reset": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "rate_limited"
                    ]
                  },
                  "message": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "500": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "503": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
Beta, ohne Stabilitätszusage

GET /v1/workspace-members

listWorkspaceMembers

Berechtigungen: ["read:workspace-members"]

Anfrage und Antworten
{
  "operationId": "listWorkspaceMembers",
  "parameters": [
    {
      "schema": {
        "type": "string",
        "maxLength": 200
      },
      "in": "query",
      "name": "search",
      "required": false
    },
    {
      "schema": {
        "type": "integer",
        "minimum": 1,
        "maximum": 100
      },
      "in": "query",
      "name": "limit",
      "required": false
    },
    {
      "schema": {
        "type": "integer",
        "minimum": 0,
        "maximum": 2147483647
      },
      "in": "query",
      "name": "offset",
      "required": false
    },
    {
      "schema": {
        "type": "string"
      },
      "in": "header",
      "name": "x-workspace-id",
      "required": false,
      "description": "Workspace ID. Required for session authentication when the user has multiple memberships; must name one of their workspaces. API keys remain bound to their own workspace."
    }
  ],
  "security": [
    {
      "session": []
    },
    {
      "apiKey": []
    }
  ],
  "x-required-scopes": [
    "read:workspace-members"
  ],
  "x-public-api": true,
  "x-api-stability": "beta",
  "responses": {
    "200": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "required": [
              "data",
              "total",
              "limit",
              "offset"
            ],
            "properties": {
              "data": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "userId",
                    "name",
                    "email",
                    "role",
                    "hostIds"
                  ],
                  "properties": {
                    "userId": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "email": {
                      "type": "string"
                    },
                    "role": {
                      "type": "string",
                      "enum": [
                        "owner",
                        "admin",
                        "member"
                      ]
                    },
                    "hostIds": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "deactivationReason": {
                      "type": "string",
                      "enum": [
                        "plan"
                      ],
                      "nullable": true
                    }
                  }
                }
              },
              "total": {
                "type": "integer"
              },
              "limit": {
                "type": "integer"
              },
              "offset": {
                "type": "integer"
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "401": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "403": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "404": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "409": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "410": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "413": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "415": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "422": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
      "headers": {
        "Retry-After": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Limit": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Remaining": {
          "schema": {
            "type": "integer",
            "minimum": 0
          }
        },
        "RateLimit-Reset": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "rate_limited"
                    ]
                  },
                  "message": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "500": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "503": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
Beta, ohne Stabilitätszusage

GET /v1/workspace-invitations

listWorkspaceInvitations

Berechtigungen: ["read:workspace-invitations"]

Anfrage und Antworten
{
  "operationId": "listWorkspaceInvitations",
  "parameters": [
    {
      "schema": {
        "type": "string",
        "maxLength": 200
      },
      "in": "query",
      "name": "search",
      "required": false
    },
    {
      "schema": {
        "type": "integer",
        "minimum": 1,
        "maximum": 100
      },
      "in": "query",
      "name": "limit",
      "required": false
    },
    {
      "schema": {
        "type": "integer",
        "minimum": 0,
        "maximum": 2147483647
      },
      "in": "query",
      "name": "offset",
      "required": false
    },
    {
      "schema": {
        "type": "string"
      },
      "in": "header",
      "name": "x-workspace-id",
      "required": false,
      "description": "Workspace ID. Required for session authentication when the user has multiple memberships; must name one of their workspaces. API keys remain bound to their own workspace."
    }
  ],
  "security": [
    {
      "session": []
    },
    {
      "apiKey": []
    }
  ],
  "x-required-scopes": [
    "read:workspace-invitations"
  ],
  "x-public-api": true,
  "x-api-stability": "beta",
  "responses": {
    "200": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "required": [
              "data",
              "total",
              "limit",
              "offset"
            ],
            "properties": {
              "data": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "id",
                    "email",
                    "role",
                    "createdAt",
                    "expiresAt",
                    "status",
                    "delivery"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "email": {
                      "type": "string"
                    },
                    "teamId": {
                      "type": "string",
                      "nullable": true
                    },
                    "role": {
                      "type": "string",
                      "enum": [
                        "admin",
                        "member"
                      ]
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "expiresAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "status": {
                      "type": "string",
                      "enum": [
                        "pending",
                        "accepted",
                        "revoked",
                        "expired"
                      ]
                    },
                    "delivery": {
                      "type": "string",
                      "enum": [
                        "pending",
                        "sent",
                        "failed"
                      ]
                    },
                    "currentMember": {
                      "type": "boolean"
                    }
                  }
                }
              },
              "total": {
                "type": "integer"
              },
              "limit": {
                "type": "integer"
              },
              "offset": {
                "type": "integer"
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "401": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "403": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "404": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "409": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "410": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "413": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "415": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "422": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
      "headers": {
        "Retry-After": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Limit": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Remaining": {
          "schema": {
            "type": "integer",
            "minimum": 0
          }
        },
        "RateLimit-Reset": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "rate_limited"
                    ]
                  },
                  "message": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "500": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "503": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
Beta, ohne Stabilitätszusage

POST /v1/workspace-invitations

createWorkspaceInvitation

Berechtigungen: ["write:workspace-invitations"]

Anfrage und Antworten
{
  "operationId": "createWorkspaceInvitation",
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "email",
            "role",
            "locale"
          ],
          "properties": {
            "teamId": {
              "type": "string",
              "nullable": true,
              "minLength": 1,
              "maxLength": 200
            },
            "email": {
              "type": "string",
              "minLength": 3,
              "maxLength": 320
            },
            "role": {
              "type": "string",
              "enum": [
                "admin",
                "member"
              ]
            },
            "locale": {
              "type": "string",
              "enum": [
                "de",
                "en"
              ]
            }
          }
        }
      }
    }
  },
  "parameters": [
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "idempotency-key",
      "required": true
    },
    {
      "schema": {
        "type": "string"
      },
      "in": "header",
      "name": "x-workspace-id",
      "required": false,
      "description": "Workspace ID. Required for session authentication when the user has multiple memberships; must name one of their workspaces. API keys remain bound to their own workspace."
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "x-csrf-token",
      "required": false,
      "description": "Required for cookie session mutations; not required for API keys."
    }
  ],
  "security": [
    {
      "session": []
    },
    {
      "apiKey": []
    }
  ],
  "x-required-scopes": [
    "write:workspace-invitations"
  ],
  "x-public-api": true,
  "x-api-stability": "beta",
  "responses": {
    "201": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "id",
              "email",
              "role",
              "createdAt",
              "expiresAt",
              "status",
              "delivery"
            ],
            "properties": {
              "id": {
                "type": "string"
              },
              "email": {
                "type": "string"
              },
              "teamId": {
                "type": "string",
                "nullable": true
              },
              "role": {
                "type": "string",
                "enum": [
                  "admin",
                  "member"
                ]
              },
              "createdAt": {
                "type": "string",
                "format": "date-time"
              },
              "expiresAt": {
                "type": "string",
                "format": "date-time"
              },
              "status": {
                "type": "string",
                "enum": [
                  "pending",
                  "accepted",
                  "revoked",
                  "expired"
                ]
              },
              "delivery": {
                "type": "string",
                "enum": [
                  "pending",
                  "sent",
                  "failed"
                ]
              },
              "currentMember": {
                "type": "boolean"
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "401": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "403": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "404": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "409": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "410": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "413": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "415": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "422": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
      "headers": {
        "Retry-After": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Limit": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Remaining": {
          "schema": {
            "type": "integer",
            "minimum": 0
          }
        },
        "RateLimit-Reset": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "rate_limited"
                    ]
                  },
                  "message": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "500": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "503": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
Beta, ohne Stabilitätszusage

POST /v1/workspace-invitations/{invitationId}/resend

resendWorkspaceInvitation

Berechtigungen: ["write:workspace-invitations"]

Anfrage und Antworten
{
  "operationId": "resendWorkspaceInvitation",
  "parameters": [
    {
      "schema": {
        "type": "string",
        "pattern": "^wi_[0-7][0-9A-HJKMNP-TV-Z]{25}$"
      },
      "in": "path",
      "name": "invitationId",
      "required": true
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "idempotency-key",
      "required": true
    },
    {
      "schema": {
        "type": "string"
      },
      "in": "header",
      "name": "x-workspace-id",
      "required": false,
      "description": "Workspace ID. Required for session authentication when the user has multiple memberships; must name one of their workspaces. API keys remain bound to their own workspace."
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "x-csrf-token",
      "required": false,
      "description": "Required for cookie session mutations; not required for API keys."
    }
  ],
  "security": [
    {
      "session": []
    },
    {
      "apiKey": []
    }
  ],
  "x-required-scopes": [
    "write:workspace-invitations"
  ],
  "x-public-api": true,
  "x-api-stability": "beta",
  "responses": {
    "200": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "id",
              "email",
              "role",
              "createdAt",
              "expiresAt",
              "status",
              "delivery"
            ],
            "properties": {
              "id": {
                "type": "string"
              },
              "email": {
                "type": "string"
              },
              "teamId": {
                "type": "string",
                "nullable": true
              },
              "role": {
                "type": "string",
                "enum": [
                  "admin",
                  "member"
                ]
              },
              "createdAt": {
                "type": "string",
                "format": "date-time"
              },
              "expiresAt": {
                "type": "string",
                "format": "date-time"
              },
              "status": {
                "type": "string",
                "enum": [
                  "pending",
                  "accepted",
                  "revoked",
                  "expired"
                ]
              },
              "delivery": {
                "type": "string",
                "enum": [
                  "pending",
                  "sent",
                  "failed"
                ]
              },
              "currentMember": {
                "type": "boolean"
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "401": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "403": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "404": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "409": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "410": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "413": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "415": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "422": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
      "headers": {
        "Retry-After": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Limit": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Remaining": {
          "schema": {
            "type": "integer",
            "minimum": 0
          }
        },
        "RateLimit-Reset": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "rate_limited"
                    ]
                  },
                  "message": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "500": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "503": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
Beta, ohne Stabilitätszusage

POST /v1/workspace-invitations/{invitationId}/revoke

revokeWorkspaceInvitation

Berechtigungen: ["write:workspace-invitations"]

Anfrage und Antworten
{
  "operationId": "revokeWorkspaceInvitation",
  "parameters": [
    {
      "schema": {
        "type": "string",
        "pattern": "^wi_[0-7][0-9A-HJKMNP-TV-Z]{25}$"
      },
      "in": "path",
      "name": "invitationId",
      "required": true
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "idempotency-key",
      "required": true
    },
    {
      "schema": {
        "type": "string"
      },
      "in": "header",
      "name": "x-workspace-id",
      "required": false,
      "description": "Workspace ID. Required for session authentication when the user has multiple memberships; must name one of their workspaces. API keys remain bound to their own workspace."
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "x-csrf-token",
      "required": false,
      "description": "Required for cookie session mutations; not required for API keys."
    }
  ],
  "security": [
    {
      "session": []
    },
    {
      "apiKey": []
    }
  ],
  "x-required-scopes": [
    "write:workspace-invitations"
  ],
  "x-public-api": true,
  "x-api-stability": "beta",
  "responses": {
    "200": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "id",
              "email",
              "role",
              "createdAt",
              "expiresAt",
              "status",
              "delivery"
            ],
            "properties": {
              "id": {
                "type": "string"
              },
              "email": {
                "type": "string"
              },
              "teamId": {
                "type": "string",
                "nullable": true
              },
              "role": {
                "type": "string",
                "enum": [
                  "admin",
                  "member"
                ]
              },
              "createdAt": {
                "type": "string",
                "format": "date-time"
              },
              "expiresAt": {
                "type": "string",
                "format": "date-time"
              },
              "status": {
                "type": "string",
                "enum": [
                  "pending",
                  "accepted",
                  "revoked",
                  "expired"
                ]
              },
              "delivery": {
                "type": "string",
                "enum": [
                  "pending",
                  "sent",
                  "failed"
                ]
              },
              "currentMember": {
                "type": "boolean"
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "401": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "403": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "404": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "409": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "410": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "413": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "415": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "422": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
      "headers": {
        "Retry-After": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Limit": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Remaining": {
          "schema": {
            "type": "integer",
            "minimum": 0
          }
        },
        "RateLimit-Reset": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "rate_limited"
                    ]
                  },
                  "message": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "500": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "503": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
Beta, ohne Stabilitätszusage

PATCH /v1/workspace-members/{userId}

updateWorkspaceMember

Berechtigungen: ["write:workspace-members"]

Anfrage und Antworten
{
  "operationId": "updateWorkspaceMember",
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "role"
          ],
          "properties": {
            "role": {
              "type": "string",
              "enum": [
                "admin",
                "member"
              ]
            }
          }
        }
      }
    }
  },
  "parameters": [
    {
      "schema": {
        "type": "string",
        "pattern": "^us_[0-7][0-9A-HJKMNP-TV-Z]{25}$"
      },
      "in": "path",
      "name": "userId",
      "required": true
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "idempotency-key",
      "required": true
    },
    {
      "schema": {
        "type": "string"
      },
      "in": "header",
      "name": "x-workspace-id",
      "required": false,
      "description": "Workspace ID. Required for session authentication when the user has multiple memberships; must name one of their workspaces. API keys remain bound to their own workspace."
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "x-csrf-token",
      "required": false,
      "description": "Required for cookie session mutations; not required for API keys."
    }
  ],
  "security": [
    {
      "session": []
    },
    {
      "apiKey": []
    }
  ],
  "x-required-scopes": [
    "write:workspace-members"
  ],
  "x-public-api": true,
  "x-api-stability": "beta",
  "responses": {
    "200": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "required": [
              "userId"
            ],
            "properties": {
              "userId": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "401": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "403": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "404": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "409": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "410": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "413": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "415": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "422": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
      "headers": {
        "Retry-After": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Limit": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Remaining": {
          "schema": {
            "type": "integer",
            "minimum": 0
          }
        },
        "RateLimit-Reset": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "rate_limited"
                    ]
                  },
                  "message": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "500": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "503": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
Beta, ohne Stabilitätszusage

DELETE /v1/workspace-members/{userId}

removeWorkspaceMember

Berechtigungen: ["write:workspace-members"]

Anfrage und Antworten
{
  "operationId": "removeWorkspaceMember",
  "parameters": [
    {
      "schema": {
        "type": "string",
        "pattern": "^us_[0-7][0-9A-HJKMNP-TV-Z]{25}$"
      },
      "in": "path",
      "name": "userId",
      "required": true
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "idempotency-key",
      "required": true
    },
    {
      "schema": {
        "type": "string"
      },
      "in": "header",
      "name": "x-workspace-id",
      "required": false,
      "description": "Workspace ID. Required for session authentication when the user has multiple memberships; must name one of their workspaces. API keys remain bound to their own workspace."
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "x-csrf-token",
      "required": false,
      "description": "Required for cookie session mutations; not required for API keys."
    }
  ],
  "security": [
    {
      "session": []
    },
    {
      "apiKey": []
    }
  ],
  "x-required-scopes": [
    "write:workspace-members"
  ],
  "x-public-api": true,
  "x-api-stability": "beta",
  "responses": {
    "200": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "required": [
              "userId"
            ],
            "properties": {
              "userId": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "401": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "403": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "404": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "409": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "410": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "413": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "415": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "422": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
      "headers": {
        "Retry-After": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Limit": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Remaining": {
          "schema": {
            "type": "integer",
            "minimum": 0
          }
        },
        "RateLimit-Reset": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "rate_limited"
                    ]
                  },
                  "message": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "500": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "503": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
Beta, ohne Stabilitätszusage

GET /v1/funnel-templates

listFunnelTemplates

Berechtigungen: ["read:funnels"]

Anfrage und Antworten
{
  "operationId": "listFunnelTemplates",
  "parameters": [
    {
      "schema": {
        "type": "string"
      },
      "in": "header",
      "name": "x-workspace-id",
      "required": false,
      "description": "Workspace ID. Required for session authentication when the user has multiple memberships; must name one of their workspaces. API keys remain bound to their own workspace."
    }
  ],
  "security": [
    {
      "apiKey": []
    },
    {
      "session": []
    }
  ],
  "x-required-scopes": [
    "read:funnels"
  ],
  "x-public-api": true,
  "x-api-stability": "beta",
  "responses": {
    "200": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "id",
                "name",
                "settings",
                "mode",
                "captureAbandoned",
                "bookingWindowDays",
                "fields",
                "bookingCopy"
              ],
              "properties": {
                "id": {
                  "type": "string",
                  "enum": [
                    "coaching_intro"
                  ]
                },
                "name": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "de",
                    "en"
                  ],
                  "properties": {
                    "de": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 2000
                    },
                    "en": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 2000
                    }
                  }
                },
                "maxDurationMinutes": {
                  "type": "integer",
                  "minimum": 1
                },
                "settings": {
                  "type": "object",
                  "additionalProperties": false,
                  "properties": {
                    "mode": {
                      "type": "string",
                      "enum": [
                        "form_first",
                        "calendar_first",
                        "headless"
                      ]
                    },
                    "captureAbandoned": {
                      "type": "boolean",
                      "description": "Available only in form_first. calendar_first and headless always use false and reject explicit true."
                    },
                    "bookingWindowDays": {
                      "type": "integer",
                      "minimum": 1,
                      "maximum": 36500
                    },
                    "fields": {
                      "type": "array",
                      "maxItems": 100,
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "id",
                          "type",
                          "required",
                          "label"
                        ],
                        "properties": {
                          "id": {
                            "type": "string",
                            "pattern": "^[a-z][a-z0-9_]{0,79}$"
                          },
                          "type": {
                            "type": "string",
                            "enum": [
                              "text",
                              "email",
                              "phone",
                              "select",
                              "multiselect",
                              "scale",
                              "number",
                              "textarea",
                              "boolean",
                              "consent"
                            ]
                          },
                          "required": {
                            "type": "boolean"
                          },
                          "hidden": {
                            "type": "boolean"
                          },
                          "label": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "de",
                              "en"
                            ],
                            "properties": {
                              "de": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 2000
                              },
                              "en": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 2000
                              }
                            }
                          },
                          "min": {
                            "type": "number",
                            "description": "Required integer lower bound for a scale; optional numeric lower bound for a number field."
                          },
                          "max": {
                            "type": "number",
                            "description": "Required integer upper bound greater than min for a scale; optional numeric upper bound for a number field."
                          },
                          "options": {
                            "type": "array",
                            "minItems": 1,
                            "maxItems": 100,
                            "items": {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "value",
                                "label"
                              ],
                              "properties": {
                                "value": {
                                  "type": "string",
                                  "minLength": 1,
                                  "maxLength": 80
                                },
                                "label": {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "required": [
                                    "de",
                                    "en"
                                  ],
                                  "properties": {
                                    "de": {
                                      "type": "string",
                                      "minLength": 1,
                                      "maxLength": 2000
                                    },
                                    "en": {
                                      "type": "string",
                                      "minLength": 1,
                                      "maxLength": 2000
                                    }
                                  }
                                }
                              }
                            }
                          }
                        }
                      }
                    },
                    "bookingCopy": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "headline",
                        "subheadline",
                        "submitLabel",
                        "confirmation",
                        "consent",
                        "privacyLinkLabel",
                        "privacyLinkSuffix",
                        "captureNotice"
                      ],
                      "properties": {
                        "headline": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "de",
                            "en"
                          ],
                          "properties": {
                            "de": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 2000
                            },
                            "en": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 2000
                            }
                          }
                        },
                        "subheadline": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "de",
                            "en"
                          ],
                          "properties": {
                            "de": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 2000
                            },
                            "en": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 2000
                            }
                          }
                        },
                        "submitLabel": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "de",
                            "en"
                          ],
                          "properties": {
                            "de": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 2000
                            },
                            "en": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 2000
                            }
                          }
                        },
                        "confirmation": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "de",
                            "en"
                          ],
                          "properties": {
                            "de": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 2000
                            },
                            "en": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 2000
                            }
                          }
                        },
                        "consent": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "de",
                            "en"
                          ],
                          "properties": {
                            "de": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 2000
                            },
                            "en": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 2000
                            }
                          }
                        },
                        "privacyLinkLabel": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "de",
                            "en"
                          ],
                          "properties": {
                            "de": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 2000
                            },
                            "en": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 2000
                            }
                          }
                        },
                        "privacyLinkSuffix": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "de",
                            "en"
                          ],
                          "properties": {
                            "de": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 2000
                            },
                            "en": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 2000
                            }
                          }
                        },
                        "captureNotice": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "de",
                            "en"
                          ],
                          "properties": {
                            "de": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 2000
                            },
                            "en": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 2000
                            }
                          }
                        }
                      }
                    },
                    "descriptionFormat": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "de",
                        "en"
                      ],
                      "properties": {
                        "de": {
                          "type": "string",
                          "enum": [
                            "plain",
                            "markdown"
                          ]
                        },
                        "en": {
                          "type": "string",
                          "enum": [
                            "plain",
                            "markdown"
                          ]
                        }
                      }
                    },
                    "name": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 200
                    },
                    "labels": {
                      "type": "array",
                      "maxItems": 3,
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "name",
                          "color"
                        ],
                        "properties": {
                          "name": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 32
                          },
                          "color": {
                            "type": "string",
                            "enum": [
                              "blue",
                              "cyan",
                              "green",
                              "orange",
                              "pink",
                              "purple",
                              "gray"
                            ]
                          }
                        }
                      }
                    },
                    "slug": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 63,
                      "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$"
                    },
                    "hostId": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 80
                    },
                    "teamId": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 80
                    },
                    "availabilityProfileId": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 80,
                      "nullable": true
                    },
                    "availability": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "days",
                          "startTime",
                          "endTime"
                        ],
                        "properties": {
                          "days": {
                            "type": "array",
                            "minItems": 1,
                            "items": {
                              "type": "integer",
                              "minimum": 0,
                              "maximum": 6
                            }
                          },
                          "startTime": {
                            "type": "string",
                            "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                          },
                          "endTime": {
                            "type": "string",
                            "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                          }
                        }
                      },
                      "nullable": true,
                      "deprecated": true,
                      "description": "Unsupported. Select an availability profile with availabilityProfileId instead (422)."
                    },
                    "durationMinutes": {
                      "type": "integer",
                      "minimum": 1,
                      "maximum": 2147483647
                    },
                    "intervalMinutes": {
                      "type": "integer",
                      "minimum": 1,
                      "maximum": 2147483647
                    },
                    "bufferBeforeMinutes": {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 2147483647
                    },
                    "bufferAfterMinutes": {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 2147483647
                    },
                    "minimumNoticeMinutes": {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 2147483647
                    },
                    "maxBookingsPerDay": {
                      "type": "integer",
                      "minimum": 1,
                      "maximum": 2147483647
                    },
                    "phoneRequired": {
                      "type": "boolean"
                    },
                    "confirmationRequired": {
                      "type": "boolean",
                      "description": "Require invitee confirmation before the configured expiry; an unconfirmed booking expires and releases its slot."
                    },
                    "locale": {
                      "type": "string",
                      "enum": [
                        "de",
                        "en"
                      ]
                    },
                    "rescheduleCutoffHours": {
                      "type": "number",
                      "minimum": 0,
                      "description": "Invitee rescheduling cutoff in hours. Zero permits rescheduling at any time."
                    },
                    "cancellationCutoffHours": {
                      "type": "number",
                      "minimum": 0,
                      "description": "Invitee cancellation cutoff in hours. Zero permits cancellation at any time. When omitted on creation, inherits the rescheduling cutoff; existing settings are preserved on updates."
                    },
                    "allowRescheduling": {
                      "type": "boolean",
                      "description": "Allow invitees to reschedule, subject to the change cutoff. Defaults to true; hosts are exempt."
                    },
                    "allowCancellation": {
                      "type": "boolean",
                      "description": "Allow invitees to cancel, subject to the change cutoff. Defaults to true; hosts are exempt."
                    },
                    "bookingChangeHint": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 2000
                    },
                    "video": {
                      "oneOf": [
                        {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "kind"
                          ],
                          "properties": {
                            "kind": {
                              "type": "string",
                              "enum": [
                                "google_meet"
                              ]
                            }
                          }
                        },
                        {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "kind",
                            "url"
                          ],
                          "properties": {
                            "kind": {
                              "type": "string",
                              "enum": [
                                "custom"
                              ]
                            },
                            "url": {
                              "type": "string",
                              "format": "uri",
                              "pattern": "^https://",
                              "maxLength": 2000
                            }
                          }
                        }
                      ]
                    }
                  }
                },
                "mode": {
                  "type": "string",
                  "enum": [
                    "form_first",
                    "calendar_first",
                    "headless"
                  ]
                },
                "captureAbandoned": {
                  "type": "boolean",
                  "description": "Available only in form_first. calendar_first and headless always use false and reject explicit true."
                },
                "bookingWindowDays": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 36500
                },
                "fields": {
                  "type": "array",
                  "maxItems": 100,
                  "items": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "id",
                      "type",
                      "required",
                      "label"
                    ],
                    "properties": {
                      "id": {
                        "type": "string",
                        "pattern": "^[a-z][a-z0-9_]{0,79}$"
                      },
                      "type": {
                        "type": "string",
                        "enum": [
                          "text",
                          "email",
                          "phone",
                          "select",
                          "multiselect",
                          "scale",
                          "number",
                          "textarea",
                          "boolean",
                          "consent"
                        ]
                      },
                      "required": {
                        "type": "boolean"
                      },
                      "hidden": {
                        "type": "boolean"
                      },
                      "label": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "de",
                          "en"
                        ],
                        "properties": {
                          "de": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 2000
                          },
                          "en": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 2000
                          }
                        }
                      },
                      "min": {
                        "type": "number",
                        "description": "Required integer lower bound for a scale; optional numeric lower bound for a number field."
                      },
                      "max": {
                        "type": "number",
                        "description": "Required integer upper bound greater than min for a scale; optional numeric upper bound for a number field."
                      },
                      "options": {
                        "type": "array",
                        "minItems": 1,
                        "maxItems": 100,
                        "items": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "value",
                            "label"
                          ],
                          "properties": {
                            "value": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 80
                            },
                            "label": {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "de",
                                "en"
                              ],
                              "properties": {
                                "de": {
                                  "type": "string",
                                  "minLength": 1,
                                  "maxLength": 2000
                                },
                                "en": {
                                  "type": "string",
                                  "minLength": 1,
                                  "maxLength": 2000
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                },
                "bookingCopy": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "headline",
                    "subheadline",
                    "submitLabel",
                    "confirmation",
                    "consent",
                    "privacyLinkLabel",
                    "privacyLinkSuffix",
                    "captureNotice"
                  ],
                  "properties": {
                    "headline": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "de",
                        "en"
                      ],
                      "properties": {
                        "de": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 2000
                        },
                        "en": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 2000
                        }
                      }
                    },
                    "subheadline": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "de",
                        "en"
                      ],
                      "properties": {
                        "de": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 2000
                        },
                        "en": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 2000
                        }
                      }
                    },
                    "submitLabel": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "de",
                        "en"
                      ],
                      "properties": {
                        "de": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 2000
                        },
                        "en": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 2000
                        }
                      }
                    },
                    "confirmation": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "de",
                        "en"
                      ],
                      "properties": {
                        "de": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 2000
                        },
                        "en": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 2000
                        }
                      }
                    },
                    "consent": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "de",
                        "en"
                      ],
                      "properties": {
                        "de": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 2000
                        },
                        "en": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 2000
                        }
                      }
                    },
                    "privacyLinkLabel": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "de",
                        "en"
                      ],
                      "properties": {
                        "de": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 2000
                        },
                        "en": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 2000
                        }
                      }
                    },
                    "privacyLinkSuffix": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "de",
                        "en"
                      ],
                      "properties": {
                        "de": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 2000
                        },
                        "en": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 2000
                        }
                      }
                    },
                    "captureNotice": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "de",
                        "en"
                      ],
                      "properties": {
                        "de": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 2000
                        },
                        "en": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 2000
                        }
                      }
                    }
                  }
                },
                "descriptionFormat": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "de",
                    "en"
                  ],
                  "properties": {
                    "de": {
                      "type": "string",
                      "enum": [
                        "plain",
                        "markdown"
                      ]
                    },
                    "en": {
                      "type": "string",
                      "enum": [
                        "plain",
                        "markdown"
                      ]
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "401": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "403": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "404": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "409": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "410": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "413": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "415": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "422": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
      "headers": {
        "Retry-After": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Limit": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Remaining": {
          "schema": {
            "type": "integer",
            "minimum": 0
          }
        },
        "RateLimit-Reset": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "rate_limited"
                    ]
                  },
                  "message": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "500": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "503": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
Stabil (v1)

GET /v1/funnels

listFunnels

Berechtigungen: ["read:funnels"]

Anfrage und Antworten
{
  "operationId": "listFunnels",
  "parameters": [
    {
      "schema": {
        "type": "integer",
        "minimum": 1,
        "maximum": 100,
        "default": 25
      },
      "in": "query",
      "name": "limit",
      "required": false
    },
    {
      "schema": {
        "type": "integer",
        "minimum": 0,
        "maximum": 2147483647,
        "default": 0
      },
      "in": "query",
      "name": "offset",
      "required": false
    },
    {
      "schema": {
        "type": "string"
      },
      "in": "header",
      "name": "x-workspace-id",
      "required": false,
      "description": "Workspace ID. Required for session authentication when the user has multiple memberships; must name one of their workspaces. API keys remain bound to their own workspace."
    }
  ],
  "security": [
    {
      "apiKey": []
    },
    {
      "session": []
    }
  ],
  "x-required-scopes": [
    "read:funnels"
  ],
  "x-public-api": true,
  "x-api-stability": "stable",
  "responses": {
    "200": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "data",
              "total",
              "limit",
              "offset"
            ],
            "properties": {
              "data": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "id",
                    "workspaceId",
                    "createdAt",
                    "name",
                    "slug",
                    "publicationStatus",
                    "publicUrl",
                    "durationMinutes",
                    "intervalMinutes",
                    "bufferBeforeMinutes",
                    "bufferAfterMinutes",
                    "minimumNoticeMinutes",
                    "maxBookingsPerDay",
                    "phoneRequired",
                    "confirmationRequired",
                    "locale",
                    "rescheduleCutoffHours",
                    "formVersion",
                    "availabilityProfileId",
                    "mode",
                    "captureAbandoned",
                    "bookingWindowDays",
                    "fields",
                    "bookingCopy"
                  ],
                  "properties": {
                    "mode": {
                      "type": "string",
                      "enum": [
                        "form_first",
                        "calendar_first",
                        "headless"
                      ]
                    },
                    "captureAbandoned": {
                      "type": "boolean",
                      "description": "Available only in form_first. calendar_first and headless always use false and reject explicit true."
                    },
                    "bookingWindowDays": {
                      "type": "integer",
                      "minimum": 1,
                      "maximum": 36500
                    },
                    "fields": {
                      "type": "array",
                      "maxItems": 100,
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "id",
                          "type",
                          "required",
                          "label"
                        ],
                        "properties": {
                          "id": {
                            "type": "string",
                            "pattern": "^[a-z][a-z0-9_]{0,79}$"
                          },
                          "type": {
                            "type": "string",
                            "enum": [
                              "text",
                              "email",
                              "phone",
                              "select",
                              "multiselect",
                              "scale",
                              "number",
                              "textarea",
                              "boolean",
                              "consent"
                            ]
                          },
                          "required": {
                            "type": "boolean"
                          },
                          "hidden": {
                            "type": "boolean"
                          },
                          "label": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "de",
                              "en"
                            ],
                            "properties": {
                              "de": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 2000
                              },
                              "en": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 2000
                              }
                            }
                          },
                          "min": {
                            "type": "number",
                            "description": "Required integer lower bound for a scale; optional numeric lower bound for a number field."
                          },
                          "max": {
                            "type": "number",
                            "description": "Required integer upper bound greater than min for a scale; optional numeric upper bound for a number field."
                          },
                          "options": {
                            "type": "array",
                            "minItems": 1,
                            "maxItems": 100,
                            "items": {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "value",
                                "label"
                              ],
                              "properties": {
                                "value": {
                                  "type": "string",
                                  "minLength": 1,
                                  "maxLength": 80
                                },
                                "label": {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "required": [
                                    "de",
                                    "en"
                                  ],
                                  "properties": {
                                    "de": {
                                      "type": "string",
                                      "minLength": 1,
                                      "maxLength": 2000
                                    },
                                    "en": {
                                      "type": "string",
                                      "minLength": 1,
                                      "maxLength": 2000
                                    }
                                  }
                                }
                              }
                            }
                          }
                        }
                      }
                    },
                    "bookingCopy": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "headline",
                        "subheadline",
                        "submitLabel",
                        "confirmation",
                        "consent",
                        "privacyLinkLabel",
                        "privacyLinkSuffix",
                        "captureNotice"
                      ],
                      "properties": {
                        "headline": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "de",
                            "en"
                          ],
                          "properties": {
                            "de": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 2000
                            },
                            "en": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 2000
                            }
                          }
                        },
                        "subheadline": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "de",
                            "en"
                          ],
                          "properties": {
                            "de": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 2000
                            },
                            "en": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 2000
                            }
                          }
                        },
                        "submitLabel": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "de",
                            "en"
                          ],
                          "properties": {
                            "de": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 2000
                            },
                            "en": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 2000
                            }
                          }
                        },
                        "confirmation": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "de",
                            "en"
                          ],
                          "properties": {
                            "de": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 2000
                            },
                            "en": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 2000
                            }
                          }
                        },
                        "consent": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "de",
                            "en"
                          ],
                          "properties": {
                            "de": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 2000
                            },
                            "en": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 2000
                            }
                          }
                        },
                        "privacyLinkLabel": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "de",
                            "en"
                          ],
                          "properties": {
                            "de": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 2000
                            },
                            "en": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 2000
                            }
                          }
                        },
                        "privacyLinkSuffix": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "de",
                            "en"
                          ],
                          "properties": {
                            "de": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 2000
                            },
                            "en": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 2000
                            }
                          }
                        },
                        "captureNotice": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "de",
                            "en"
                          ],
                          "properties": {
                            "de": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 2000
                            },
                            "en": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 2000
                            }
                          }
                        }
                      }
                    },
                    "descriptionFormat": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "de",
                        "en"
                      ],
                      "properties": {
                        "de": {
                          "type": "string",
                          "enum": [
                            "plain",
                            "markdown"
                          ]
                        },
                        "en": {
                          "type": "string",
                          "enum": [
                            "plain",
                            "markdown"
                          ]
                        }
                      }
                    },
                    "name": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 200
                    },
                    "labels": {
                      "type": "array",
                      "maxItems": 3,
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "name",
                          "color"
                        ],
                        "properties": {
                          "name": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 32
                          },
                          "color": {
                            "type": "string",
                            "enum": [
                              "blue",
                              "cyan",
                              "green",
                              "orange",
                              "pink",
                              "purple",
                              "gray"
                            ]
                          }
                        }
                      }
                    },
                    "slug": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 63,
                      "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
                      "nullable": true
                    },
                    "hostId": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 80
                    },
                    "teamId": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 80
                    },
                    "availabilityProfileId": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 80,
                      "nullable": true
                    },
                    "durationMinutes": {
                      "type": "integer",
                      "minimum": 1,
                      "maximum": 2147483647
                    },
                    "intervalMinutes": {
                      "type": "integer",
                      "minimum": 1,
                      "maximum": 2147483647
                    },
                    "bufferBeforeMinutes": {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 2147483647
                    },
                    "bufferAfterMinutes": {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 2147483647
                    },
                    "minimumNoticeMinutes": {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 2147483647
                    },
                    "maxBookingsPerDay": {
                      "type": "integer",
                      "minimum": 1,
                      "maximum": 2147483647
                    },
                    "phoneRequired": {
                      "type": "boolean"
                    },
                    "confirmationRequired": {
                      "type": "boolean",
                      "description": "Require invitee confirmation before the configured expiry; an unconfirmed booking expires and releases its slot."
                    },
                    "locale": {
                      "type": "string",
                      "enum": [
                        "de",
                        "en"
                      ]
                    },
                    "rescheduleCutoffHours": {
                      "type": "number",
                      "minimum": 0,
                      "description": "Invitee rescheduling cutoff in hours. Zero permits rescheduling at any time."
                    },
                    "cancellationCutoffHours": {
                      "type": "number",
                      "minimum": 0,
                      "description": "Invitee cancellation cutoff in hours. Zero permits cancellation at any time. When omitted on creation, inherits the rescheduling cutoff; existing settings are preserved on updates."
                    },
                    "allowRescheduling": {
                      "type": "boolean",
                      "description": "Allow invitees to reschedule, subject to the change cutoff. Defaults to true; hosts are exempt."
                    },
                    "allowCancellation": {
                      "type": "boolean",
                      "description": "Allow invitees to cancel, subject to the change cutoff. Defaults to true; hosts are exempt."
                    },
                    "bookingChangeHint": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 2000
                    },
                    "video": {
                      "oneOf": [
                        {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "kind"
                          ],
                          "properties": {
                            "kind": {
                              "type": "string",
                              "enum": [
                                "google_meet"
                              ]
                            }
                          }
                        },
                        {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "kind",
                            "url"
                          ],
                          "properties": {
                            "kind": {
                              "type": "string",
                              "enum": [
                                "custom"
                              ]
                            },
                            "url": {
                              "type": "string",
                              "format": "uri",
                              "pattern": "^https://",
                              "maxLength": 2000
                            }
                          }
                        }
                      ]
                    },
                    "publicationStatus": {
                      "type": "string",
                      "enum": [
                        "draft",
                        "published"
                      ]
                    },
                    "publicUrl": {
                      "type": "string",
                      "nullable": true,
                      "format": "uri"
                    },
                    "templateId": {
                      "type": "string",
                      "enum": [
                        "coaching_intro"
                      ]
                    },
                    "id": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 80
                    },
                    "workspaceId": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 80
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                    },
                    "formVersion": {
                      "type": "integer",
                      "minimum": 1,
                      "maximum": 2147483647
                    }
                  }
                }
              },
              "total": {
                "type": "integer",
                "minimum": 0,
                "maximum": 2147483647
              },
              "limit": {
                "type": "integer",
                "minimum": 0,
                "maximum": 2147483647
              },
              "offset": {
                "type": "integer",
                "minimum": 0,
                "maximum": 2147483647
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "401": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "403": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "404": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "409": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "410": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "413": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "415": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "422": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
      "headers": {
        "Retry-After": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Limit": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Remaining": {
          "schema": {
            "type": "integer",
            "minimum": 0
          }
        },
        "RateLimit-Reset": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "rate_limited"
                    ]
                  },
                  "message": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "500": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "503": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
Beta, ohne Stabilitätszusage

POST /v1/funnels

createFunnel

Every assigned host must have a non-empty name; otherwise returns 422 host_name_required.

Berechtigungen: ["write:funnels"]

Anfrage und Antworten
{
  "operationId": "createFunnel",
  "description": "Every assigned host must have a non-empty name; otherwise returns 422 host_name_required.",
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "name"
          ],
          "properties": {
            "mode": {
              "type": "string",
              "enum": [
                "form_first",
                "calendar_first",
                "headless"
              ],
              "description": "New funnels default to calendar-first. Existing funnels keep their stored mode."
            },
            "captureAbandoned": {
              "type": "boolean",
              "description": "Available only in form_first. calendar_first and headless always use false and reject explicit true."
            },
            "bookingWindowDays": {
              "type": "integer",
              "minimum": 1,
              "maximum": 36500
            },
            "fields": {
              "type": "array",
              "maxItems": 100,
              "items": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "id",
                  "type",
                  "required",
                  "label"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "pattern": "^[a-z][a-z0-9_]{0,79}$"
                  },
                  "type": {
                    "type": "string",
                    "enum": [
                      "text",
                      "email",
                      "phone",
                      "select",
                      "multiselect",
                      "scale",
                      "number",
                      "textarea",
                      "boolean",
                      "consent"
                    ]
                  },
                  "required": {
                    "type": "boolean"
                  },
                  "hidden": {
                    "type": "boolean"
                  },
                  "label": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "de",
                      "en"
                    ],
                    "properties": {
                      "de": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      },
                      "en": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      }
                    }
                  },
                  "min": {
                    "type": "number",
                    "description": "Required integer lower bound for a scale; optional numeric lower bound for a number field."
                  },
                  "max": {
                    "type": "number",
                    "description": "Required integer upper bound greater than min for a scale; optional numeric upper bound for a number field."
                  },
                  "options": {
                    "type": "array",
                    "minItems": 1,
                    "maxItems": 100,
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "value",
                        "label"
                      ],
                      "properties": {
                        "value": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 80
                        },
                        "label": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "de",
                            "en"
                          ],
                          "properties": {
                            "de": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 2000
                            },
                            "en": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 2000
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            },
            "bookingCopy": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "headline",
                "subheadline",
                "submitLabel",
                "confirmation",
                "consent",
                "privacyLinkLabel",
                "privacyLinkSuffix",
                "captureNotice"
              ],
              "properties": {
                "headline": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "de",
                    "en"
                  ],
                  "properties": {
                    "de": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 2000
                    },
                    "en": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 2000
                    }
                  }
                },
                "subheadline": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "de",
                    "en"
                  ],
                  "properties": {
                    "de": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 2000
                    },
                    "en": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 2000
                    }
                  }
                },
                "submitLabel": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "de",
                    "en"
                  ],
                  "properties": {
                    "de": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 2000
                    },
                    "en": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 2000
                    }
                  }
                },
                "confirmation": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "de",
                    "en"
                  ],
                  "properties": {
                    "de": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 2000
                    },
                    "en": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 2000
                    }
                  }
                },
                "consent": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "de",
                    "en"
                  ],
                  "properties": {
                    "de": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 2000
                    },
                    "en": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 2000
                    }
                  }
                },
                "privacyLinkLabel": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "de",
                    "en"
                  ],
                  "properties": {
                    "de": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 2000
                    },
                    "en": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 2000
                    }
                  }
                },
                "privacyLinkSuffix": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "de",
                    "en"
                  ],
                  "properties": {
                    "de": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 2000
                    },
                    "en": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 2000
                    }
                  }
                },
                "captureNotice": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "de",
                    "en"
                  ],
                  "properties": {
                    "de": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 2000
                    },
                    "en": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 2000
                    }
                  }
                }
              }
            },
            "descriptionFormat": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "de",
                "en"
              ],
              "properties": {
                "de": {
                  "type": "string",
                  "enum": [
                    "plain",
                    "markdown"
                  ]
                },
                "en": {
                  "type": "string",
                  "enum": [
                    "plain",
                    "markdown"
                  ]
                }
              }
            },
            "name": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            },
            "labels": {
              "type": "array",
              "maxItems": 3,
              "items": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "name",
                  "color"
                ],
                "properties": {
                  "name": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 32
                  },
                  "color": {
                    "type": "string",
                    "enum": [
                      "blue",
                      "cyan",
                      "green",
                      "orange",
                      "pink",
                      "purple",
                      "gray"
                    ]
                  }
                }
              }
            },
            "slug": {
              "type": "string",
              "minLength": 1,
              "maxLength": 63,
              "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$"
            },
            "hostId": {
              "type": "string",
              "minLength": 1,
              "maxLength": 80
            },
            "teamId": {
              "type": "string",
              "minLength": 1,
              "maxLength": 80
            },
            "availabilityProfileId": {
              "type": "string",
              "minLength": 1,
              "maxLength": 80,
              "nullable": true
            },
            "availability": {
              "type": "array",
              "items": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "days",
                  "startTime",
                  "endTime"
                ],
                "properties": {
                  "days": {
                    "type": "array",
                    "minItems": 1,
                    "items": {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 6
                    }
                  },
                  "startTime": {
                    "type": "string",
                    "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                  },
                  "endTime": {
                    "type": "string",
                    "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                  }
                }
              },
              "nullable": true,
              "deprecated": true,
              "description": "Unsupported. Select an availability profile with availabilityProfileId instead (422)."
            },
            "durationMinutes": {
              "type": "integer",
              "minimum": 1,
              "maximum": 2147483647
            },
            "intervalMinutes": {
              "type": "integer",
              "minimum": 1,
              "maximum": 2147483647
            },
            "bufferBeforeMinutes": {
              "type": "integer",
              "minimum": 0,
              "maximum": 2147483647
            },
            "bufferAfterMinutes": {
              "type": "integer",
              "minimum": 0,
              "maximum": 2147483647
            },
            "minimumNoticeMinutes": {
              "type": "integer",
              "minimum": 0,
              "maximum": 2147483647
            },
            "maxBookingsPerDay": {
              "type": "integer",
              "minimum": 1,
              "maximum": 2147483647
            },
            "phoneRequired": {
              "type": "boolean"
            },
            "confirmationRequired": {
              "type": "boolean",
              "description": "Require invitee confirmation before the configured expiry; an unconfirmed booking expires and releases its slot."
            },
            "locale": {
              "type": "string",
              "enum": [
                "de",
                "en"
              ]
            },
            "rescheduleCutoffHours": {
              "type": "number",
              "minimum": 0,
              "description": "Invitee rescheduling cutoff in hours. Zero permits rescheduling at any time."
            },
            "cancellationCutoffHours": {
              "type": "number",
              "minimum": 0,
              "description": "Invitee cancellation cutoff in hours. Zero permits cancellation at any time. When omitted on creation, inherits the rescheduling cutoff; existing settings are preserved on updates."
            },
            "allowRescheduling": {
              "type": "boolean",
              "description": "Allow invitees to reschedule, subject to the change cutoff. Defaults to true; hosts are exempt."
            },
            "allowCancellation": {
              "type": "boolean",
              "description": "Allow invitees to cancel, subject to the change cutoff. Defaults to true; hosts are exempt."
            },
            "bookingChangeHint": {
              "type": "string",
              "minLength": 1,
              "maxLength": 2000
            },
            "video": {
              "oneOf": [
                {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "kind"
                  ],
                  "properties": {
                    "kind": {
                      "type": "string",
                      "enum": [
                        "google_meet"
                      ]
                    }
                  }
                },
                {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "kind",
                    "url"
                  ],
                  "properties": {
                    "kind": {
                      "type": "string",
                      "enum": [
                        "custom"
                      ]
                    },
                    "url": {
                      "type": "string",
                      "format": "uri",
                      "pattern": "^https://",
                      "maxLength": 2000
                    }
                  }
                }
              ]
            },
            "templateId": {
              "type": "string",
              "enum": [
                "coaching_intro"
              ]
            }
          },
          "oneOf": [
            {
              "required": [
                "hostId"
              ],
              "not": {
                "required": [
                  "teamId"
                ]
              }
            },
            {
              "required": [
                "teamId"
              ],
              "not": {
                "required": [
                  "hostId"
                ]
              }
            }
          ]
        }
      }
    }
  },
  "parameters": [
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "idempotency-key",
      "required": true
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 2048
      },
      "in": "header",
      "name": "x-booking-token",
      "required": false
    },
    {
      "schema": {
        "type": "string"
      },
      "in": "header",
      "name": "x-workspace-id",
      "required": false,
      "description": "Workspace ID. Required for session authentication when the user has multiple memberships; must name one of their workspaces. API keys remain bound to their own workspace."
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "x-csrf-token",
      "required": false,
      "description": "Required for cookie session mutations; not required for API keys."
    }
  ],
  "security": [
    {
      "apiKey": []
    },
    {
      "session": []
    }
  ],
  "x-required-scopes": [
    "write:funnels"
  ],
  "x-public-api": true,
  "x-api-stability": "beta",
  "responses": {
    "201": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "id",
              "workspaceId",
              "createdAt",
              "name",
              "slug",
              "publicationStatus",
              "publicUrl",
              "durationMinutes",
              "intervalMinutes",
              "bufferBeforeMinutes",
              "bufferAfterMinutes",
              "minimumNoticeMinutes",
              "maxBookingsPerDay",
              "phoneRequired",
              "confirmationRequired",
              "locale",
              "rescheduleCutoffHours",
              "formVersion",
              "availabilityProfileId",
              "mode",
              "captureAbandoned",
              "bookingWindowDays",
              "fields",
              "bookingCopy"
            ],
            "properties": {
              "mode": {
                "type": "string",
                "enum": [
                  "form_first",
                  "calendar_first",
                  "headless"
                ]
              },
              "captureAbandoned": {
                "type": "boolean",
                "description": "Available only in form_first. calendar_first and headless always use false and reject explicit true."
              },
              "bookingWindowDays": {
                "type": "integer",
                "minimum": 1,
                "maximum": 36500
              },
              "fields": {
                "type": "array",
                "maxItems": 100,
                "items": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "id",
                    "type",
                    "required",
                    "label"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "pattern": "^[a-z][a-z0-9_]{0,79}$"
                    },
                    "type": {
                      "type": "string",
                      "enum": [
                        "text",
                        "email",
                        "phone",
                        "select",
                        "multiselect",
                        "scale",
                        "number",
                        "textarea",
                        "boolean",
                        "consent"
                      ]
                    },
                    "required": {
                      "type": "boolean"
                    },
                    "hidden": {
                      "type": "boolean"
                    },
                    "label": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "de",
                        "en"
                      ],
                      "properties": {
                        "de": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 2000
                        },
                        "en": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 2000
                        }
                      }
                    },
                    "min": {
                      "type": "number",
                      "description": "Required integer lower bound for a scale; optional numeric lower bound for a number field."
                    },
                    "max": {
                      "type": "number",
                      "description": "Required integer upper bound greater than min for a scale; optional numeric upper bound for a number field."
                    },
                    "options": {
                      "type": "array",
                      "minItems": 1,
                      "maxItems": 100,
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "value",
                          "label"
                        ],
                        "properties": {
                          "value": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 80
                          },
                          "label": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "de",
                              "en"
                            ],
                            "properties": {
                              "de": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 2000
                              },
                              "en": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 2000
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              },
              "bookingCopy": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "headline",
                  "subheadline",
                  "submitLabel",
                  "confirmation",
                  "consent",
                  "privacyLinkLabel",
                  "privacyLinkSuffix",
                  "captureNotice"
                ],
                "properties": {
                  "headline": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "de",
                      "en"
                    ],
                    "properties": {
                      "de": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      },
                      "en": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      }
                    }
                  },
                  "subheadline": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "de",
                      "en"
                    ],
                    "properties": {
                      "de": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      },
                      "en": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      }
                    }
                  },
                  "submitLabel": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "de",
                      "en"
                    ],
                    "properties": {
                      "de": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      },
                      "en": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      }
                    }
                  },
                  "confirmation": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "de",
                      "en"
                    ],
                    "properties": {
                      "de": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      },
                      "en": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      }
                    }
                  },
                  "consent": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "de",
                      "en"
                    ],
                    "properties": {
                      "de": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      },
                      "en": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      }
                    }
                  },
                  "privacyLinkLabel": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "de",
                      "en"
                    ],
                    "properties": {
                      "de": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      },
                      "en": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      }
                    }
                  },
                  "privacyLinkSuffix": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "de",
                      "en"
                    ],
                    "properties": {
                      "de": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      },
                      "en": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      }
                    }
                  },
                  "captureNotice": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "de",
                      "en"
                    ],
                    "properties": {
                      "de": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      },
                      "en": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      }
                    }
                  }
                }
              },
              "descriptionFormat": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "de",
                  "en"
                ],
                "properties": {
                  "de": {
                    "type": "string",
                    "enum": [
                      "plain",
                      "markdown"
                    ]
                  },
                  "en": {
                    "type": "string",
                    "enum": [
                      "plain",
                      "markdown"
                    ]
                  }
                }
              },
              "name": {
                "type": "string",
                "minLength": 1,
                "maxLength": 200
              },
              "labels": {
                "type": "array",
                "maxItems": 3,
                "items": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "name",
                    "color"
                  ],
                  "properties": {
                    "name": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 32
                    },
                    "color": {
                      "type": "string",
                      "enum": [
                        "blue",
                        "cyan",
                        "green",
                        "orange",
                        "pink",
                        "purple",
                        "gray"
                      ]
                    }
                  }
                }
              },
              "slug": {
                "type": "string",
                "minLength": 1,
                "maxLength": 63,
                "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
                "nullable": true
              },
              "hostId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 80
              },
              "teamId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 80
              },
              "availabilityProfileId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 80,
                "nullable": true
              },
              "durationMinutes": {
                "type": "integer",
                "minimum": 1,
                "maximum": 2147483647
              },
              "intervalMinutes": {
                "type": "integer",
                "minimum": 1,
                "maximum": 2147483647
              },
              "bufferBeforeMinutes": {
                "type": "integer",
                "minimum": 0,
                "maximum": 2147483647
              },
              "bufferAfterMinutes": {
                "type": "integer",
                "minimum": 0,
                "maximum": 2147483647
              },
              "minimumNoticeMinutes": {
                "type": "integer",
                "minimum": 0,
                "maximum": 2147483647
              },
              "maxBookingsPerDay": {
                "type": "integer",
                "minimum": 1,
                "maximum": 2147483647
              },
              "phoneRequired": {
                "type": "boolean"
              },
              "confirmationRequired": {
                "type": "boolean",
                "description": "Require invitee confirmation before the configured expiry; an unconfirmed booking expires and releases its slot."
              },
              "locale": {
                "type": "string",
                "enum": [
                  "de",
                  "en"
                ]
              },
              "rescheduleCutoffHours": {
                "type": "number",
                "minimum": 0,
                "description": "Invitee rescheduling cutoff in hours. Zero permits rescheduling at any time."
              },
              "cancellationCutoffHours": {
                "type": "number",
                "minimum": 0,
                "description": "Invitee cancellation cutoff in hours. Zero permits cancellation at any time. When omitted on creation, inherits the rescheduling cutoff; existing settings are preserved on updates."
              },
              "allowRescheduling": {
                "type": "boolean",
                "description": "Allow invitees to reschedule, subject to the change cutoff. Defaults to true; hosts are exempt."
              },
              "allowCancellation": {
                "type": "boolean",
                "description": "Allow invitees to cancel, subject to the change cutoff. Defaults to true; hosts are exempt."
              },
              "bookingChangeHint": {
                "type": "string",
                "minLength": 1,
                "maxLength": 2000
              },
              "video": {
                "oneOf": [
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "kind"
                    ],
                    "properties": {
                      "kind": {
                        "type": "string",
                        "enum": [
                          "google_meet"
                        ]
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "kind",
                      "url"
                    ],
                    "properties": {
                      "kind": {
                        "type": "string",
                        "enum": [
                          "custom"
                        ]
                      },
                      "url": {
                        "type": "string",
                        "format": "uri",
                        "pattern": "^https://",
                        "maxLength": 2000
                      }
                    }
                  }
                ]
              },
              "publicationStatus": {
                "type": "string",
                "enum": [
                  "draft",
                  "published"
                ]
              },
              "publicUrl": {
                "type": "string",
                "nullable": true,
                "format": "uri"
              },
              "templateId": {
                "type": "string",
                "enum": [
                  "coaching_intro"
                ]
              },
              "id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 80
              },
              "workspaceId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 80
              },
              "createdAt": {
                "type": "string",
                "format": "date-time",
                "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
              },
              "formVersion": {
                "type": "integer",
                "minimum": 1,
                "maximum": 2147483647
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "401": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "403": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "404": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "409": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "410": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "413": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "415": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "422": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
      "headers": {
        "Retry-After": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Limit": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Remaining": {
          "schema": {
            "type": "integer",
            "minimum": 0
          }
        },
        "RateLimit-Reset": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "rate_limited"
                    ]
                  },
                  "message": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "500": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "503": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
Beta, ohne Stabilitätszusage

GET /v1/funnels/{funnelId}/settings

getFunnelSettings

Berechtigungen: ["read:funnels"]

Anfrage und Antworten
{
  "operationId": "getFunnelSettings",
  "parameters": [
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 80
      },
      "in": "path",
      "name": "funnelId",
      "required": true
    },
    {
      "schema": {
        "type": "string"
      },
      "in": "header",
      "name": "x-workspace-id",
      "required": false,
      "description": "Workspace ID. Required for session authentication when the user has multiple memberships; must name one of their workspaces. API keys remain bound to their own workspace."
    }
  ],
  "security": [
    {
      "apiKey": []
    },
    {
      "session": []
    }
  ],
  "x-required-scopes": [
    "read:funnels"
  ],
  "x-public-api": true,
  "x-api-stability": "beta",
  "responses": {
    "200": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "id",
              "workspaceId",
              "createdAt",
              "name",
              "slug",
              "publicationStatus",
              "publicUrl",
              "durationMinutes",
              "intervalMinutes",
              "bufferBeforeMinutes",
              "bufferAfterMinutes",
              "minimumNoticeMinutes",
              "maxBookingsPerDay",
              "phoneRequired",
              "confirmationRequired",
              "locale",
              "rescheduleCutoffHours",
              "formVersion",
              "availabilityProfileId",
              "mode",
              "captureAbandoned",
              "bookingWindowDays",
              "fields",
              "bookingCopy"
            ],
            "properties": {
              "mode": {
                "type": "string",
                "enum": [
                  "form_first",
                  "calendar_first",
                  "headless"
                ]
              },
              "captureAbandoned": {
                "type": "boolean",
                "description": "Available only in form_first. calendar_first and headless always use false and reject explicit true."
              },
              "bookingWindowDays": {
                "type": "integer",
                "minimum": 1,
                "maximum": 36500
              },
              "fields": {
                "type": "array",
                "maxItems": 100,
                "items": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "id",
                    "type",
                    "required",
                    "label"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "pattern": "^[a-z][a-z0-9_]{0,79}$"
                    },
                    "type": {
                      "type": "string",
                      "enum": [
                        "text",
                        "email",
                        "phone",
                        "select",
                        "multiselect",
                        "scale",
                        "number",
                        "textarea",
                        "boolean",
                        "consent"
                      ]
                    },
                    "required": {
                      "type": "boolean"
                    },
                    "hidden": {
                      "type": "boolean"
                    },
                    "label": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "de",
                        "en"
                      ],
                      "properties": {
                        "de": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 2000
                        },
                        "en": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 2000
                        }
                      }
                    },
                    "min": {
                      "type": "number",
                      "description": "Required integer lower bound for a scale; optional numeric lower bound for a number field."
                    },
                    "max": {
                      "type": "number",
                      "description": "Required integer upper bound greater than min for a scale; optional numeric upper bound for a number field."
                    },
                    "options": {
                      "type": "array",
                      "minItems": 1,
                      "maxItems": 100,
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "value",
                          "label"
                        ],
                        "properties": {
                          "value": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 80
                          },
                          "label": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "de",
                              "en"
                            ],
                            "properties": {
                              "de": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 2000
                              },
                              "en": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 2000
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              },
              "bookingCopy": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "headline",
                  "subheadline",
                  "submitLabel",
                  "confirmation",
                  "consent",
                  "privacyLinkLabel",
                  "privacyLinkSuffix",
                  "captureNotice"
                ],
                "properties": {
                  "headline": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "de",
                      "en"
                    ],
                    "properties": {
                      "de": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      },
                      "en": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      }
                    }
                  },
                  "subheadline": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "de",
                      "en"
                    ],
                    "properties": {
                      "de": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      },
                      "en": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      }
                    }
                  },
                  "submitLabel": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "de",
                      "en"
                    ],
                    "properties": {
                      "de": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      },
                      "en": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      }
                    }
                  },
                  "confirmation": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "de",
                      "en"
                    ],
                    "properties": {
                      "de": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      },
                      "en": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      }
                    }
                  },
                  "consent": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "de",
                      "en"
                    ],
                    "properties": {
                      "de": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      },
                      "en": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      }
                    }
                  },
                  "privacyLinkLabel": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "de",
                      "en"
                    ],
                    "properties": {
                      "de": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      },
                      "en": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      }
                    }
                  },
                  "privacyLinkSuffix": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "de",
                      "en"
                    ],
                    "properties": {
                      "de": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      },
                      "en": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      }
                    }
                  },
                  "captureNotice": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "de",
                      "en"
                    ],
                    "properties": {
                      "de": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      },
                      "en": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      }
                    }
                  }
                }
              },
              "descriptionFormat": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "de",
                  "en"
                ],
                "properties": {
                  "de": {
                    "type": "string",
                    "enum": [
                      "plain",
                      "markdown"
                    ]
                  },
                  "en": {
                    "type": "string",
                    "enum": [
                      "plain",
                      "markdown"
                    ]
                  }
                }
              },
              "name": {
                "type": "string",
                "minLength": 1,
                "maxLength": 200
              },
              "labels": {
                "type": "array",
                "maxItems": 3,
                "items": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "name",
                    "color"
                  ],
                  "properties": {
                    "name": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 32
                    },
                    "color": {
                      "type": "string",
                      "enum": [
                        "blue",
                        "cyan",
                        "green",
                        "orange",
                        "pink",
                        "purple",
                        "gray"
                      ]
                    }
                  }
                }
              },
              "slug": {
                "type": "string",
                "minLength": 1,
                "maxLength": 63,
                "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
                "nullable": true
              },
              "hostId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 80
              },
              "teamId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 80
              },
              "availabilityProfileId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 80,
                "nullable": true
              },
              "durationMinutes": {
                "type": "integer",
                "minimum": 1,
                "maximum": 2147483647
              },
              "intervalMinutes": {
                "type": "integer",
                "minimum": 1,
                "maximum": 2147483647
              },
              "bufferBeforeMinutes": {
                "type": "integer",
                "minimum": 0,
                "maximum": 2147483647
              },
              "bufferAfterMinutes": {
                "type": "integer",
                "minimum": 0,
                "maximum": 2147483647
              },
              "minimumNoticeMinutes": {
                "type": "integer",
                "minimum": 0,
                "maximum": 2147483647
              },
              "maxBookingsPerDay": {
                "type": "integer",
                "minimum": 1,
                "maximum": 2147483647
              },
              "phoneRequired": {
                "type": "boolean"
              },
              "confirmationRequired": {
                "type": "boolean",
                "description": "Require invitee confirmation before the configured expiry; an unconfirmed booking expires and releases its slot."
              },
              "locale": {
                "type": "string",
                "enum": [
                  "de",
                  "en"
                ]
              },
              "rescheduleCutoffHours": {
                "type": "number",
                "minimum": 0,
                "description": "Invitee rescheduling cutoff in hours. Zero permits rescheduling at any time."
              },
              "cancellationCutoffHours": {
                "type": "number",
                "minimum": 0,
                "description": "Invitee cancellation cutoff in hours. Zero permits cancellation at any time. When omitted on creation, inherits the rescheduling cutoff; existing settings are preserved on updates."
              },
              "allowRescheduling": {
                "type": "boolean",
                "description": "Allow invitees to reschedule, subject to the change cutoff. Defaults to true; hosts are exempt."
              },
              "allowCancellation": {
                "type": "boolean",
                "description": "Allow invitees to cancel, subject to the change cutoff. Defaults to true; hosts are exempt."
              },
              "bookingChangeHint": {
                "type": "string",
                "minLength": 1,
                "maxLength": 2000
              },
              "video": {
                "oneOf": [
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "kind"
                    ],
                    "properties": {
                      "kind": {
                        "type": "string",
                        "enum": [
                          "google_meet"
                        ]
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "kind",
                      "url"
                    ],
                    "properties": {
                      "kind": {
                        "type": "string",
                        "enum": [
                          "custom"
                        ]
                      },
                      "url": {
                        "type": "string",
                        "format": "uri",
                        "pattern": "^https://",
                        "maxLength": 2000
                      }
                    }
                  }
                ]
              },
              "publicationStatus": {
                "type": "string",
                "enum": [
                  "draft",
                  "published"
                ]
              },
              "publicUrl": {
                "type": "string",
                "nullable": true,
                "format": "uri"
              },
              "templateId": {
                "type": "string",
                "enum": [
                  "coaching_intro"
                ]
              },
              "id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 80
              },
              "workspaceId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 80
              },
              "createdAt": {
                "type": "string",
                "format": "date-time",
                "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
              },
              "formVersion": {
                "type": "integer",
                "minimum": 1,
                "maximum": 2147483647
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "401": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "403": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "404": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "409": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "410": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "413": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "415": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "422": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
      "headers": {
        "Retry-After": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Limit": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Remaining": {
          "schema": {
            "type": "integer",
            "minimum": 0
          }
        },
        "RateLimit-Reset": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "rate_limited"
                    ]
                  },
                  "message": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "500": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "503": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
Beta, ohne Stabilitätszusage

GET /v1/hosts

listHosts

Berechtigungen: ["read:hosts"]

Anfrage und Antworten
{
  "operationId": "listHosts",
  "parameters": [
    {
      "schema": {
        "type": "integer",
        "minimum": 1,
        "maximum": 100,
        "default": 25
      },
      "in": "query",
      "name": "limit",
      "required": false
    },
    {
      "schema": {
        "type": "integer",
        "minimum": 0,
        "maximum": 2147483647,
        "default": 0
      },
      "in": "query",
      "name": "offset",
      "required": false
    },
    {
      "schema": {
        "type": "string"
      },
      "in": "header",
      "name": "x-workspace-id",
      "required": false,
      "description": "Workspace ID. Required for session authentication when the user has multiple memberships; must name one of their workspaces. API keys remain bound to their own workspace."
    }
  ],
  "security": [
    {
      "apiKey": []
    },
    {
      "session": []
    }
  ],
  "x-required-scopes": [
    "read:hosts"
  ],
  "x-public-api": true,
  "x-api-stability": "beta",
  "responses": {
    "200": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "data",
              "total",
              "limit",
              "offset"
            ],
            "properties": {
              "data": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "id",
                    "workspaceId",
                    "name",
                    "email",
                    "timeZone",
                    "availability",
                    "calendarConnected"
                  ],
                  "properties": {
                    "name": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 200
                    },
                    "email": {
                      "type": "string",
                      "format": "email",
                      "minLength": 1,
                      "maxLength": 320
                    },
                    "timeZone": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 100
                    },
                    "availability": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "days",
                          "startTime",
                          "endTime"
                        ],
                        "properties": {
                          "days": {
                            "type": "array",
                            "minItems": 1,
                            "items": {
                              "type": "integer",
                              "minimum": 0,
                              "maximum": 6
                            }
                          },
                          "startTime": {
                            "type": "string",
                            "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                          },
                          "endTime": {
                            "type": "string",
                            "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                          }
                        }
                      }
                    },
                    "id": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 80
                    },
                    "workspaceId": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 80
                    },
                    "calendarId": {
                      "type": "string"
                    },
                    "calendarIds": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "calendarConnected": {
                      "type": "boolean"
                    }
                  },
                  "description": "Calendar IDs are visible only to the bound host user and workspace owners/admins; connection state is visible to readers."
                }
              },
              "total": {
                "type": "integer",
                "minimum": 0,
                "maximum": 2147483647
              },
              "limit": {
                "type": "integer",
                "minimum": 0,
                "maximum": 2147483647
              },
              "offset": {
                "type": "integer",
                "minimum": 0,
                "maximum": 2147483647
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "401": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "403": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "404": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "409": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "410": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "413": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "415": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "422": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
      "headers": {
        "Retry-After": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Limit": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Remaining": {
          "schema": {
            "type": "integer",
            "minimum": 0
          }
        },
        "RateLimit-Reset": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "rate_limited"
                    ]
                  },
                  "message": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "500": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "503": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
Beta, ohne Stabilitätszusage

POST /v1/hosts

createHost

Berechtigungen: ["write:hosts"]

Anfrage und Antworten
{
  "operationId": "createHost",
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "name",
            "email",
            "timeZone",
            "availability"
          ],
          "properties": {
            "name": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            },
            "email": {
              "type": "string",
              "format": "email",
              "minLength": 1,
              "maxLength": 320
            },
            "timeZone": {
              "type": "string",
              "minLength": 1,
              "maxLength": 100
            },
            "availability": {
              "type": "array",
              "items": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "days",
                  "startTime",
                  "endTime"
                ],
                "properties": {
                  "days": {
                    "type": "array",
                    "minItems": 1,
                    "items": {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 6
                    }
                  },
                  "startTime": {
                    "type": "string",
                    "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                  },
                  "endTime": {
                    "type": "string",
                    "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "parameters": [
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "idempotency-key",
      "required": true
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 2048
      },
      "in": "header",
      "name": "x-booking-token",
      "required": false
    },
    {
      "schema": {
        "type": "string"
      },
      "in": "header",
      "name": "x-workspace-id",
      "required": false,
      "description": "Workspace ID. Required for session authentication when the user has multiple memberships; must name one of their workspaces. API keys remain bound to their own workspace."
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "x-csrf-token",
      "required": false,
      "description": "Required for cookie session mutations; not required for API keys."
    }
  ],
  "security": [
    {
      "apiKey": []
    },
    {
      "session": []
    }
  ],
  "x-required-scopes": [
    "write:hosts"
  ],
  "x-public-api": true,
  "x-api-stability": "beta",
  "responses": {
    "201": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "id",
              "workspaceId",
              "name",
              "email",
              "timeZone",
              "availability",
              "calendarId",
              "calendarIds"
            ],
            "properties": {
              "name": {
                "type": "string",
                "minLength": 1,
                "maxLength": 200
              },
              "email": {
                "type": "string",
                "format": "email",
                "minLength": 1,
                "maxLength": 320
              },
              "timeZone": {
                "type": "string",
                "minLength": 1,
                "maxLength": 100
              },
              "availability": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "days",
                    "startTime",
                    "endTime"
                  ],
                  "properties": {
                    "days": {
                      "type": "array",
                      "minItems": 1,
                      "items": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 6
                      }
                    },
                    "startTime": {
                      "type": "string",
                      "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                    },
                    "endTime": {
                      "type": "string",
                      "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                    }
                  }
                }
              },
              "id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 80
              },
              "workspaceId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 80
              },
              "calendarId": {
                "type": "string"
              },
              "calendarIds": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "401": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "403": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "404": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "409": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "410": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "413": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "415": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "422": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
      "headers": {
        "Retry-After": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Limit": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Remaining": {
          "schema": {
            "type": "integer",
            "minimum": 0
          }
        },
        "RateLimit-Reset": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "rate_limited"
                    ]
                  },
                  "message": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "500": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "503": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
Beta, ohne Stabilitätszusage

GET /v1/hosts/{hostId}/availability-profiles

listAvailabilityProfiles

Berechtigungen: ["read:hosts"]

Anfrage und Antworten
{
  "operationId": "listAvailabilityProfiles",
  "parameters": [
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 80
      },
      "in": "path",
      "name": "hostId",
      "required": true
    },
    {
      "schema": {
        "type": "string"
      },
      "in": "header",
      "name": "x-workspace-id",
      "required": false,
      "description": "Workspace ID. Required for session authentication when the user has multiple memberships; must name one of their workspaces. API keys remain bound to their own workspace."
    }
  ],
  "security": [
    {
      "apiKey": []
    },
    {
      "session": []
    }
  ],
  "x-required-scopes": [
    "read:hosts"
  ],
  "x-public-api": true,
  "x-api-stability": "beta",
  "responses": {
    "200": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "id",
                "workspaceId",
                "hostId",
                "name",
                "availability",
                "isDefault"
              ],
              "properties": {
                "id": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 80
                },
                "workspaceId": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 80
                },
                "hostId": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 80
                },
                "name": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 200
                },
                "availability": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "days",
                      "startTime",
                      "endTime"
                    ],
                    "properties": {
                      "days": {
                        "type": "array",
                        "minItems": 1,
                        "items": {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 6
                        }
                      },
                      "startTime": {
                        "type": "string",
                        "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                      },
                      "endTime": {
                        "type": "string",
                        "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                      }
                    }
                  }
                },
                "isDefault": {
                  "type": "boolean"
                }
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "401": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "403": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "404": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "409": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "410": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "413": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "415": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "422": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
      "headers": {
        "Retry-After": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Limit": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Remaining": {
          "schema": {
            "type": "integer",
            "minimum": 0
          }
        },
        "RateLimit-Reset": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "rate_limited"
                    ]
                  },
                  "message": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "500": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "503": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
Beta, ohne Stabilitätszusage

POST /v1/hosts/{hostId}/availability-profiles

createAvailabilityProfile

Berechtigungen: ["write:hosts"]

Anfrage und Antworten
{
  "operationId": "createAvailabilityProfile",
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "name",
            "availability"
          ],
          "properties": {
            "name": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            },
            "availability": {
              "type": "array",
              "items": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "days",
                  "startTime",
                  "endTime"
                ],
                "properties": {
                  "days": {
                    "type": "array",
                    "minItems": 1,
                    "items": {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 6
                    }
                  },
                  "startTime": {
                    "type": "string",
                    "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                  },
                  "endTime": {
                    "type": "string",
                    "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "parameters": [
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 80
      },
      "in": "path",
      "name": "hostId",
      "required": true
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "idempotency-key",
      "required": true
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 2048
      },
      "in": "header",
      "name": "x-booking-token",
      "required": false
    },
    {
      "schema": {
        "type": "string"
      },
      "in": "header",
      "name": "x-workspace-id",
      "required": false,
      "description": "Workspace ID. Required for session authentication when the user has multiple memberships; must name one of their workspaces. API keys remain bound to their own workspace."
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "x-csrf-token",
      "required": false,
      "description": "Required for cookie session mutations; not required for API keys."
    }
  ],
  "security": [
    {
      "apiKey": []
    },
    {
      "session": []
    }
  ],
  "x-required-scopes": [
    "write:hosts"
  ],
  "x-public-api": true,
  "x-api-stability": "beta",
  "responses": {
    "201": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "id",
              "workspaceId",
              "hostId",
              "name",
              "availability",
              "isDefault"
            ],
            "properties": {
              "id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 80
              },
              "workspaceId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 80
              },
              "hostId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 80
              },
              "name": {
                "type": "string",
                "minLength": 1,
                "maxLength": 200
              },
              "availability": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "days",
                    "startTime",
                    "endTime"
                  ],
                  "properties": {
                    "days": {
                      "type": "array",
                      "minItems": 1,
                      "items": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 6
                      }
                    },
                    "startTime": {
                      "type": "string",
                      "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                    },
                    "endTime": {
                      "type": "string",
                      "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                    }
                  }
                }
              },
              "isDefault": {
                "type": "boolean"
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "401": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "403": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "404": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "409": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "410": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "413": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "415": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "422": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
      "headers": {
        "Retry-After": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Limit": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Remaining": {
          "schema": {
            "type": "integer",
            "minimum": 0
          }
        },
        "RateLimit-Reset": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "rate_limited"
                    ]
                  },
                  "message": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "500": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "503": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
Beta, ohne Stabilitätszusage

PATCH /v1/hosts/{hostId}/availability-profiles/{profileId}

updateAvailabilityProfile

Berechtigungen: ["write:hosts"]

Anfrage und Antworten
{
  "operationId": "updateAvailabilityProfile",
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "name": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            },
            "availability": {
              "type": "array",
              "items": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "days",
                  "startTime",
                  "endTime"
                ],
                "properties": {
                  "days": {
                    "type": "array",
                    "minItems": 1,
                    "items": {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 6
                    }
                  },
                  "startTime": {
                    "type": "string",
                    "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                  },
                  "endTime": {
                    "type": "string",
                    "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "parameters": [
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 80
      },
      "in": "path",
      "name": "hostId",
      "required": true
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 80
      },
      "in": "path",
      "name": "profileId",
      "required": true
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "idempotency-key",
      "required": true
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 2048
      },
      "in": "header",
      "name": "x-booking-token",
      "required": false
    },
    {
      "schema": {
        "type": "string"
      },
      "in": "header",
      "name": "x-workspace-id",
      "required": false,
      "description": "Workspace ID. Required for session authentication when the user has multiple memberships; must name one of their workspaces. API keys remain bound to their own workspace."
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "x-csrf-token",
      "required": false,
      "description": "Required for cookie session mutations; not required for API keys."
    }
  ],
  "security": [
    {
      "apiKey": []
    },
    {
      "session": []
    }
  ],
  "x-required-scopes": [
    "write:hosts"
  ],
  "x-public-api": true,
  "x-api-stability": "beta",
  "responses": {
    "200": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "id",
              "workspaceId",
              "hostId",
              "name",
              "availability",
              "isDefault"
            ],
            "properties": {
              "id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 80
              },
              "workspaceId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 80
              },
              "hostId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 80
              },
              "name": {
                "type": "string",
                "minLength": 1,
                "maxLength": 200
              },
              "availability": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "days",
                    "startTime",
                    "endTime"
                  ],
                  "properties": {
                    "days": {
                      "type": "array",
                      "minItems": 1,
                      "items": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 6
                      }
                    },
                    "startTime": {
                      "type": "string",
                      "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                    },
                    "endTime": {
                      "type": "string",
                      "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                    }
                  }
                }
              },
              "isDefault": {
                "type": "boolean"
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "401": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "403": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "404": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "409": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "410": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "413": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "415": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "422": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
      "headers": {
        "Retry-After": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Limit": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Remaining": {
          "schema": {
            "type": "integer",
            "minimum": 0
          }
        },
        "RateLimit-Reset": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "rate_limited"
                    ]
                  },
                  "message": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "500": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "503": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
Beta, ohne Stabilitätszusage

DELETE /v1/hosts/{hostId}/availability-profiles/{profileId}

deleteAvailabilityProfile

Berechtigungen: ["write:hosts"]

Anfrage und Antworten
{
  "operationId": "deleteAvailabilityProfile",
  "parameters": [
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 80
      },
      "in": "path",
      "name": "hostId",
      "required": true
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 80
      },
      "in": "path",
      "name": "profileId",
      "required": true
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "idempotency-key",
      "required": true
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 2048
      },
      "in": "header",
      "name": "x-booking-token",
      "required": false
    },
    {
      "schema": {
        "type": "string"
      },
      "in": "header",
      "name": "x-workspace-id",
      "required": false,
      "description": "Workspace ID. Required for session authentication when the user has multiple memberships; must name one of their workspaces. API keys remain bound to their own workspace."
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "x-csrf-token",
      "required": false,
      "description": "Required for cookie session mutations; not required for API keys."
    }
  ],
  "security": [
    {
      "apiKey": []
    },
    {
      "session": []
    }
  ],
  "x-required-scopes": [
    "write:hosts"
  ],
  "x-public-api": true,
  "x-api-stability": "beta",
  "responses": {
    "200": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "id",
              "workspaceId",
              "hostId",
              "name",
              "availability",
              "isDefault"
            ],
            "properties": {
              "id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 80
              },
              "workspaceId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 80
              },
              "hostId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 80
              },
              "name": {
                "type": "string",
                "minLength": 1,
                "maxLength": 200
              },
              "availability": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "days",
                    "startTime",
                    "endTime"
                  ],
                  "properties": {
                    "days": {
                      "type": "array",
                      "minItems": 1,
                      "items": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 6
                      }
                    },
                    "startTime": {
                      "type": "string",
                      "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                    },
                    "endTime": {
                      "type": "string",
                      "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                    }
                  }
                }
              },
              "isDefault": {
                "type": "boolean"
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "401": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "403": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "404": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "409": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "410": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "413": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "415": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "422": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
      "headers": {
        "Retry-After": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Limit": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Remaining": {
          "schema": {
            "type": "integer",
            "minimum": 0
          }
        },
        "RateLimit-Reset": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "rate_limited"
                    ]
                  },
                  "message": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "500": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "503": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
Beta, ohne Stabilitätszusage

GET /v1/teams

listTeams

Berechtigungen: ["read:teams"]

Anfrage und Antworten
{
  "operationId": "listTeams",
  "parameters": [
    {
      "schema": {
        "type": "integer",
        "minimum": 1,
        "maximum": 100,
        "default": 25
      },
      "in": "query",
      "name": "limit",
      "required": false
    },
    {
      "schema": {
        "type": "integer",
        "minimum": 0,
        "maximum": 2147483647,
        "default": 0
      },
      "in": "query",
      "name": "offset",
      "required": false
    },
    {
      "schema": {
        "type": "string"
      },
      "in": "header",
      "name": "x-workspace-id",
      "required": false,
      "description": "Workspace ID. Required for session authentication when the user has multiple memberships; must name one of their workspaces. API keys remain bound to their own workspace."
    }
  ],
  "security": [
    {
      "apiKey": []
    },
    {
      "session": []
    }
  ],
  "x-required-scopes": [
    "read:teams"
  ],
  "x-public-api": true,
  "x-api-stability": "beta",
  "responses": {
    "200": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "data",
              "total",
              "limit",
              "offset"
            ],
            "properties": {
              "data": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "id",
                    "workspaceId",
                    "name",
                    "members"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 80
                    },
                    "workspaceId": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 80
                    },
                    "name": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 200
                    },
                    "members": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "hostId",
                          "weight",
                          "joinedAt"
                        ],
                        "properties": {
                          "hostId": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 80
                          },
                          "weight": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 2147483647
                          },
                          "joinedAt": {
                            "type": "string",
                            "format": "date-time",
                            "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                          }
                        }
                      }
                    }
                  }
                }
              },
              "total": {
                "type": "integer",
                "minimum": 0,
                "maximum": 2147483647
              },
              "limit": {
                "type": "integer",
                "minimum": 0,
                "maximum": 2147483647
              },
              "offset": {
                "type": "integer",
                "minimum": 0,
                "maximum": 2147483647
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "401": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "403": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "404": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "409": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "410": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "413": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "415": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "422": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
      "headers": {
        "Retry-After": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Limit": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Remaining": {
          "schema": {
            "type": "integer",
            "minimum": 0
          }
        },
        "RateLimit-Reset": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "rate_limited"
                    ]
                  },
                  "message": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "500": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "503": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
Beta, ohne Stabilitätszusage

POST /v1/teams

createTeam

Berechtigungen: ["write:teams"]

Anfrage und Antworten
{
  "operationId": "createTeam",
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "name"
          ],
          "properties": {
            "name": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            },
            "members": {
              "type": "array",
              "items": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "hostId",
                  "weight"
                ],
                "properties": {
                  "hostId": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 80
                  },
                  "weight": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 2147483647
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "parameters": [
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "idempotency-key",
      "required": true
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 2048
      },
      "in": "header",
      "name": "x-booking-token",
      "required": false
    },
    {
      "schema": {
        "type": "string"
      },
      "in": "header",
      "name": "x-workspace-id",
      "required": false,
      "description": "Workspace ID. Required for session authentication when the user has multiple memberships; must name one of their workspaces. API keys remain bound to their own workspace."
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "x-csrf-token",
      "required": false,
      "description": "Required for cookie session mutations; not required for API keys."
    }
  ],
  "security": [
    {
      "apiKey": []
    },
    {
      "session": []
    }
  ],
  "x-required-scopes": [
    "write:teams"
  ],
  "x-public-api": true,
  "x-api-stability": "beta",
  "responses": {
    "201": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "id",
              "workspaceId",
              "name",
              "members"
            ],
            "properties": {
              "id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 80
              },
              "workspaceId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 80
              },
              "name": {
                "type": "string",
                "minLength": 1,
                "maxLength": 200
              },
              "members": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "hostId",
                    "weight",
                    "joinedAt"
                  ],
                  "properties": {
                    "hostId": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 80
                    },
                    "weight": {
                      "type": "integer",
                      "minimum": 1,
                      "maximum": 2147483647
                    },
                    "joinedAt": {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "401": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "403": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "404": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "409": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "410": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "413": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "415": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "422": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
      "headers": {
        "Retry-After": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Limit": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Remaining": {
          "schema": {
            "type": "integer",
            "minimum": 0
          }
        },
        "RateLimit-Reset": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "rate_limited"
                    ]
                  },
                  "message": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "500": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "503": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
Beta, ohne Stabilitätszusage

POST /v1/funnels/{funnelId}/duplicate

duplicateFunnel

Creates an unpublished copy of a funnel and its settings without a public slug.

Berechtigungen: ["write:funnels"]

Anfrage und Antworten
{
  "operationId": "duplicateFunnel",
  "description": "Creates an unpublished copy of a funnel and its settings without a public slug.",
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "name"
          ],
          "properties": {
            "name": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            }
          }
        }
      }
    }
  },
  "parameters": [
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 80
      },
      "in": "path",
      "name": "funnelId",
      "required": true
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "idempotency-key",
      "required": true
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 2048
      },
      "in": "header",
      "name": "x-booking-token",
      "required": false
    },
    {
      "schema": {
        "type": "string"
      },
      "in": "header",
      "name": "x-workspace-id",
      "required": false,
      "description": "Workspace ID. Required for session authentication when the user has multiple memberships; must name one of their workspaces. API keys remain bound to their own workspace."
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "x-csrf-token",
      "required": false,
      "description": "Required for cookie session mutations; not required for API keys."
    }
  ],
  "security": [
    {
      "apiKey": []
    },
    {
      "session": []
    }
  ],
  "x-required-scopes": [
    "write:funnels"
  ],
  "x-public-api": true,
  "x-api-stability": "beta",
  "responses": {
    "201": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "id",
              "workspaceId",
              "createdAt",
              "name",
              "slug",
              "publicationStatus",
              "publicUrl",
              "durationMinutes",
              "intervalMinutes",
              "bufferBeforeMinutes",
              "bufferAfterMinutes",
              "minimumNoticeMinutes",
              "maxBookingsPerDay",
              "phoneRequired",
              "confirmationRequired",
              "locale",
              "rescheduleCutoffHours",
              "formVersion",
              "availabilityProfileId",
              "mode",
              "captureAbandoned",
              "bookingWindowDays",
              "fields",
              "bookingCopy"
            ],
            "properties": {
              "mode": {
                "type": "string",
                "enum": [
                  "form_first",
                  "calendar_first",
                  "headless"
                ]
              },
              "captureAbandoned": {
                "type": "boolean",
                "description": "Available only in form_first. calendar_first and headless always use false and reject explicit true."
              },
              "bookingWindowDays": {
                "type": "integer",
                "minimum": 1,
                "maximum": 36500
              },
              "fields": {
                "type": "array",
                "maxItems": 100,
                "items": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "id",
                    "type",
                    "required",
                    "label"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "pattern": "^[a-z][a-z0-9_]{0,79}$"
                    },
                    "type": {
                      "type": "string",
                      "enum": [
                        "text",
                        "email",
                        "phone",
                        "select",
                        "multiselect",
                        "scale",
                        "number",
                        "textarea",
                        "boolean",
                        "consent"
                      ]
                    },
                    "required": {
                      "type": "boolean"
                    },
                    "hidden": {
                      "type": "boolean"
                    },
                    "label": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "de",
                        "en"
                      ],
                      "properties": {
                        "de": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 2000
                        },
                        "en": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 2000
                        }
                      }
                    },
                    "min": {
                      "type": "number",
                      "description": "Required integer lower bound for a scale; optional numeric lower bound for a number field."
                    },
                    "max": {
                      "type": "number",
                      "description": "Required integer upper bound greater than min for a scale; optional numeric upper bound for a number field."
                    },
                    "options": {
                      "type": "array",
                      "minItems": 1,
                      "maxItems": 100,
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "value",
                          "label"
                        ],
                        "properties": {
                          "value": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 80
                          },
                          "label": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "de",
                              "en"
                            ],
                            "properties": {
                              "de": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 2000
                              },
                              "en": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 2000
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              },
              "bookingCopy": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "headline",
                  "subheadline",
                  "submitLabel",
                  "confirmation",
                  "consent",
                  "privacyLinkLabel",
                  "privacyLinkSuffix",
                  "captureNotice"
                ],
                "properties": {
                  "headline": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "de",
                      "en"
                    ],
                    "properties": {
                      "de": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      },
                      "en": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      }
                    }
                  },
                  "subheadline": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "de",
                      "en"
                    ],
                    "properties": {
                      "de": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      },
                      "en": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      }
                    }
                  },
                  "submitLabel": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "de",
                      "en"
                    ],
                    "properties": {
                      "de": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      },
                      "en": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      }
                    }
                  },
                  "confirmation": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "de",
                      "en"
                    ],
                    "properties": {
                      "de": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      },
                      "en": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      }
                    }
                  },
                  "consent": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "de",
                      "en"
                    ],
                    "properties": {
                      "de": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      },
                      "en": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      }
                    }
                  },
                  "privacyLinkLabel": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "de",
                      "en"
                    ],
                    "properties": {
                      "de": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      },
                      "en": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      }
                    }
                  },
                  "privacyLinkSuffix": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "de",
                      "en"
                    ],
                    "properties": {
                      "de": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      },
                      "en": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      }
                    }
                  },
                  "captureNotice": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "de",
                      "en"
                    ],
                    "properties": {
                      "de": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      },
                      "en": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      }
                    }
                  }
                }
              },
              "descriptionFormat": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "de",
                  "en"
                ],
                "properties": {
                  "de": {
                    "type": "string",
                    "enum": [
                      "plain",
                      "markdown"
                    ]
                  },
                  "en": {
                    "type": "string",
                    "enum": [
                      "plain",
                      "markdown"
                    ]
                  }
                }
              },
              "name": {
                "type": "string",
                "minLength": 1,
                "maxLength": 200
              },
              "labels": {
                "type": "array",
                "maxItems": 3,
                "items": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "name",
                    "color"
                  ],
                  "properties": {
                    "name": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 32
                    },
                    "color": {
                      "type": "string",
                      "enum": [
                        "blue",
                        "cyan",
                        "green",
                        "orange",
                        "pink",
                        "purple",
                        "gray"
                      ]
                    }
                  }
                }
              },
              "slug": {
                "type": "string",
                "minLength": 1,
                "maxLength": 63,
                "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
                "nullable": true
              },
              "hostId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 80
              },
              "teamId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 80
              },
              "availabilityProfileId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 80,
                "nullable": true
              },
              "durationMinutes": {
                "type": "integer",
                "minimum": 1,
                "maximum": 2147483647
              },
              "intervalMinutes": {
                "type": "integer",
                "minimum": 1,
                "maximum": 2147483647
              },
              "bufferBeforeMinutes": {
                "type": "integer",
                "minimum": 0,
                "maximum": 2147483647
              },
              "bufferAfterMinutes": {
                "type": "integer",
                "minimum": 0,
                "maximum": 2147483647
              },
              "minimumNoticeMinutes": {
                "type": "integer",
                "minimum": 0,
                "maximum": 2147483647
              },
              "maxBookingsPerDay": {
                "type": "integer",
                "minimum": 1,
                "maximum": 2147483647
              },
              "phoneRequired": {
                "type": "boolean"
              },
              "confirmationRequired": {
                "type": "boolean",
                "description": "Require invitee confirmation before the configured expiry; an unconfirmed booking expires and releases its slot."
              },
              "locale": {
                "type": "string",
                "enum": [
                  "de",
                  "en"
                ]
              },
              "rescheduleCutoffHours": {
                "type": "number",
                "minimum": 0,
                "description": "Invitee rescheduling cutoff in hours. Zero permits rescheduling at any time."
              },
              "cancellationCutoffHours": {
                "type": "number",
                "minimum": 0,
                "description": "Invitee cancellation cutoff in hours. Zero permits cancellation at any time. When omitted on creation, inherits the rescheduling cutoff; existing settings are preserved on updates."
              },
              "allowRescheduling": {
                "type": "boolean",
                "description": "Allow invitees to reschedule, subject to the change cutoff. Defaults to true; hosts are exempt."
              },
              "allowCancellation": {
                "type": "boolean",
                "description": "Allow invitees to cancel, subject to the change cutoff. Defaults to true; hosts are exempt."
              },
              "bookingChangeHint": {
                "type": "string",
                "minLength": 1,
                "maxLength": 2000
              },
              "video": {
                "oneOf": [
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "kind"
                    ],
                    "properties": {
                      "kind": {
                        "type": "string",
                        "enum": [
                          "google_meet"
                        ]
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "kind",
                      "url"
                    ],
                    "properties": {
                      "kind": {
                        "type": "string",
                        "enum": [
                          "custom"
                        ]
                      },
                      "url": {
                        "type": "string",
                        "format": "uri",
                        "pattern": "^https://",
                        "maxLength": 2000
                      }
                    }
                  }
                ]
              },
              "publicationStatus": {
                "type": "string",
                "enum": [
                  "draft",
                  "published"
                ]
              },
              "publicUrl": {
                "type": "string",
                "nullable": true,
                "format": "uri"
              },
              "templateId": {
                "type": "string",
                "enum": [
                  "coaching_intro"
                ]
              },
              "id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 80
              },
              "workspaceId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 80
              },
              "createdAt": {
                "type": "string",
                "format": "date-time",
                "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
              },
              "formVersion": {
                "type": "integer",
                "minimum": 1,
                "maximum": 2147483647
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "401": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "403": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "404": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "409": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "410": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "413": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "415": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "422": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
      "headers": {
        "Retry-After": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Limit": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Remaining": {
          "schema": {
            "type": "integer",
            "minimum": 0
          }
        },
        "RateLimit-Reset": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "rate_limited"
                    ]
                  },
                  "message": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "500": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "503": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
Beta, ohne Stabilitätszusage

POST /v1/funnels/{funnelId}/publication

setFunnelPublication

Publishing requires workspace and funnel slugs, named hosts and selected connected calendars. Publishing also requires a workspace privacy policy URL (422 privacy_policy_url_required). Existing published links remain online without one.

Berechtigungen: ["write:funnels"]

Anfrage und Antworten
{
  "operationId": "setFunnelPublication",
  "description": "Publishing requires workspace and funnel slugs, named hosts and selected connected calendars. Publishing also requires a workspace privacy policy URL (422 privacy_policy_url_required). Existing published links remain online without one.",
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "published"
          ],
          "properties": {
            "published": {
              "type": "boolean"
            }
          }
        }
      }
    }
  },
  "parameters": [
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 80
      },
      "in": "path",
      "name": "funnelId",
      "required": true
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "idempotency-key",
      "required": true
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 2048
      },
      "in": "header",
      "name": "x-booking-token",
      "required": false
    },
    {
      "schema": {
        "type": "string"
      },
      "in": "header",
      "name": "x-workspace-id",
      "required": false,
      "description": "Workspace ID. Required for session authentication when the user has multiple memberships; must name one of their workspaces. API keys remain bound to their own workspace."
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "x-csrf-token",
      "required": false,
      "description": "Required for cookie session mutations; not required for API keys."
    }
  ],
  "security": [
    {
      "apiKey": []
    },
    {
      "session": []
    }
  ],
  "x-required-scopes": [
    "write:funnels"
  ],
  "x-public-api": true,
  "x-api-stability": "beta",
  "responses": {
    "200": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "id",
              "workspaceId",
              "createdAt",
              "name",
              "slug",
              "publicationStatus",
              "publicUrl",
              "durationMinutes",
              "intervalMinutes",
              "bufferBeforeMinutes",
              "bufferAfterMinutes",
              "minimumNoticeMinutes",
              "maxBookingsPerDay",
              "phoneRequired",
              "confirmationRequired",
              "locale",
              "rescheduleCutoffHours",
              "formVersion",
              "availabilityProfileId",
              "mode",
              "captureAbandoned",
              "bookingWindowDays",
              "fields",
              "bookingCopy"
            ],
            "properties": {
              "mode": {
                "type": "string",
                "enum": [
                  "form_first",
                  "calendar_first",
                  "headless"
                ]
              },
              "captureAbandoned": {
                "type": "boolean",
                "description": "Available only in form_first. calendar_first and headless always use false and reject explicit true."
              },
              "bookingWindowDays": {
                "type": "integer",
                "minimum": 1,
                "maximum": 36500
              },
              "fields": {
                "type": "array",
                "maxItems": 100,
                "items": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "id",
                    "type",
                    "required",
                    "label"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "pattern": "^[a-z][a-z0-9_]{0,79}$"
                    },
                    "type": {
                      "type": "string",
                      "enum": [
                        "text",
                        "email",
                        "phone",
                        "select",
                        "multiselect",
                        "scale",
                        "number",
                        "textarea",
                        "boolean",
                        "consent"
                      ]
                    },
                    "required": {
                      "type": "boolean"
                    },
                    "hidden": {
                      "type": "boolean"
                    },
                    "label": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "de",
                        "en"
                      ],
                      "properties": {
                        "de": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 2000
                        },
                        "en": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 2000
                        }
                      }
                    },
                    "min": {
                      "type": "number",
                      "description": "Required integer lower bound for a scale; optional numeric lower bound for a number field."
                    },
                    "max": {
                      "type": "number",
                      "description": "Required integer upper bound greater than min for a scale; optional numeric upper bound for a number field."
                    },
                    "options": {
                      "type": "array",
                      "minItems": 1,
                      "maxItems": 100,
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "value",
                          "label"
                        ],
                        "properties": {
                          "value": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 80
                          },
                          "label": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "de",
                              "en"
                            ],
                            "properties": {
                              "de": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 2000
                              },
                              "en": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 2000
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              },
              "bookingCopy": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "headline",
                  "subheadline",
                  "submitLabel",
                  "confirmation",
                  "consent",
                  "privacyLinkLabel",
                  "privacyLinkSuffix",
                  "captureNotice"
                ],
                "properties": {
                  "headline": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "de",
                      "en"
                    ],
                    "properties": {
                      "de": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      },
                      "en": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      }
                    }
                  },
                  "subheadline": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "de",
                      "en"
                    ],
                    "properties": {
                      "de": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      },
                      "en": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      }
                    }
                  },
                  "submitLabel": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "de",
                      "en"
                    ],
                    "properties": {
                      "de": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      },
                      "en": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      }
                    }
                  },
                  "confirmation": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "de",
                      "en"
                    ],
                    "properties": {
                      "de": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      },
                      "en": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      }
                    }
                  },
                  "consent": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "de",
                      "en"
                    ],
                    "properties": {
                      "de": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      },
                      "en": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      }
                    }
                  },
                  "privacyLinkLabel": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "de",
                      "en"
                    ],
                    "properties": {
                      "de": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      },
                      "en": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      }
                    }
                  },
                  "privacyLinkSuffix": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "de",
                      "en"
                    ],
                    "properties": {
                      "de": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      },
                      "en": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      }
                    }
                  },
                  "captureNotice": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "de",
                      "en"
                    ],
                    "properties": {
                      "de": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      },
                      "en": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      }
                    }
                  }
                }
              },
              "descriptionFormat": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "de",
                  "en"
                ],
                "properties": {
                  "de": {
                    "type": "string",
                    "enum": [
                      "plain",
                      "markdown"
                    ]
                  },
                  "en": {
                    "type": "string",
                    "enum": [
                      "plain",
                      "markdown"
                    ]
                  }
                }
              },
              "name": {
                "type": "string",
                "minLength": 1,
                "maxLength": 200
              },
              "labels": {
                "type": "array",
                "maxItems": 3,
                "items": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "name",
                    "color"
                  ],
                  "properties": {
                    "name": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 32
                    },
                    "color": {
                      "type": "string",
                      "enum": [
                        "blue",
                        "cyan",
                        "green",
                        "orange",
                        "pink",
                        "purple",
                        "gray"
                      ]
                    }
                  }
                }
              },
              "slug": {
                "type": "string",
                "minLength": 1,
                "maxLength": 63,
                "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
                "nullable": true
              },
              "hostId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 80
              },
              "teamId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 80
              },
              "availabilityProfileId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 80,
                "nullable": true
              },
              "durationMinutes": {
                "type": "integer",
                "minimum": 1,
                "maximum": 2147483647
              },
              "intervalMinutes": {
                "type": "integer",
                "minimum": 1,
                "maximum": 2147483647
              },
              "bufferBeforeMinutes": {
                "type": "integer",
                "minimum": 0,
                "maximum": 2147483647
              },
              "bufferAfterMinutes": {
                "type": "integer",
                "minimum": 0,
                "maximum": 2147483647
              },
              "minimumNoticeMinutes": {
                "type": "integer",
                "minimum": 0,
                "maximum": 2147483647
              },
              "maxBookingsPerDay": {
                "type": "integer",
                "minimum": 1,
                "maximum": 2147483647
              },
              "phoneRequired": {
                "type": "boolean"
              },
              "confirmationRequired": {
                "type": "boolean",
                "description": "Require invitee confirmation before the configured expiry; an unconfirmed booking expires and releases its slot."
              },
              "locale": {
                "type": "string",
                "enum": [
                  "de",
                  "en"
                ]
              },
              "rescheduleCutoffHours": {
                "type": "number",
                "minimum": 0,
                "description": "Invitee rescheduling cutoff in hours. Zero permits rescheduling at any time."
              },
              "cancellationCutoffHours": {
                "type": "number",
                "minimum": 0,
                "description": "Invitee cancellation cutoff in hours. Zero permits cancellation at any time. When omitted on creation, inherits the rescheduling cutoff; existing settings are preserved on updates."
              },
              "allowRescheduling": {
                "type": "boolean",
                "description": "Allow invitees to reschedule, subject to the change cutoff. Defaults to true; hosts are exempt."
              },
              "allowCancellation": {
                "type": "boolean",
                "description": "Allow invitees to cancel, subject to the change cutoff. Defaults to true; hosts are exempt."
              },
              "bookingChangeHint": {
                "type": "string",
                "minLength": 1,
                "maxLength": 2000
              },
              "video": {
                "oneOf": [
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "kind"
                    ],
                    "properties": {
                      "kind": {
                        "type": "string",
                        "enum": [
                          "google_meet"
                        ]
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "kind",
                      "url"
                    ],
                    "properties": {
                      "kind": {
                        "type": "string",
                        "enum": [
                          "custom"
                        ]
                      },
                      "url": {
                        "type": "string",
                        "format": "uri",
                        "pattern": "^https://",
                        "maxLength": 2000
                      }
                    }
                  }
                ]
              },
              "publicationStatus": {
                "type": "string",
                "enum": [
                  "draft",
                  "published"
                ]
              },
              "publicUrl": {
                "type": "string",
                "nullable": true,
                "format": "uri"
              },
              "templateId": {
                "type": "string",
                "enum": [
                  "coaching_intro"
                ]
              },
              "id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 80
              },
              "workspaceId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 80
              },
              "createdAt": {
                "type": "string",
                "format": "date-time",
                "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
              },
              "formVersion": {
                "type": "integer",
                "minimum": 1,
                "maximum": 2147483647
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "401": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "403": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "404": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "409": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "410": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "413": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "415": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "422": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
      "headers": {
        "Retry-After": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Limit": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Remaining": {
          "schema": {
            "type": "integer",
            "minimum": 0
          }
        },
        "RateLimit-Reset": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "rate_limited"
                    ]
                  },
                  "message": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "500": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "503": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
Beta, ohne Stabilitätszusage

PATCH /v1/hosts/{hostId}

updateHost

Berechtigungen: ["write:hosts"]

Anfrage und Antworten
{
  "operationId": "updateHost",
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "name": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            },
            "email": {
              "type": "string",
              "format": "email",
              "minLength": 1,
              "maxLength": 320
            },
            "timeZone": {
              "type": "string",
              "minLength": 1,
              "maxLength": 100
            },
            "availability": {
              "type": "array",
              "items": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "days",
                  "startTime",
                  "endTime"
                ],
                "properties": {
                  "days": {
                    "type": "array",
                    "minItems": 1,
                    "items": {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 6
                    }
                  },
                  "startTime": {
                    "type": "string",
                    "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                  },
                  "endTime": {
                    "type": "string",
                    "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "parameters": [
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 80
      },
      "in": "path",
      "name": "hostId",
      "required": true
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "idempotency-key",
      "required": true
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 2048
      },
      "in": "header",
      "name": "x-booking-token",
      "required": false
    },
    {
      "schema": {
        "type": "string"
      },
      "in": "header",
      "name": "x-workspace-id",
      "required": false,
      "description": "Workspace ID. Required for session authentication when the user has multiple memberships; must name one of their workspaces. API keys remain bound to their own workspace."
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "x-csrf-token",
      "required": false,
      "description": "Required for cookie session mutations; not required for API keys."
    }
  ],
  "security": [
    {
      "apiKey": []
    },
    {
      "session": []
    }
  ],
  "x-required-scopes": [
    "write:hosts"
  ],
  "x-public-api": true,
  "x-api-stability": "beta",
  "responses": {
    "200": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "id",
              "workspaceId",
              "name",
              "email",
              "timeZone",
              "availability",
              "calendarId",
              "calendarIds"
            ],
            "properties": {
              "name": {
                "type": "string",
                "minLength": 1,
                "maxLength": 200
              },
              "email": {
                "type": "string",
                "format": "email",
                "minLength": 1,
                "maxLength": 320
              },
              "timeZone": {
                "type": "string",
                "minLength": 1,
                "maxLength": 100
              },
              "availability": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "days",
                    "startTime",
                    "endTime"
                  ],
                  "properties": {
                    "days": {
                      "type": "array",
                      "minItems": 1,
                      "items": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 6
                      }
                    },
                    "startTime": {
                      "type": "string",
                      "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                    },
                    "endTime": {
                      "type": "string",
                      "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                    }
                  }
                }
              },
              "id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 80
              },
              "workspaceId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 80
              },
              "calendarId": {
                "type": "string"
              },
              "calendarIds": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "401": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "403": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "404": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "409": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "410": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "413": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "415": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "422": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
      "headers": {
        "Retry-After": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Limit": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Remaining": {
          "schema": {
            "type": "integer",
            "minimum": 0
          }
        },
        "RateLimit-Reset": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "rate_limited"
                    ]
                  },
                  "message": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "500": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "503": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
Beta, ohne Stabilitätszusage

PATCH /v1/teams/{teamId}

updateTeam

Berechtigungen: ["write:teams"]

Anfrage und Antworten
{
  "operationId": "updateTeam",
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "name": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            },
            "members": {
              "type": "array",
              "items": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "hostId",
                  "weight"
                ],
                "properties": {
                  "hostId": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 80
                  },
                  "weight": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 2147483647
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "parameters": [
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 80
      },
      "in": "path",
      "name": "teamId",
      "required": true
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "idempotency-key",
      "required": true
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 2048
      },
      "in": "header",
      "name": "x-booking-token",
      "required": false
    },
    {
      "schema": {
        "type": "string"
      },
      "in": "header",
      "name": "x-workspace-id",
      "required": false,
      "description": "Workspace ID. Required for session authentication when the user has multiple memberships; must name one of their workspaces. API keys remain bound to their own workspace."
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "x-csrf-token",
      "required": false,
      "description": "Required for cookie session mutations; not required for API keys."
    }
  ],
  "security": [
    {
      "apiKey": []
    },
    {
      "session": []
    }
  ],
  "x-required-scopes": [
    "write:teams"
  ],
  "x-public-api": true,
  "x-api-stability": "beta",
  "responses": {
    "200": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "id",
              "workspaceId",
              "name",
              "members"
            ],
            "properties": {
              "id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 80
              },
              "workspaceId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 80
              },
              "name": {
                "type": "string",
                "minLength": 1,
                "maxLength": 200
              },
              "members": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "hostId",
                    "weight",
                    "joinedAt"
                  ],
                  "properties": {
                    "hostId": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 80
                    },
                    "weight": {
                      "type": "integer",
                      "minimum": 1,
                      "maximum": 2147483647
                    },
                    "joinedAt": {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "401": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "403": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "404": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "409": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "410": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "413": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "415": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "422": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
      "headers": {
        "Retry-After": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Limit": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Remaining": {
          "schema": {
            "type": "integer",
            "minimum": 0
          }
        },
        "RateLimit-Reset": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "rate_limited"
                    ]
                  },
                  "message": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "500": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "503": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
Beta, ohne Stabilitätszusage

GET /v1/hosts/{hostId}/calendars

listHostCalendars

Berechtigungen: ["read:hosts"]

Anfrage und Antworten
{
  "operationId": "listHostCalendars",
  "parameters": [
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 80
      },
      "in": "path",
      "name": "hostId",
      "required": true
    },
    {
      "schema": {
        "type": "string"
      },
      "in": "header",
      "name": "x-workspace-id",
      "required": false,
      "description": "Workspace ID. Required for session authentication when the user has multiple memberships; must name one of their workspaces. API keys remain bound to their own workspace."
    }
  ],
  "security": [
    {
      "apiKey": []
    },
    {
      "session": []
    }
  ],
  "x-required-scopes": [
    "read:hosts"
  ],
  "x-public-api": true,
  "x-api-stability": "beta",
  "responses": {
    "200": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "id",
                "name",
                "primary",
                "writable"
              ],
              "properties": {
                "id": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "primary": {
                  "type": "boolean"
                },
                "writable": {
                  "type": "boolean"
                }
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "401": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "403": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "404": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "409": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "410": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "413": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "415": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "422": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
      "headers": {
        "Retry-After": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Limit": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Remaining": {
          "schema": {
            "type": "integer",
            "minimum": 0
          }
        },
        "RateLimit-Reset": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "rate_limited"
                    ]
                  },
                  "message": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "500": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "503": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
Beta, ohne Stabilitätszusage

PATCH /v1/hosts/{hostId}/calendars

setHostCalendars

Berechtigungen: ["write:hosts"]

Anfrage und Antworten
{
  "operationId": "setHostCalendars",
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "targetCalendarId",
            "conflictCalendarIds"
          ],
          "properties": {
            "targetCalendarId": {
              "type": "string",
              "minLength": 1,
              "maxLength": 1024
            },
            "conflictCalendarIds": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 1024
              },
              "description": "The target calendar is always included in conflict checks."
            }
          }
        }
      }
    }
  },
  "parameters": [
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 80
      },
      "in": "path",
      "name": "hostId",
      "required": true
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "idempotency-key",
      "required": true
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 2048
      },
      "in": "header",
      "name": "x-booking-token",
      "required": false
    },
    {
      "schema": {
        "type": "string"
      },
      "in": "header",
      "name": "x-workspace-id",
      "required": false,
      "description": "Workspace ID. Required for session authentication when the user has multiple memberships; must name one of their workspaces. API keys remain bound to their own workspace."
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "x-csrf-token",
      "required": false,
      "description": "Required for cookie session mutations; not required for API keys."
    }
  ],
  "security": [
    {
      "apiKey": []
    },
    {
      "session": []
    }
  ],
  "x-required-scopes": [
    "write:hosts"
  ],
  "x-public-api": true,
  "x-api-stability": "beta",
  "responses": {
    "200": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "id",
              "workspaceId",
              "name",
              "email",
              "timeZone",
              "availability",
              "calendarId",
              "calendarIds"
            ],
            "properties": {
              "name": {
                "type": "string",
                "minLength": 1,
                "maxLength": 200
              },
              "email": {
                "type": "string",
                "format": "email",
                "minLength": 1,
                "maxLength": 320
              },
              "timeZone": {
                "type": "string",
                "minLength": 1,
                "maxLength": 100
              },
              "availability": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "days",
                    "startTime",
                    "endTime"
                  ],
                  "properties": {
                    "days": {
                      "type": "array",
                      "minItems": 1,
                      "items": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 6
                      }
                    },
                    "startTime": {
                      "type": "string",
                      "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                    },
                    "endTime": {
                      "type": "string",
                      "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                    }
                  }
                }
              },
              "id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 80
              },
              "workspaceId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 80
              },
              "calendarId": {
                "type": "string"
              },
              "calendarIds": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "401": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "403": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "404": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "409": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "410": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "413": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "415": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "422": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
      "headers": {
        "Retry-After": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Limit": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Remaining": {
          "schema": {
            "type": "integer",
            "minimum": 0
          }
        },
        "RateLimit-Reset": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "rate_limited"
                    ]
                  },
                  "message": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "500": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "503": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
Stabil (v1)

POST /v1/leads

createLead

Berechtigungen: ["write:leads"]

Anfrage und Antworten
{
  "operationId": "createLead",
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "required": [
            "consent",
            "funnelId"
          ],
          "properties": {
            "invitee": {
              "type": "object",
              "properties": {
                "name": {
                  "type": "string"
                },
                "email": {
                  "type": "string"
                },
                "phone": {
                  "type": "string"
                }
              }
            },
            "responses": {
              "type": "object",
              "additionalProperties": true
            },
            "consent": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "followup"
              ],
              "properties": {
                "followup": {
                  "type": "boolean"
                },
                "text": {
                  "type": "string",
                  "nullable": true,
                  "maxLength": 4000
                },
                "timestamp": {
                  "type": "string",
                  "format": "date-time",
                  "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$",
                  "nullable": true
                }
              }
            },
            "attribution": {
              "type": "object",
              "additionalProperties": {
                "type": "string",
                "maxLength": 2000
              }
            },
            "leadToken": {
              "type": "string",
              "maxLength": 200
            },
            "formVersion": {
              "type": "integer",
              "minimum": 1
            },
            "funnelId": {
              "type": "string"
            }
          }
        }
      }
    }
  },
  "parameters": [
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "idempotency-key",
      "required": true
    },
    {
      "schema": {
        "type": "string",
        "maxLength": 200
      },
      "in": "header",
      "name": "x-sandbox-token",
      "required": false
    },
    {
      "schema": {
        "type": "string"
      },
      "in": "header",
      "name": "x-workspace-id",
      "required": false,
      "description": "Workspace ID. Required for session authentication when the user has multiple memberships; must name one of their workspaces. API keys remain bound to their own workspace."
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "x-csrf-token",
      "required": false,
      "description": "Required for cookie session mutations; not required for API keys."
    }
  ],
  "security": [
    {
      "apiKey": []
    },
    {
      "session": []
    }
  ],
  "x-required-scopes": [
    "write:leads"
  ],
  "x-public-api": true,
  "x-api-stability": "stable",
  "responses": {
    "201": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "required": [
              "leadId",
              "leadToken",
              "warnings"
            ],
            "properties": {
              "leadId": {
                "type": "string"
              },
              "leadToken": {
                "type": "string"
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "field_id",
                    "code",
                    "message"
                  ],
                  "properties": {
                    "field_id": {
                      "type": "string"
                    },
                    "code": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "401": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "403": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "404": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "409": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "410": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "413": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "415": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "422": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
      "headers": {
        "Retry-After": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Limit": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Remaining": {
          "schema": {
            "type": "integer",
            "minimum": 0
          }
        },
        "RateLimit-Reset": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "rate_limited"
                    ]
                  },
                  "message": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "500": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "503": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
Stabil (v1)

GET /v1/leads

listLeads

Berechtigungen: ["read:leads"]

Anfrage und Antworten
{
  "operationId": "listLeads",
  "parameters": [
    {
      "schema": {
        "type": "string",
        "pattern": "^[1-9][0-9]*$"
      },
      "in": "query",
      "name": "limit",
      "required": false
    },
    {
      "schema": {
        "type": "string",
        "pattern": "^[0-9]+$"
      },
      "in": "query",
      "name": "offset",
      "required": false
    },
    {
      "schema": {
        "type": "string"
      },
      "in": "query",
      "name": "funnelId",
      "required": false
    },
    {
      "schema": {
        "type": "string",
        "enum": [
          "captured",
          "abandoned",
          "disqualified",
          "booked"
        ]
      },
      "in": "query",
      "name": "status",
      "required": false
    },
    {
      "schema": {
        "type": "string",
        "format": "date-time",
        "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
      },
      "in": "query",
      "name": "updated_since",
      "required": false,
      "description": "Inclusive update instant. Covers lead/capture changes and creation of related bookings; later booking changes belong to GET /v1/bookings?updated_since."
    },
    {
      "schema": {
        "type": "string"
      },
      "in": "header",
      "name": "x-workspace-id",
      "required": false,
      "description": "Workspace ID. Required for session authentication when the user has multiple memberships; must name one of their workspaces. API keys remain bound to their own workspace."
    }
  ],
  "security": [
    {
      "session": []
    },
    {
      "apiKey": []
    }
  ],
  "x-required-scopes": [
    "read:leads"
  ],
  "x-public-api": true,
  "x-api-stability": "stable",
  "responses": {
    "200": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "required": [
              "data",
              "total",
              "limit",
              "offset"
            ],
            "properties": {
              "data": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "workspaceId",
                    "funnelId",
                    "funnelName",
                    "name",
                    "email",
                    "phone",
                    "status",
                    "consent",
                    "answers",
                    "attribution",
                    "formVersion",
                    "createdAt",
                    "updatedAt"
                  ],
                  "properties": {
                    "bookingBlockedAt": {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$",
                      "nullable": true
                    },
                    "id": {
                      "type": "string"
                    },
                    "workspaceId": {
                      "type": "string"
                    },
                    "funnelId": {
                      "type": "string"
                    },
                    "funnelName": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "email": {
                      "type": "string"
                    },
                    "phone": {
                      "type": "string",
                      "nullable": true
                    },
                    "status": {
                      "type": "string",
                      "enum": [
                        "captured",
                        "abandoned",
                        "disqualified",
                        "booked"
                      ]
                    },
                    "consent": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "followup",
                        "text",
                        "timestamp"
                      ],
                      "properties": {
                        "followup": {
                          "type": "boolean"
                        },
                        "text": {
                          "type": "string",
                          "nullable": true,
                          "maxLength": 4000
                        },
                        "timestamp": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$",
                          "nullable": true
                        }
                      }
                    },
                    "answers": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "attribution": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string",
                        "maxLength": 2000
                      }
                    },
                    "formVersion": {
                      "type": "integer"
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                    },
                    "updatedAt": {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                    }
                  }
                }
              },
              "total": {
                "type": "integer"
              },
              "limit": {
                "type": "integer"
              },
              "offset": {
                "type": "integer"
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "401": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "403": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "404": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "409": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "410": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "413": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "415": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "422": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
      "headers": {
        "Retry-After": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Limit": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Remaining": {
          "schema": {
            "type": "integer",
            "minimum": 0
          }
        },
        "RateLimit-Reset": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "rate_limited"
                    ]
                  },
                  "message": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "500": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "503": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
Beta, ohne Stabilitätszusage

GET /v1/leads/attribution

getLeadAttribution

Berechtigungen: ["read:leads"]

Anfrage und Antworten
{
  "operationId": "getLeadAttribution",
  "parameters": [
    {
      "schema": {
        "type": "string",
        "pattern": "^[1-9][0-9]*$"
      },
      "in": "query",
      "name": "limit",
      "required": false
    },
    {
      "schema": {
        "type": "string",
        "pattern": "^[0-9]+$"
      },
      "in": "query",
      "name": "offset",
      "required": false
    },
    {
      "schema": {
        "type": "string"
      },
      "in": "header",
      "name": "x-workspace-id",
      "required": false,
      "description": "Workspace ID. Required for session authentication when the user has multiple memberships; must name one of their workspaces. API keys remain bound to their own workspace."
    }
  ],
  "security": [
    {
      "session": []
    },
    {
      "apiKey": []
    }
  ],
  "x-required-scopes": [
    "read:leads"
  ],
  "x-public-api": true,
  "x-api-stability": "beta",
  "responses": {
    "200": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "required": [
              "data",
              "total",
              "limit",
              "offset"
            ],
            "properties": {
              "data": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "source",
                    "campaign",
                    "leads",
                    "booked"
                  ],
                  "properties": {
                    "source": {
                      "type": "string",
                      "nullable": true
                    },
                    "campaign": {
                      "type": "string",
                      "nullable": true
                    },
                    "leads": {
                      "type": "integer",
                      "minimum": 0
                    },
                    "booked": {
                      "type": "integer",
                      "minimum": 0
                    }
                  }
                }
              },
              "total": {
                "type": "integer"
              },
              "limit": {
                "type": "integer"
              },
              "offset": {
                "type": "integer"
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "401": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "403": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "404": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "409": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "410": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "413": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "415": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "422": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
      "headers": {
        "Retry-After": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Limit": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Remaining": {
          "schema": {
            "type": "integer",
            "minimum": 0
          }
        },
        "RateLimit-Reset": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "rate_limited"
                    ]
                  },
                  "message": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "500": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "503": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
Beta, ohne Stabilitätszusage

GET /v1/leads/summary

getLeadSummary

Berechtigungen: ["read:leads"]

Anfrage und Antworten
{
  "operationId": "getLeadSummary",
  "parameters": [
    {
      "schema": {
        "type": "string"
      },
      "in": "header",
      "name": "x-workspace-id",
      "required": false,
      "description": "Workspace ID. Required for session authentication when the user has multiple memberships; must name one of their workspaces. API keys remain bound to their own workspace."
    }
  ],
  "security": [
    {
      "session": []
    },
    {
      "apiKey": []
    }
  ],
  "x-required-scopes": [
    "read:leads"
  ],
  "x-public-api": true,
  "x-api-stability": "beta",
  "responses": {
    "200": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "counts",
              "total"
            ],
            "properties": {
              "total": {
                "type": "integer",
                "minimum": 0
              },
              "counts": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "captured",
                  "abandoned",
                  "disqualified",
                  "booked"
                ],
                "properties": {
                  "captured": {
                    "type": "integer",
                    "minimum": 0
                  },
                  "abandoned": {
                    "type": "integer",
                    "minimum": 0
                  },
                  "disqualified": {
                    "type": "integer",
                    "minimum": 0
                  },
                  "booked": {
                    "type": "integer",
                    "minimum": 0
                  }
                }
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "401": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "403": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "404": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "409": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "410": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "413": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "415": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "422": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
      "headers": {
        "Retry-After": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Limit": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Remaining": {
          "schema": {
            "type": "integer",
            "minimum": 0
          }
        },
        "RateLimit-Reset": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "rate_limited"
                    ]
                  },
                  "message": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "500": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "503": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
Beta, ohne Stabilitätszusage

GET /v1/leads/{leadId}

getLead

Berechtigungen: ["read:leads"]

Anfrage und Antworten
{
  "operationId": "getLead",
  "parameters": [
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 80
      },
      "in": "path",
      "name": "leadId",
      "required": true
    },
    {
      "schema": {
        "type": "string"
      },
      "in": "header",
      "name": "x-workspace-id",
      "required": false,
      "description": "Workspace ID. Required for session authentication when the user has multiple memberships; must name one of their workspaces. API keys remain bound to their own workspace."
    }
  ],
  "security": [
    {
      "session": []
    },
    {
      "apiKey": []
    }
  ],
  "x-required-scopes": [
    "read:leads"
  ],
  "x-public-api": true,
  "x-api-stability": "beta",
  "responses": {
    "200": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "required": [
              "id",
              "workspaceId",
              "funnelId",
              "funnelName",
              "name",
              "email",
              "phone",
              "status",
              "consent",
              "answers",
              "attribution",
              "formVersion",
              "createdAt",
              "updatedAt"
            ],
            "properties": {
              "bookingBlockedAt": {
                "type": "string",
                "format": "date-time",
                "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$",
                "nullable": true
              },
              "id": {
                "type": "string"
              },
              "workspaceId": {
                "type": "string"
              },
              "funnelId": {
                "type": "string"
              },
              "funnelName": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "email": {
                "type": "string"
              },
              "phone": {
                "type": "string",
                "nullable": true
              },
              "status": {
                "type": "string",
                "enum": [
                  "captured",
                  "abandoned",
                  "disqualified",
                  "booked"
                ]
              },
              "consent": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "followup",
                  "text",
                  "timestamp"
                ],
                "properties": {
                  "followup": {
                    "type": "boolean"
                  },
                  "text": {
                    "type": "string",
                    "nullable": true,
                    "maxLength": 4000
                  },
                  "timestamp": {
                    "type": "string",
                    "format": "date-time",
                    "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$",
                    "nullable": true
                  }
                }
              },
              "answers": {
                "type": "object",
                "additionalProperties": true
              },
              "attribution": {
                "type": "object",
                "additionalProperties": {
                  "type": "string",
                  "maxLength": 2000
                }
              },
              "formVersion": {
                "type": "integer"
              },
              "createdAt": {
                "type": "string",
                "format": "date-time",
                "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
              },
              "updatedAt": {
                "type": "string",
                "format": "date-time",
                "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "401": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "403": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "404": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "409": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "410": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "413": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "415": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "422": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
      "headers": {
        "Retry-After": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Limit": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Remaining": {
          "schema": {
            "type": "integer",
            "minimum": 0
          }
        },
        "RateLimit-Reset": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "rate_limited"
                    ]
                  },
                  "message": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "500": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "503": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
Beta, ohne Stabilitätszusage

GET /v1/contacts

listContacts

Berechtigungen: ["read:leads"]

Anfrage und Antworten
{
  "operationId": "listContacts",
  "parameters": [
    {
      "schema": {
        "type": "string",
        "pattern": "^[1-9][0-9]*$"
      },
      "in": "query",
      "name": "limit",
      "required": false
    },
    {
      "schema": {
        "type": "string",
        "pattern": "^[0-9]+$"
      },
      "in": "query",
      "name": "offset",
      "required": false
    },
    {
      "schema": {
        "type": "string",
        "maxLength": 200
      },
      "in": "query",
      "name": "search",
      "required": false
    },
    {
      "schema": {
        "type": "string",
        "enum": [
          "all",
          "new",
          "no_upcoming",
          "captured",
          "abandoned",
          "disqualified",
          "booked"
        ]
      },
      "in": "query",
      "name": "filter",
      "required": false
    },
    {
      "schema": {
        "type": "string"
      },
      "in": "header",
      "name": "x-workspace-id",
      "required": false,
      "description": "Workspace ID. Required for session authentication when the user has multiple memberships; must name one of their workspaces. API keys remain bound to their own workspace."
    }
  ],
  "security": [
    {
      "session": []
    },
    {
      "apiKey": []
    }
  ],
  "x-required-scopes": [
    "read:leads"
  ],
  "x-public-api": true,
  "x-api-stability": "beta",
  "responses": {
    "200": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "required": [
              "data",
              "total",
              "limit",
              "offset"
            ],
            "properties": {
              "data": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "id",
                    "status",
                    "name",
                    "email",
                    "phone",
                    "company",
                    "createdAt",
                    "lastMeetingAt",
                    "nextMeetingAt"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "status": {
                      "type": "string",
                      "enum": [
                        "captured",
                        "abandoned",
                        "disqualified",
                        "booked"
                      ]
                    },
                    "name": {
                      "type": "string"
                    },
                    "email": {
                      "type": "string",
                      "nullable": true
                    },
                    "phone": {
                      "type": "string",
                      "nullable": true
                    },
                    "company": {
                      "type": "string",
                      "nullable": true
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                    },
                    "lastMeetingAt": {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$",
                      "nullable": true
                    },
                    "nextMeetingAt": {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$",
                      "nullable": true
                    }
                  }
                }
              },
              "total": {
                "type": "integer"
              },
              "limit": {
                "type": "integer"
              },
              "offset": {
                "type": "integer"
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "401": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "403": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "404": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "409": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "410": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "413": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "415": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "422": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
      "headers": {
        "Retry-After": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Limit": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Remaining": {
          "schema": {
            "type": "integer",
            "minimum": 0
          }
        },
        "RateLimit-Reset": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "rate_limited"
                    ]
                  },
                  "message": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "500": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "503": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
Beta, ohne Stabilitätszusage

POST /v1/contacts/bulk-delete

deleteContacts

Berechtigungen: ["write:leads"]

Anfrage und Antworten
{
  "operationId": "deleteContacts",
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "ids"
          ],
          "properties": {
            "ids": {
              "type": "array",
              "minItems": 1,
              "maxItems": 100,
              "uniqueItems": true,
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 100
              }
            }
          }
        }
      }
    }
  },
  "parameters": [
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "idempotency-key",
      "required": true
    },
    {
      "schema": {
        "type": "string",
        "maxLength": 200
      },
      "in": "header",
      "name": "x-sandbox-token",
      "required": false
    },
    {
      "schema": {
        "type": "string"
      },
      "in": "header",
      "name": "x-workspace-id",
      "required": false,
      "description": "Workspace ID. Required for session authentication when the user has multiple memberships; must name one of their workspaces. API keys remain bound to their own workspace."
    },
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "in": "header",
      "name": "x-csrf-token",
      "required": false,
      "description": "Required for cookie session mutations; not required for API keys."
    }
  ],
  "security": [
    {
      "session": []
    },
    {
      "apiKey": []
    }
  ],
  "x-required-scopes": [
    "write:leads"
  ],
  "x-public-api": true,
  "x-api-stability": "beta",
  "responses": {
    "200": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "required": [
              "deleted"
            ],
            "properties": {
              "deleted": {
                "type": "integer"
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "401": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "403": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "404": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "409": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "410": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "413": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "415": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "422": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
      "headers": {
        "Retry-After": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Limit": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Remaining": {
          "schema": {
            "type": "integer",
            "minimum": 0
          }
        },
        "RateLimit-Reset": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "rate_limited"
                    ]
                  },
                  "message": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "500": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "503": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
Beta, ohne Stabilitätszusage

GET /v1/sandbox-bookings

listSandboxBookings

Berechtigungen: ["read:bookings"]

Anfrage und Antworten
{
  "operationId": "listSandboxBookings",
  "parameters": [
    {
      "schema": {
        "type": "string",
        "pattern": "^[1-9][0-9]*$"
      },
      "in": "query",
      "name": "limit",
      "required": false
    },
    {
      "schema": {
        "type": "string",
        "pattern": "^[0-9]+$"
      },
      "in": "query",
      "name": "offset",
      "required": false
    },
    {
      "schema": {
        "type": "string"
      },
      "in": "query",
      "name": "funnelId",
      "required": false
    },
    {
      "schema": {
        "type": "string",
        "format": "date-time",
        "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
      },
      "in": "query",
      "name": "from",
      "required": false
    },
    {
      "schema": {
        "type": "string",
        "format": "date-time",
        "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
      },
      "in": "query",
      "name": "to",
      "required": false
    },
    {
      "schema": {
        "type": "string"
      },
      "in": "header",
      "name": "x-workspace-id",
      "required": false,
      "description": "Workspace ID. Required for session authentication when the user has multiple memberships; must name one of their workspaces. API keys remain bound to their own workspace."
    }
  ],
  "security": [
    {
      "session": []
    },
    {
      "apiKey": []
    }
  ],
  "x-required-scopes": [
    "read:bookings"
  ],
  "x-public-api": true,
  "x-api-stability": "beta",
  "responses": {
    "200": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "required": [
              "data",
              "total",
              "limit",
              "offset"
            ],
            "properties": {
              "data": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "id",
                    "workspaceId",
                    "funnelId",
                    "hostId",
                    "leadId",
                    "start",
                    "end",
                    "timeZone",
                    "inviteeTimeZone",
                    "status",
                    "createdAt",
                    "formVersion",
                    "isTest",
                    "invitee",
                    "funnelName"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 80
                    },
                    "workspaceId": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 80
                    },
                    "funnelId": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 80
                    },
                    "hostId": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 80
                    },
                    "teamId": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 80
                    },
                    "leadId": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 80
                    },
                    "start": {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                    },
                    "end": {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                    },
                    "timeZone": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 100
                    },
                    "inviteeTimeZone": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 100
                    },
                    "status": {
                      "type": "string",
                      "enum": [
                        "pending_confirmation",
                        "confirmed",
                        "rescheduled",
                        "cancelled",
                        "expired",
                        "completed",
                        "no_show"
                      ]
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                    },
                    "rescheduleUrl": {
                      "type": "string",
                      "format": "uri",
                      "description": "Only returned with write:bookings."
                    },
                    "cancelUrl": {
                      "type": "string",
                      "format": "uri",
                      "description": "Only returned with write:bookings."
                    },
                    "confirmationUrl": {
                      "type": "string",
                      "format": "uri",
                      "description": "Only returned with write:bookings."
                    },
                    "confirmationExpiresAt": {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                    },
                    "bookingChangeHint": {
                      "type": "string",
                      "description": "Host-provided contact instruction when modification links are unavailable."
                    },
                    "meetingUrl": {
                      "type": "string",
                      "format": "uri"
                    },
                    "version": {
                      "type": "integer",
                      "minimum": 1
                    },
                    "updatedAt": {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                    },
                    "formVersion": {
                      "type": "integer",
                      "minimum": 1
                    },
                    "isTest": {
                      "type": "boolean",
                      "enum": [
                        true
                      ]
                    },
                    "invitee": {
                      "type": "object",
                      "required": [
                        "name",
                        "email"
                      ],
                      "properties": {
                        "name": {
                          "type": "string"
                        },
                        "email": {
                          "type": "string"
                        }
                      }
                    },
                    "funnelName": {
                      "type": "string"
                    }
                  }
                }
              },
              "total": {
                "type": "integer"
              },
              "limit": {
                "type": "integer"
              },
              "offset": {
                "type": "integer"
              }
            }
          }
        }
      }
    },
    "400": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "401": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "403": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "404": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "409": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "410": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "413": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "415": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "422": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "429": {
      "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
      "headers": {
        "Retry-After": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Limit": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        },
        "RateLimit-Remaining": {
          "schema": {
            "type": "integer",
            "minimum": 0
          }
        },
        "RateLimit-Reset": {
          "schema": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "description": "Rate limit exceeded. Retry after the number of seconds in Retry-After.",
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "rate_limited"
                    ]
                  },
                  "message": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "500": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "503": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "error",
              "request_id"
            ],
            "properties": {
              "error": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "field": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "field_id",
                        "code",
                        "message"
                      ],
                      "properties": {
                        "field_id": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "alternatives": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "start",
                        "end",
                        "timeZone",
                        "local"
                      ],
                      "properties": {
                        "start": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "end": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                        },
                        "timeZone": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 100
                        },
                        "local": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "date",
                            "time",
                            "offset"
                          ],
                          "properties": {
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "time": {
                              "type": "string",
                              "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
                            },
                            "offset": {
                              "type": "string",
                              "pattern": "^[+-][0-9]{2}:[0-9]{2}$"
                            }
                          }
                        }
                      }
                    }
                  },
                  "hint": {
                    "type": "string"
                  }
                }
              },
              "request_id": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}

Webhooks

Wähle pro Endpunkt aus neun Ereignissen; ohne Filter werden alle ausgewählt: lead.captured, lead.abandoned, lead.converted, booking.created, booking.rescheduled, booking.cancelled, booking.confirmed_by_invitee, booking.expired, booking.completed. lead.disqualified und booking.no_show sind reserviert. Nur Ereignisse ab Anlage des Endpunkts werden zugestellt; Sandbox-Buchungen sind ausgeschlossen.

Jede POST-Zustellung enthält event_id, type, created_at und data. data enthält actor, schema_version, workspace_id, form_version, Lead-Daten, gegebenenfalls Buchungsdaten, answers, attribution und das Consent-Flag des Ereignisses. data.test=true kennzeichnet synthetische Beispielereignisse. Der Zustell-Log zeigt Status, Versuche, Fälligkeit und Dead-Letter. Aktionstokens, Aktionslinks und der Meet-Link sind nicht Teil des Event-Payloads; aktuelle Buchungsdetails erhältst du mit passenden Scopes über GET /v1/bookings/{id}.

Webhook-Signature hat exakt die Form t=<Unixsekunden>,v1=<hex>. Signiert wird HMAC-SHA256 über die UTF-8-Bytes von t, einen Punkt und die unveränderten Bodybytes. Verwende das ganze angezeigte whsec_-Secret als UTF-8-Schlüssel, ohne Base64-Decoding. Webhook-Id enthält event_id.

Prüfe vor JSON-Verarbeitung das Signaturformat, ein beidseitiges Zeitfenster um deine aktuelle Uhr (beispielsweise 300 Sekunden, am Empfänger konfigurierbar) und den erwarteten HMAC in konstanter Zeit. Lese den Body als rohe Bytes; JSON erneut zu serialisieren verändert die signierten Bytes. Verwirf ungültige oder veraltete Anfragen, bestätige gültige Anfragen mit 2xx und dedupliziere anhand event_id.

Retry behält event_id und den exakten Body, erhält aber einen neuen Signaturzeitpunkt. Nach protokolliertem Erfolg erfolgt kein automatischer weiterer Versuch. Ein Absturz nach fremder Annahme vor dem lokalen Commit kann einen weiteren Versuch verursachen. Bewusster Replay nutzt dieselbe event_id und eine neue Replay-ID; wiederholter Idempotency-Key legt keinen zweiten Replay an. Entscheide am Empfänger bewusst, ob du einen schon verarbeiteten Event erneut ausführen willst. Bei Secret-Rotation können laufende Versuche noch das vorherige Secret verwenden; akzeptiere während der Umstellung beide.

Pro Endpunkt wird booking.created für denselben Lead erst nach einem protokollierten 2xx-Erfolg des ausgewählten lead.captured gesendet, auch über Retry, Backoff und Neustart. Dead-Letter des Capture hält die Buchungszustellung ohne eigenen Versuch zurück, bis ein bewusster Capture-Replay erfolgreich ist. Bereits geplante Abhängigkeiten bleiben bei Filteränderungen erhalten. Ein ursprünglicher Booking-only-Filter oder ein Capture vor Endpunktanlage erzeugt keine Abhängigkeit; Replays erben die ursprüngliche Zuordnung. Bereits erfolgreiche Zustellungen aus älteren Versionen behalten ihre Replay-Freigabe. Ein späterer fehlgeschlagener Capture-Replay hebt einen bestehenden Erfolg nicht auf. Für andere Ereignisse und zwischen Endpunkten gibt es keine globale Reihenfolgezusage.

Calberry speichert Lead- und Buchungsdaten in der EU. Webhooks senden personenbezogene Daten an deine gewählten Werkzeuge; diese Kopien liegen an deren Speicherorten und können die EU verlassen.

WebhookEvent
{
  "type": "object",
  "additionalProperties": false,
  "description": "Immutable public event snapshot. Only events at or after endpoint creation are delivered; sandbox bookings never produce deliveries. Retry and explicit replay retain event_id and the exact body. Per endpoint, booking.created waits for a recorded successful delivery of its selected lead.captured for the same lead. Retry, backoff and dead letter do not release that dependency; a successful explicit capture replay does. Filters excluding capture and captures before endpoint creation have no dependency. Replays retain the original dependency; successful deliveries from earlier versions retain their replay eligibility. No global ordering is guaranteed. lead.disqualified and booking.no_show are reserved. Action tokens, action links and the Meet link are excluded. Retrieve current booking details through GET /v1/bookings/{id} with the appropriate scopes. Personal data sent to host-selected destinations may leave the EU.",
  "required": [
    "event_id",
    "type",
    "created_at",
    "data"
  ],
  "properties": {
    "event_id": {
      "type": "string"
    },
    "type": {
      "type": "string",
      "enum": [
        "lead.captured",
        "lead.abandoned",
        "lead.converted",
        "booking.created",
        "booking.rescheduled",
        "booking.cancelled",
        "booking.confirmed_by_invitee",
        "booking.expired",
        "booking.completed"
      ]
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
    },
    "data": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "actor",
        "schema_version",
        "workspace_id",
        "form_version",
        "consent",
        "lead",
        "answers",
        "attribution"
      ],
      "properties": {
        "actor": {
          "type": "string",
          "enum": [
            "invitee",
            "host",
            "system"
          ]
        },
        "schema_version": {
          "type": "integer",
          "enum": [
            1
          ]
        },
        "workspace_id": {
          "type": "string"
        },
        "form_version": {
          "type": "integer",
          "minimum": 1
        },
        "consent": {
          "type": "boolean",
          "description": "Follow-up consent frozen in this event, never inferred from the lead's current state."
        },
        "lead": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "id",
            "workspaceId",
            "funnelId"
          ],
          "properties": {
            "id": {
              "type": "string"
            },
            "workspaceId": {
              "type": "string"
            },
            "funnelId": {
              "type": "string"
            },
            "name": {
              "type": "string"
            },
            "email": {
              "type": "string"
            },
            "phone": {
              "type": "string",
              "nullable": true
            },
            "status": {
              "type": "string",
              "enum": [
                "captured",
                "abandoned",
                "disqualified",
                "booked"
              ]
            },
            "createdAt": {
              "type": "string",
              "format": "date-time",
              "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
            },
            "updatedAt": {
              "type": "string",
              "format": "date-time",
              "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
            }
          }
        },
        "booking": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "id": {
              "type": "string"
            },
            "workspaceId": {
              "type": "string"
            },
            "funnelId": {
              "type": "string"
            },
            "hostId": {
              "type": "string"
            },
            "teamId": {
              "type": "string"
            },
            "leadId": {
              "type": "string"
            },
            "start": {
              "type": "string",
              "format": "date-time",
              "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
            },
            "end": {
              "type": "string",
              "format": "date-time",
              "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
            },
            "timeZone": {
              "type": "string"
            },
            "inviteeTimeZone": {
              "type": "string"
            },
            "status": {
              "type": "string",
              "enum": [
                "pending_confirmation",
                "confirmed",
                "rescheduled",
                "cancelled",
                "expired",
                "completed",
                "no_show"
              ]
            },
            "createdAt": {
              "type": "string",
              "format": "date-time",
              "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
            },
            "updatedAt": {
              "type": "string",
              "format": "date-time",
              "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
            }
          }
        },
        "answers": {
          "type": "object",
          "additionalProperties": true
        },
        "attribution": {
          "type": "object",
          "additionalProperties": true
        },
        "test": {
          "type": "boolean",
          "enum": [
            true
          ],
          "description": "Synthetic test event with example data only."
        }
      }
    }
  }
}

Datenmodelle

Datenmodelle
{
  "securitySchemes": {
    "emailUnsubscribe": {
      "type": "apiKey",
      "in": "query",
      "name": "token",
      "description": "Opaque capability authorizing only email suppression for its bound workspace and address."
    },
    "session": {
      "type": "apiKey",
      "in": "cookie",
      "name": "__Host-app_session"
    },
    "refreshSession": {
      "type": "apiKey",
      "in": "cookie",
      "name": "__Host-app_refresh"
    },
    "apiKey": {
      "type": "http",
      "scheme": "bearer",
      "description": "Workspace API key. Required scopes are enforced and declared by x-required-scopes on each operation."
    },
    "bookingLink": {
      "type": "apiKey",
      "in": "header",
      "name": "X-Booking-Token",
      "description": "Signed token bound to this booking and action; expires at its declared UTC instant."
    },
    "bookingLinkQuery": {
      "type": "apiKey",
      "in": "query",
      "name": "token",
      "description": "Signed booking link token for read-only action preview."
    }
  },
  "schemas": {
    "EventActor": {
      "type": "string",
      "enum": [
        "invitee",
        "host",
        "system"
      ]
    },
    "BookingEvent": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "id",
        "name",
        "actor",
        "schema_version",
        "form_version",
        "occurred_at",
        "workspace_id",
        "booking",
        "lead",
        "consent",
        "answers",
        "attribution"
      ],
      "properties": {
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 80
        },
        "name": {
          "type": "string",
          "enum": [
            "booking.created",
            "booking.confirmed_by_invitee",
            "booking.rescheduled",
            "booking.cancelled",
            "booking.completed",
            "booking.expired"
          ]
        },
        "actor": {
          "$ref": "#/components/schemas/EventActor"
        },
        "schema_version": {
          "type": "integer",
          "enum": [
            1
          ]
        },
        "form_version": {
          "type": "integer",
          "minimum": 1
        },
        "occurred_at": {
          "type": "string",
          "format": "date-time",
          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
        },
        "workspace_id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 80
        },
        "booking": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "id",
            "workspaceId",
            "funnelId",
            "hostId",
            "leadId",
            "start",
            "end",
            "timeZone",
            "inviteeTimeZone",
            "status",
            "createdAt",
            "formVersion"
          ],
          "properties": {
            "id": {
              "type": "string",
              "minLength": 1,
              "maxLength": 80
            },
            "workspaceId": {
              "type": "string",
              "minLength": 1,
              "maxLength": 80
            },
            "funnelId": {
              "type": "string",
              "minLength": 1,
              "maxLength": 80
            },
            "hostId": {
              "type": "string",
              "minLength": 1,
              "maxLength": 80
            },
            "teamId": {
              "type": "string",
              "minLength": 1,
              "maxLength": 80
            },
            "leadId": {
              "type": "string",
              "minLength": 1,
              "maxLength": 80
            },
            "start": {
              "type": "string",
              "format": "date-time",
              "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
            },
            "end": {
              "type": "string",
              "format": "date-time",
              "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
            },
            "timeZone": {
              "type": "string",
              "minLength": 1,
              "maxLength": 100
            },
            "inviteeTimeZone": {
              "type": "string",
              "minLength": 1,
              "maxLength": 100
            },
            "status": {
              "type": "string",
              "enum": [
                "pending_confirmation",
                "confirmed",
                "rescheduled",
                "cancelled",
                "expired",
                "completed",
                "no_show"
              ]
            },
            "createdAt": {
              "type": "string",
              "format": "date-time",
              "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
            },
            "rescheduleUrl": {
              "type": "string",
              "format": "uri",
              "description": "Only returned with write:bookings."
            },
            "cancelUrl": {
              "type": "string",
              "format": "uri",
              "description": "Only returned with write:bookings."
            },
            "confirmationUrl": {
              "type": "string",
              "format": "uri",
              "description": "Only returned with write:bookings."
            },
            "confirmationExpiresAt": {
              "type": "string",
              "format": "date-time",
              "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
            },
            "bookingChangeHint": {
              "type": "string",
              "description": "Host-provided contact instruction when modification links are unavailable."
            },
            "meetingUrl": {
              "type": "string",
              "format": "uri"
            },
            "version": {
              "type": "integer",
              "minimum": 1
            },
            "updatedAt": {
              "type": "string",
              "format": "date-time",
              "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
            },
            "formVersion": {
              "type": "integer",
              "minimum": 1
            }
          }
        },
        "lead": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "id",
            "workspaceId",
            "funnelId",
            "name",
            "email",
            "phone",
            "status",
            "consent",
            "answers",
            "attribution",
            "formVersion",
            "createdAt"
          ],
          "properties": {
            "id": {
              "type": "string",
              "minLength": 1,
              "maxLength": 80
            },
            "workspaceId": {
              "type": "string",
              "minLength": 1,
              "maxLength": 80
            },
            "funnelId": {
              "type": "string",
              "minLength": 1,
              "maxLength": 80
            },
            "name": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            },
            "email": {
              "type": "string",
              "format": "email",
              "maxLength": 320
            },
            "phone": {
              "type": "string",
              "minLength": 1,
              "maxLength": 40,
              "nullable": true
            },
            "status": {
              "type": "string",
              "enum": [
                "booked"
              ]
            },
            "consent": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "followup",
                "text",
                "timestamp"
              ],
              "properties": {
                "followup": {
                  "type": "boolean"
                },
                "text": {
                  "type": "string",
                  "nullable": true,
                  "maxLength": 4000
                },
                "timestamp": {
                  "type": "string",
                  "format": "date-time",
                  "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$",
                  "nullable": true
                }
              }
            },
            "answers": {
              "type": "object",
              "additionalProperties": true
            },
            "attribution": {
              "type": "object",
              "additionalProperties": {
                "type": "string",
                "maxLength": 2000
              }
            },
            "formVersion": {
              "type": "integer",
              "minimum": 1
            },
            "createdAt": {
              "type": "string",
              "format": "date-time",
              "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
            }
          }
        },
        "consent": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "followup",
            "text",
            "timestamp"
          ],
          "properties": {
            "followup": {
              "type": "boolean"
            },
            "text": {
              "type": "string",
              "nullable": true,
              "maxLength": 4000
            },
            "timestamp": {
              "type": "string",
              "format": "date-time",
              "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$",
              "nullable": true
            }
          }
        },
        "answers": {
          "type": "object",
          "additionalProperties": true
        },
        "attribution": {
          "type": "object",
          "additionalProperties": {
            "type": "string",
            "maxLength": 2000
          }
        }
      }
    },
    "WebhookEvent": {
      "type": "object",
      "additionalProperties": false,
      "description": "Immutable public event snapshot. Only events at or after endpoint creation are delivered; sandbox bookings never produce deliveries. Retry and explicit replay retain event_id and the exact body. Per endpoint, booking.created waits for a recorded successful delivery of its selected lead.captured for the same lead. Retry, backoff and dead letter do not release that dependency; a successful explicit capture replay does. Filters excluding capture and captures before endpoint creation have no dependency. Replays retain the original dependency; successful deliveries from earlier versions retain their replay eligibility. No global ordering is guaranteed. lead.disqualified and booking.no_show are reserved. Action tokens, action links and the Meet link are excluded. Retrieve current booking details through GET /v1/bookings/{id} with the appropriate scopes. Personal data sent to host-selected destinations may leave the EU.",
      "required": [
        "event_id",
        "type",
        "created_at",
        "data"
      ],
      "properties": {
        "event_id": {
          "type": "string"
        },
        "type": {
          "type": "string",
          "enum": [
            "lead.captured",
            "lead.abandoned",
            "lead.converted",
            "booking.created",
            "booking.rescheduled",
            "booking.cancelled",
            "booking.confirmed_by_invitee",
            "booking.expired",
            "booking.completed"
          ]
        },
        "created_at": {
          "type": "string",
          "format": "date-time",
          "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
        },
        "data": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "actor",
            "schema_version",
            "workspace_id",
            "form_version",
            "consent",
            "lead",
            "answers",
            "attribution"
          ],
          "properties": {
            "actor": {
              "type": "string",
              "enum": [
                "invitee",
                "host",
                "system"
              ]
            },
            "schema_version": {
              "type": "integer",
              "enum": [
                1
              ]
            },
            "workspace_id": {
              "type": "string"
            },
            "form_version": {
              "type": "integer",
              "minimum": 1
            },
            "consent": {
              "type": "boolean",
              "description": "Follow-up consent frozen in this event, never inferred from the lead's current state."
            },
            "lead": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "id",
                "workspaceId",
                "funnelId"
              ],
              "properties": {
                "id": {
                  "type": "string"
                },
                "workspaceId": {
                  "type": "string"
                },
                "funnelId": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "email": {
                  "type": "string"
                },
                "phone": {
                  "type": "string",
                  "nullable": true
                },
                "status": {
                  "type": "string",
                  "enum": [
                    "captured",
                    "abandoned",
                    "disqualified",
                    "booked"
                  ]
                },
                "createdAt": {
                  "type": "string",
                  "format": "date-time",
                  "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                },
                "updatedAt": {
                  "type": "string",
                  "format": "date-time",
                  "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                }
              }
            },
            "booking": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "id": {
                  "type": "string"
                },
                "workspaceId": {
                  "type": "string"
                },
                "funnelId": {
                  "type": "string"
                },
                "hostId": {
                  "type": "string"
                },
                "teamId": {
                  "type": "string"
                },
                "leadId": {
                  "type": "string"
                },
                "start": {
                  "type": "string",
                  "format": "date-time",
                  "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                },
                "end": {
                  "type": "string",
                  "format": "date-time",
                  "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                },
                "timeZone": {
                  "type": "string"
                },
                "inviteeTimeZone": {
                  "type": "string"
                },
                "status": {
                  "type": "string",
                  "enum": [
                    "pending_confirmation",
                    "confirmed",
                    "rescheduled",
                    "cancelled",
                    "expired",
                    "completed",
                    "no_show"
                  ]
                },
                "createdAt": {
                  "type": "string",
                  "format": "date-time",
                  "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                },
                "updatedAt": {
                  "type": "string",
                  "format": "date-time",
                  "pattern": "(Z|[+-][0-9]{2}:[0-9]{2})$"
                }
              }
            },
            "answers": {
              "type": "object",
              "additionalProperties": true
            },
            "attribution": {
              "type": "object",
              "additionalProperties": true
            },
            "test": {
              "type": "boolean",
              "enum": [
                true
              ],
              "description": "Synthetic test event with example data only."
            }
          }
        }
      }
    }
  }
}