Delegiert System handbook

Chapter 06 / 14

API reference

Contract shape

Sanic owns /api/v1/* and selected public pages. JSON errors have stable status families and correlation IDs. Request bodies are bounded before parsing. Unknown fields are rejected on security-sensitive routes. Streaming responses use bounded NDJSON or WebSocket frames with explicit event types.

Authentication and CORS

Public preparation routes can be anonymous. Account and operator routes require their own bearer-token class and server-side session. Presentation routes accept only the exact configured slides origins and never credentials. Preflight responses list only the method and headers a route needs; wildcard origins are rejected.

Important public surfaces

Idempotency and failures

Effectful tool and telephony requests use stable request identities. Validation failures are 4xx; disabled capability gates are 503; internal failures are redacted 5xx responses. Provider timeouts and circuit state do not leak vendor payloads. Clients may retry only contracts documented as idempotent.

The generated route inventory shipped with this site is the mechanical reference for methods and paths; service modules remain the authority for semantics.

MethodPathFramework
DELETE/api/v1/accountSanic
GET/api/v1/accountSanic
GET/api/v1/account/exportSanic
POST/api/v1/account/passwordSanic
POST/api/v1/account/password-resetSanic
POST/api/v1/account/password-reset/confirmSanic
POST/api/v1/account/refreshSanic
POST/api/v1/account/registerSanic
POST/api/v1/account/sign-inSanic
POST/api/v1/account/sign-outSanic
POST/api/v1/account/sign-out-everywhereSanic
POST/api/v1/account/verify-emailSanic
POST/api/v1/account/verify-email/confirmSanic
GET/api/v1/address/autocompleteSanic
GET/api/v1/address/reverseSanic
GET/api/v1/admin/auditSanic
POST/api/v1/admin/auth/logoutSanic
POST/api/v1/admin/auth/refreshSanic
GET/api/v1/admin/auth/sessionSanic
POST/api/v1/admin/auth/sign-inSanic
GET/api/v1/admin/dashboardSanic
GET/api/v1/admin/issuesSanic
GET/api/v1/admin/municipalitiesSanic
GET/api/v1/admin/municipalities/<ags:str>Sanic
GET/api/v1/admin/revisionsSanic
POST/api/v1/admin/revisionsSanic
POST/api/v1/admin/revisions/<revision_id:int>/publishSanic
POST/api/v1/admin/revisions/<revision_id:int>/restoreSanic
POST/api/v1/admin/revisions/<revision_id:int>/reviewSanic
POST/api/v1/admin/revisions/<revision_id:int>/withdrawSanic
GET/api/v1/admin/summarySanic
GET/api/v1/admin/template-assets/<asset_id:int>Sanic
POST/api/v1/admin/templates/<entity_key:path>/assetsSanic
POST/api/v1/checkoutSanic
GET/api/v1/checkout/statusSanic
POST/api/v1/contactSanic
GET/api/v1/conversation/capabilitiesSanic
POST/api/v1/conversation/metricsSanic
POST/api/v1/conversation/ticketSanic
GET/api/v1/demo/capabilitiesSanic
GET/api/v1/demo/coverageSanic
POST/api/v1/demo/voice-callSanic
POST/api/v1/diagnosticsSanic
POST/api/v1/eventsSanic
POST/api/v1/extractSanic
POST/api/v1/form/conversationSanic
POST/api/v1/form/pdfSanic
POST/api/v1/form/previewSanic
GET/api/v1/gmail/appointmentsSanic
POST/api/v1/gmail/authorizeSanic
GET/api/v1/gmail/callbackSanic
POST/api/v1/gmail/disconnectSanic
GET/api/v1/gmail/statusSanic
GET/api/v1/healthSanic
GET/api/v1/health/dbSanic
GET/api/v1/office/<office_id:str>Sanic
DELETE/api/v1/profileSanic
GET/api/v1/profileSanic
PUT/api/v1/profileSanic
GET/api/v1/questionnaireSanic
GET/api/v1/readySanic
POST/api/v1/resultsSanic
GET/api/v1/scope-treeSanic
POST/api/v1/telephony/callsSanic
GET/api/v1/telephony/calls/<call_id:str>Sanic
POST/api/v1/telephony/calls/<call_id:str>/dtmfSanic
POST/api/v1/telephony/calls/<call_id:str>/hangupSanic
POST/api/v1/telephony/calls/<call_id:str>/recordingSanic
POST/api/v1/telephony/calls/<call_id:str>/recording-consentSanic
POST/api/v1/telephony/calls/<call_id:str>/recording/revokeSanic
POST/api/v1/telephony/calls/<call_id:str>/transferSanic
POST/api/v1/telephony/webhooks/eventsSanic
GET/api/v1/templates/<entity_key:path>/pdfSanic
DELETE/api/v1/voice/<consent_id:int>Sanic
POST/api/v1/voice/<consent_id:int>/synthesizeSanic
POST/api/v1/voice/enrollSanic
GET/api/v1/voice/exportSanic
Owner: API Reviewed: 2026-09-01 Revision: domain-schema-v2-2026-09-01
Sanic API gateway · Live Conversational form preparation · Live Official EzB PDF rendering · Live End-user accounts · Implemented, not integrated Authorized backend tool execution · Implemented, not integrated Redis sessions and durable tasks · Implemented, not integrated