Your own repositorybeta

Customizations of the CRM live in a file ispis.yaml in your own git repository: buttons on cases and files (customActions), template variables filled from your systems (templateCustomVariables), your own case categories and states (categories), task kinds (taskVerbs), person kinds (personKinds), blocks on the case card rendered by your code (sections) and events delivered to it (events). Connect the repository in Settings → Custom: on GitHub install the iSpis app (one click), any other git works with a deploy key with write access and a webhook. iSpis clones the repository right away, validates every push before applying it and can commit changes you approve (for example proposed by your AI assistant) as iSpis <no-reply@sokordia.com>. Without a repository iSpis hosts the file for you – an AI assistant connected over MCP edits it with ispis_yaml_propose.

The contract has two machine-readable files, both normative – iSpis validates against exactly these:

  • custom-ispis-schema.json – JSON Schema of ispis.yaml. Put # yaml-language-server: $schema=https://ispis.cz/schema/custom-ispis-schema.json on the first line for completion and checks in your editor; validate locally with yajsv -s custom-ispis-schema.json ispis.yaml.
  • custom-service.yaml (JSON) – OpenAPI of the endpoints your custom server answers; generate types from it if you like (npx openapi-typescript). There is no SDK to install.

Both only grow: new keys and endpoints are added, existing ones keep their meaning. An unknown key is an error. An invalid file is reported in Settings → Custom (and by e-mail): every push is validated before it is applied, and an invalid commit is not applied at all – the last valid version stays in use until you push a fixed one.

Example

service:
  url: https://crm.example.com/ispis   # only when the server runs on your side
  auth: a-shared-secret-of-your-choice # only with url; the hosted server gets ISPIS_AUTH from iSpis
  path: ispis/service.ts               # hosted module (default), relative to ispis.yaml

customActions:
  - id: TransferToCollection
    title: Transfer to external collection
    domain: case            # case | file | person | claim | paid | txn
    type: Remote            # Remote = your back-end, Core = built-in action
  - id: StatementHTML
    title: Statement as HTML
    button: HTML
    domain: file
    limitFileType: statement
    type: Remote

templateCustomVariables:
  - id: Loan                # used as [% Loan %] in templates

sections:                   # hosted server only (no service.url)
  - id: settlement          # GET /section/settlement?refno= returns HTML
    placement: detail
    right: modify           # case right needed to submit its forms (default)
    rights: [invoices]      # further rights your forms distinguish (X-Ispis-Rights)
  - id: summary             # GET /section/summary?refno=&placement=dashboard
    placement: dashboard    # top of the overview page (no case)

events: [taskDone, taskCreated]  # hosted server only: POST /event/<name>

categories:
  - id: Settlement
    title: Settlement
    default: true           # category of a new case (at most one)
    initialState: Received  # state of a new case
    states:                 # order of states = order in the list
      - id: Received
        desc: Received, waiting for analysis
        color: '#33B5E5'
        colorAlt: '#0099CC' # optional, a darker shade is derived
        substates: [YES, NO]
      - id: Negotiation
        desc: Proposal sent, waiting for the other party
        color: '#FFBB33'
      - id: Settled
        desc: Signed and paid
        color: '#666666'
        closed: true        # terminal state; at least one per category
      - id: Closed
        color: '#9E9E9E'
        closed: true
  - id: Inkaso              # a shared built-in category, referenced by id

taskVerbs:
  - { id: analyse, title: Analyse }
  - { id: refund, title: Refund }

personKinds: [client, representative, finarb]

service

The custom server that answers custom actions, template variables, case-card sections and events. Either we host it for you (leave url out and put ispis/service.ts in the repository, see below) or it runs on your side (url). iSpis calls fixed endpoints under the base URL and sends Authorization: Bearer <secret> (your service.auth with url; for the hosted server a secret iSpis generates and passes to it as ISPIS_AUTH), X-Ispis-Ak, X-Ispis-Login (the acting user) and X-Ispis-Request (id for your log) with every request:

WhatRequestResponse
custom action on a case or personGET <url>/action/<id>?refno=<RefNo>JSON
custom action on a fileGET <url>/action/<id>?peId=<file id>JSON
template variableGET <url>/var?name=<id>&refno=<RefNo>JSON
link on the case cardGET <url>/link?refno=<RefNo>{ "url", "title" } or {}
section (hosted only)GET <url>/section/<id>?refno=<RefNo>&placement=<placement>HTML fragment, empty = hidden
form in a section (hosted only)POST <url>/section/<id>/<form>?refno=<RefNo>&placement=<placement>JSON
event (hosted only)POST <url>/event/<name>204

A custom action returns JSON; a download action returns { "name": "file.pdf", "base64": "..." }. A case action run from the case list (Provést akci → Custom…) is called once per selected case and may return { "row": {...} } or { "rows": [...] }; the rows of all cases are joined into one XLS (columns: [...] fixes the column order, otherwise alphabetical). A template variable returns JSON (a string or an object whose keys are used as [% Loan.Amount %]). Errors go to the x-ispis-error response header. An item may instead carry its own absolute url (legacy), then service is not needed and refno= / peId= is appended to it.

Hosted server (ispis/service.ts)

Put a Deno module in ispis/service.ts (another path via service.path, relative to ispis.yaml; the repository may hold your other things). We run it as a separate process with minimal permissions, start it on first use, stop it when idle and restart it after every push. Its log (stdout and stderr) is in Settings → Custom.

Runtime contract – read this before writing the module (also when an AI assistant writes it for you):

  • Socket or port. When ISPIS_SOCKET is set (the hosted server), listen on that unix socket: Deno.serve({ path }, handler); there is no TCP port and no PORT variable. When it is not set (the same module running on your own server, see service.url), listen on ISPIS_PORT (TCP, ISPIS_HOST default 127.0.0.1). Support both, so the module can move. iSpis waits up to 30 seconds after the start for GET /health to return 200; a module that does not listen there (or exits) fails to start.
  • Environment: only ISPIS_AK (your tenant code), ISPIS_URL (base URL of your CRM), ISPIS_SOCKET, ISPIS_PORT, ISPIS_HOST, ISPIS_AUTH (the secret), PGHOST, PGPORT, PGDATABASE, PGUSER, PGPASSWORD (+ other PG* options of postgres.js), TZ, HOME, DENO_DIR and ISPIS_SECRET_<id> of the keys you list in secrets (see below) can be read. Reading any other variable (PORT, DATABASE_URL, NODE_ENV, …) throws NotCapable – an uncaught one kills the process. Do not probe for others; there are none.
  • Files: read only inside your repository, write only to var/ and log/ in it (both are created for you and are not part of git). No /proc, no parent directories, no subprocesses.
  • Network: outgoing HTTP(S) anywhere (your webhooks, APIs), except the internal iSpis services.
  • Auth: every request except /health carries Authorization: Bearer <ISPIS_AUTH>; answer 401 when it does not match.
  • Code: the module is type-checked (deno check) before every start – a type error is reported in the log and the old version keeps running. npm: and jsr: imports work (npm:postgres@3.4.5 for the database); there is no SDK to import from your repository. Exit cleanly on SIGTERM (5 s, then it is killed). Limits: 512 MB memory, half a CPU.
  • Database: postgres.js with no arguments (postgres()) logs in from the PG* variables as your own role; row-level security shows and lets you change only your rows (read-write on cases, persons, claims, files, screenings and settings). Main tables: project = case (path is the RefNo, category, state, substate, labels, your own data in fields jsonb), person (first_name, last_name, company_name, company_no = IČO, isds = data box, email, phone, address_main), project_person (project → project.id, person → person.id, kind = role on the case), project_entry (case history: kind = task, note, file, sent, …; task_verb, task_finished, note_text), debt (claims, project_path = RefNo, amount_cents). Look up other columns in information_schema.columns; do not guess tables by column names.

A complete module to start from (events, a section with a form, a link):

import postgres from "npm:postgres@3.4.5"

const sql = postgres({ max: 2 })           // PG* from the environment
const AUTH = Deno.env.get("ISPIS_AUTH") ?? ""
const SOCKET = Deno.env.get("ISPIS_SOCKET") ?? ""   // hosted: unix socket
const PORT = Number(Deno.env.get("ISPIS_PORT")) || 0 // your own server: TCP
const HOST = Deno.env.get("ISPIS_HOST") || "127.0.0.1"
const esc = (s: unknown) => String(s ?? "").replace(/[&<>"]/g, (c) => `&#${c.charCodeAt(0)};`)
const json = (body: unknown, status = 200, headers: HeadersInit = {}) => Response.json(body, { status, headers })

async function handler(req: Request): Promise<Response> {
  const url = new URL(req.url)
  const path = url.pathname
  if (path == "/health") return json({ ok: true })
  if (req.headers.get("authorization") != `Bearer ${AUTH}`) return new Response("Unauthorized", { status: 401 })
  const refno = url.searchParams.get("refno") ?? ""
  try {
    if (path == "/event/taskDone" && req.method == "POST") {
      const ev = await req.json()              // { refno, peId, verb, login }
      console.log("taskDone", ev)
      return new Response(null, { status: 204 })
    }
    if (path == "/section/sync") {             // sections: [{ id: sync, placement: detail }]
      const [c] = await sql`select path, category, state from project where path = ${refno}`
      if (!c) return new Response("")          // empty = section hidden
      return new Response(`<div class="card mb-3">
        <div class="card-header">Our application</div>
        <div class="card-body">
          <p class="card-text">Case ${esc(c.path)}: ${esc(c.state)}</p>
          <form data-api="/section/detail/sync/${esc(refno)}/send">
            <button type="submit" class="btn btn-primary btn-sm">Send</button></form>
        </div></div>`, { headers: { "content-type": "text/html; charset=utf-8" } })
    }
    if (path == "/section/sync/send" && req.method == "POST") {
      const persons = await sql`select p.first_name, p.last_name, p.company_name, p.company_no, pp.kind
        from project c join project_person pp on pp.project = c.id join person p on p.id = pp.person
        where c.path = ${refno}`
      return json({ ok: true, persons: persons.length })
    }
    if (path == "/link") return json({ url: "https://example.com/case/" + refno, title: "Open in our app" })
    return new Response("Not found", { status: 404 })
  } catch (e) {
    console.error(path, e)
    const msg = e instanceof Error ? e.message : String(e)
    // shown to the user; header values must be ASCII
    return json({ error: msg }, 500, { "x-ispis-error": msg.replace(/[^\x20-\x7e]/g, "?").slice(0, 500) })
  }
}

if (!SOCKET && !PORT) throw new Error("ISPIS_SOCKET or ISPIS_PORT missing")
if (SOCKET) try { Deno.removeSync(SOCKET) } catch { /* not there */ }
const server = SOCKET
  ? Deno.serve({ path: SOCKET, onListen: () => console.log("listening on", SOCKET) }, handler)
  : Deno.serve({ hostname: HOST, port: PORT, onListen: () => console.log("listening on", `${HOST}:${PORT}`) }, handler)
Deno.addSignalListener("SIGTERM", async () => { await server.shutdown(); await sql.end(); Deno.exit(0) })

A section (id, placement, right) returns an HTML fragment that is shown without any JavaScript. placement says where: detail (default, the case card; refno is the case), or dashboard (top of the overview page Přehled; refno is empty, so show what concerns the whole account or the user). Every section request carries placement; right is the case right a user needs to submit its forms (view, modify (default), solve, file, note, payments, send, sensitive, finance, invoices). With rights: [...] a form POST also passes for a user who has any of those rights, and every section request carries X-Ispis-Rights (comma-separated list of right/rights the user actually has) so your code decides per form, e.g. show the claim dialog only with invoices. Dialogs are <dialog data-ui-modal> opened by <button commandfor=ID command="show-modal">, forms are <form data-api="/section/<placement>/<id>/<RefNo>/<form>"> (- instead of the RefNo on the dashboard) whose fields are posted as JSON to your POST /section/<id>/<form>; after success the section is re-rendered, or, when your JSON answer is { "redirect": "/pripad#48" }, the browser goes to that page (relative iSpis URLs only, e.g. a case /pripad#<RefNo>). An error answer ({ "error": "..." } with status 4xx) is shown inside the form in <div data-error hidden></div> (iSpis styles it as an error message, so leave it empty and without classes) and the form keeps its values. An empty response hides the section, so decide inside your code for which categories or states it applies.

HTML and styling: the CRM uses Bootstrap 5 – style everything with Bootstrap classes, no <style>, no inline colours, no own CSS framework, no <script> (it is not run). Wrap a case-card section in a card:

<div class="card mb-3">
  <div class="card-header">Our application</div>
  <div class="card-body">
    <p class="card-text text-muted">Last sync 2026-11-11 10:46: 4 cases.</p>
    <form data-api="/section/detail/sync/48/send">
      <button type="submit" class="btn btn-primary btn-sm">Send</button>
    </form>
  </div>
</div>

Inside use the usual components: btn btn-primary / btn-outline-secondary (btn-sm on the card), form-control, form-select, form-label, mb-3, table table-sm, list-group, badge, alert alert-danger, text-muted, d-flex gap-2, row/col-*; dialogs <dialog data-ui-modal> with modal-header / modal-body / modal-footer. Escape every value you put into the HTML.

Events: list the events you want in events; we POST /event/<name> with a JSON body. Every body has refno (the case), login (who did it; the system login for automatic changes) and at (UTC time), plus:

EventWhenExtra fields
taskDone / taskCreateda task on the case is finished / createdpeId, verb
caseCreateda new case (UI, import, API)category, state, batch
stateChangedcategory or state changedfrom, to ({ category, state })
labelsChangedlabels added or removedadded, removed
fileUploadeda new file on the casepeId, fileType, name
paymentMatcheda payment assigned to the casepaymentId, amountCents, currency
isdsReceivedan incoming data-box message assigned to the casemsgId, dmId, sender

Exact schemas and examples: custom-service.yaml. Events are fire-and-forget: the user (or a bank import) never waits for your server, the event arrives about a second after the change, at most once, without retry, in no guaranteed order. Your answer only goes to the log (a failure is shown in Settings → Custom). Each delivery has a unique X-Ispis-Delivery header. Changes your own server makes (through sql) do not raise events. Where you must not miss anything, reconcile from the database, for example in a schedule (cases with changed since your last run). Change the case yourself through sql (for example move it to a closed state, or add a label while a task of some verb is open); if you need to call another system, do it (and retry it) in your code.

Search index: case search (the quick search box) looks up words of the RefNo, contract numbers and the people on the case. List your own project.fields with additionalFulltext: [Field.FAID, Field.ColibriID] to make them searchable too. Whenever your code changes such a field (or the contract number, or a person on the case), also run update project set fulltext = null where id = …: after your response to a form POST, an action or an event we re-index every case of that request whose fulltext is NULL (cases of the request = refno/refnos in the query, refno in the event body). Everything else is re-indexed every night.

categories

Replaces the built-in categories of your account with your own. A category has an id (letters, digits, _), an optional title, default: true for the category of a new case, initialState for the state of a new case and a non-empty ordered list of states. An item with only an id refers to a shared built-in category (Inkaso, Advokat, Marketing, Loan, Collection, Attorney), so you can combine your own categories with ours.

A state has id, optional title and desc, color (#rrggbb), optional colorAlt (darker shade), optional substates and closed: true for a terminal state. Closed cases are excluded from active lists and from "not closed" exports; Close case switches to the first closed state (Closed, ExtClosed or Uzavřeno preferred), so give every category at least one. States already used by your cases must stay in the list, otherwise such cases show without a state badge.

taskVerbs, personKinds

  • taskVerbs replaces the built-in task kinds; title is the English label (translated where we have a translation), default is the built-in label or the id.
  • personKinds restricts the person kinds offered on a case to a selection of the built-in ones (client, representative, finarb, debtor, …).
  • The system login (the user that authors automatic changes, for example a state change after a finished task) is set by us on activation.

roles

Your own user roles, assigned in Settings → Users or with the user_set_role MCP tool (built-in roles stay available: administrator = everything, pozorovatel = read-only, praktikant, operator, agent):

roles:
  - id: editor               # role name stored on the user; lower-case, must not be a built-in name
    title: Editor
    extends: pozorovatel     # base: administrator | pozorovatel | praktikant | operator | agent
    allow: [pripad:create, pripad:modify, pripad:note, pripad:solve, pripad:file, osoba:edit]
  - id: payment
    extends: pozorovatel
    allow: [pohledavka:edit, pripad:invoices, pripad:payments]
  - id: junior
    extends: operator
    deny: [pripad:send, lustrace:*]   # deny wins over extends and allow

Actions are ctrl:method names from our catalogue (Settings → Roles lists them with descriptions: pripad:view, pripad:create, pripad:modify, pripad:note, pripad:solve, pripad:file, pripad:invoices, pripad:payments, pripad:send, pripad:actions, pohledavka:edit, osoba:edit, lustrace:query, settings:configure, login:grant, …); ctrl:* means every action of that controller. The role is resolved to explicit read / write / execute lists: the base role's rights, plus allow, minus deny. At most 30 roles. A user whose role no longer exists (removed from roles) falls back to read-only and we get an alert. An account without a repository can keep the same list in the setting crm.roles (JSON).

Calling iSpis back

Your hosted server can change cases through iSpis itself – with audit, the follow-up logic and sending – instead of writing to the database directly:

const api = Deno.createHttpClient({ proxy: { transport: "unix", path: Deno.env.get("ISPIS_API_SOCKET")! } } as any)
const r = await fetch("http://ispis/api/service/v1/case/setState", {
  method: "POST", client: api,
  headers: { authorization: `Bearer ${Deno.env.get("ISPIS_AUTH")}`, "content-type": "application/json" },
  body: JSON.stringify({ refno: "48", state: "Settled" }),
} as RequestInit)
if (!r.ok) throw new Error((await r.json()).error)

Methods: case/setState, case/addLabel, case/removeLabel, case/setField, case/reindex, task/create, task/complete, note/add, message/send (a template or a text by e-mail or data box – sent at once), and for portals auth/checkLogin (checks a login of your iSpis user), email/send and sms/send (e.g. one-time codes; limited). A complete portal with login: Build a portal on your data. Parameters and answers: x-ispis-service-api in custom-service.yaml. Changes made this way are done as the system user of your account, audited, and do not raise events back to you. Reading stays with sql.

customRoutes – your own frontend

Host your frontend wherever you like (Vercel, your server, a static site) and use your hosted server as its backend:

customRoutes:
  - route: offer               # https://ispis.cz/customRoute/<account>/offer
    methods: [GET, POST]       # default both
    auth: none                 # the only mode for now
    desc: Instalment offer calculator
frontend:
  origins: [https://portal.example.com, http://localhost:5173]   # CORS allowlist
  • The request goes to your GET|POST /customRoute/<route> with its query string and body; your answer (status, content type, body) goes back unchanged. You get X-Ispis-Origin, X-Ispis-Client-IP and the client's Authorization as X-Ispis-Client-Authorization.
  • Browsers may call it only from frontend.origins (CORS); server-to-server calls work without it. Limits: 60 requests a minute per IP, 600 per account, 2 MB both ways, 30 s.
  • There is no login: anyone can call a public route. Show only what is safe for anybody, or identify the end user yourself – for example send a one-time code through message/send (Calling iSpis back) and issue your own signed token with a Service… secret; check the token and the person's access to the case in your code. You are responsible for that login.
  • Requires service without url (hosted ispis/service.ts).

schedules

Scheduled jobs of your hosted server – the place for your automations and reports (reminders, a nightly export, reconciling events you must not miss):

schedules:
  - id: nightlyReport
    cron: "0 6 * * 1-5"        # minute hour day month weekday, Europe/Prague
    desc: Morning report of open disputes
  - id: sync
    cron: "*/15 * * * *"
  • We call POST /cron/<id> with { "id", "at", "lastRunAt" } (UTC times; lastRunAt is null the first time) – use lastRunAt to pick up what changed since the previous run.
  • One run at a time: while a run is still in progress, the next one is skipped. A run may take up to 10 minutes. At most every 5 minutes, at most 20 schedules.
  • Settings → Custom shows the next and the last run of every schedule (status, duration, error); every run writes a line to your log.
  • Requires service without url (hosted ispis/service.ts).

secrets

API keys, tokens and certificates your hosted server needs (a bank API, your own webhook, a third-party service). Never put them into the repository: list the key names here and let an administrator enter the values in Settings → Advanced → Secrets.

secrets:
  - id: ServiceBankToken       # must start with Service, CamelCase
    desc: API token of our bank (statement sync)
  - id: ServiceBankCertFile    # a key ending with File holds an uploaded file
  • Your server gets every listed key that has a value as the environment variable ISPIS_SECRET_<id> – Deno.env.get("ISPIS_SECRET_ServiceBankToken"). A …File key arrives base64-encoded (Uint8Array.from(atob(v), c => c.charCodeAt(0))); files up to 64 kB.
  • A listed key without a value is simply not set (check for undefined); Settings → Custom and Settings → Advanced show it as missing.
  • Only keys starting with Service reach your server. Other keys in Settings → Secrets are for our own integrations (your own SendGrid, SMS or bank keys) and are never passed to your code.
  • Values are stored encrypted and are never shown again, not even to an administrator; to change one, enter it again. Your server restarts after the change.
  • Requires service without url (hosted ispis/service.ts).

Reference

Generated from custom-ispis-schema.json:

KeyTypeFieldsDescription
serviceobjecturl, auth, pathCustom server. iSpis calls fixed endpoints under url (/action/<id>, /var, /link, /section/<id>, /event/<name>) with 'Authorization: Bearer <auth>'. Leave url out when iSpis hosts the server for you (ispis/service.ts in the repository, or path).
customActionslist of objectid, title, button, domain, type, url, limitFileType, limitFileName, limitHasMeta, handler, invocant, descButtons/actions in the CRM calling your back-end (Remote: GET <service.url>/customAction/<id>?peId=|refno=) or a built-in action (Core).
templateCustomVariableslist of objectid, url, descTemplate variables [% Id %] filled by GET <service.url>/var?name=<id>&refno=<refno> (returns JSON).
categorieslist of objectid, title, default, initialState, states, descCase categories and their states; replaces the built-in categories of the account. Order of states = order in the list. An item with only an id refers to a shared built-in category (Inkaso, Advokat, Marketing, Loan, Collection, Attorney).
taskVerbslist of objectid, title, descTask kinds instead of the built-in ones.
personKindslist of stringSelection of built-in person kinds offered on a case (client, representative, ...).
sectionslist of objectid, placement, right, rights, descBlocks on the case card rendered by your hosted server (GET /section/<id>?refno= returns an HTML fragment; empty = not shown). Requires service without url.
eventslist of taskDone | taskCreated | caseCreated | stateChanged | labelsChanged | fileUploaded | paymentMatched | isdsReceivedEvents your hosted server receives as POST /event/<name> (payloads in https://ispis.cz/schema/custom-service.yaml). Delivered in the background, at most once, without retry: reconcile from the database where it matters. Changes made by your own server do not raise events. Requires service without url.
additionalFulltextlist of stringExtra values indexed for case search (project.fulltext): Field.<key> from project.fields. After writing such a field set project.fulltext = NULL; iSpis re-indexes the case after your response.
roleslist of objectid, title, extends, allow, deny, descYour own user roles: extends one of our public roles (administrator, pozorovatel = read-only, praktikant, operator, agent), allow adds and deny removes actions (ctrl:method from the catalogue, or ctrl:*; deny wins). Assign in Settings -> Users or with the user_set_role MCP tool.
secretslist of objectid, descSecrets your hosted ispis/service.ts needs. Only keys starting with Service; the administrator enters values in Settings -> Advanced -> Secrets (a key ending with File holds an uploaded file). The server gets each set secret as env ISPIS_SECRET_<id> (files base64-encoded) and is restarted when a value changes. Requires service without url.
labelslist of objectid, descCase labels. When present, this list is authoritative: after every valid pull it replaces the labels in Settings -> Cases (editing them there is then disabled). id in CamelCase (no diacritics, spaces, underscores or slashes), desc is shown as a tooltip.
fieldslist of objectid, title, desc, type, options, pattern, requiredInDefinitions of your own case fields (project.fields, values are strings). For now only checked: the case card shows a warning when a required field is missing or a value does not match its type, pattern or options; nothing is blocked.
scheduleslist of objectid, cron, descScheduled jobs of your hosted server: iSpis calls POST /cron/<id> by the cron expression (5 fields, server time Europe/Prague, at most every 5 minutes, one run at a time, 10 minutes per run). Write your automations and reports there. State of the last run is shown in Settings -> Custom. Requires service without url.
frontendobjectoriginsYour own frontend (hosted by you). origins = CORS allowlist for /customRoute (browser calls from these origins are allowed).
customRouteslist of objectroute, methods, auth, descPublic routes of your hosted server for your own frontend: https://<iSpis domain>/customRoute/<account>/<route> is passed to GET|POST /customRoute/<route> of ispis/service.ts (2 MB, 30 s, rate limited per IP). auth: none – identify end users yourself. Requires service without url.

Custom server endpoints, generated from custom-service.yaml:

Contract version 1.6.0 (OpenAPI).

RequestWhatResponse
GET /healthLiveness probe200: The server is ready (any body; { "ok": true } recommended).
GET /action/{id}Custom action (ispis.yaml customActions, type Remote)200: Result of the action.
GET /varTemplate variable (ispis.yaml templateCustomVariables)200: Value of the variable.
GET /linkLink in the case header (hosted only)200: { url, title }, or {} / null for no link.
GET /section/{id}Section HTML (ispis.yaml sections, hosted only)200: HTML fragment (may be empty).
POST /section/{id}/{form}Form submitted from a section200: Done.
POST /event/{name}Event (ispis.yaml events, hosted only)200: Accepted (any body is ignored).; 204: Accepted.
GET /customRoute/{route}Public route for your own frontend (ispis.yaml customRoutes, hosted only)200: Any content.
POST /customRoute/{route}Public route (POST)200: Any content.
POST /cron/{id}Scheduled job (ispis.yaml schedules, hosted only)200: Done (any body is ignored).; 204: Done.

Rules

  • Custom data on a case or person is key → value (string). A structured value goes under a key with the suffix JSON, stored as a JSON string.
  • config.yaml in the same repository belongs to the Loan module; once ispis.yaml exists, CRM keys in config.yaml are ignored.
  • Outgoing webhooks (case created, screening finished, inbox message) and further events are available after activation.

Source: src/core/crm/crm.docs.md