For developers

A REST API in OpenAPI 3.2, webhooks per Standard Webhooks. Create a verification, send the link, read the result.

API

The address is https://verify.tic.io. Every call carries your company's API key: Authorization: Bearer ….

The calls
POST /v1/sessions
GET  /v1/sessions/{id}
POST /v1/sessions/{id}/cancel
GET  /v1/sessions/{id}/evidence/{name}

Create a verification

POST /v1/sessions
{
  "reference": "kund-4711",
  "verifications": ["bankid", "document", "chip"],
  "channels": ["app"],
  "ttlMinutes": 1440,
  "returnUrl": "https://testbanken.example/klart"
}
  • verifications: bankid, document and chip, in the order the person goes through them. chip needs document. Without a value: document and chip.
  • channels: app (the mobile app, the default) and web (the browser at verify.tic.io). web does not go with chip and is refused with 422.
  • expectedPerson: surnames, givenNames and birthDate of the person you expect. The chip must agree, or the verification fails.
  • ttlMinutes: how long the link and the code are valid, 5 to 10,080 minutes. Default 1,440, one day.
  • reference: your own reference, up to 200 characters, returned as given.
  • returnUrl: an https address the app sends the person to when done.

The response, 201, gives url (the link, which opens the app or the browser), code (eight characters, without 0/O and 1/I/L) and expiresAt. The link and the code are shown this once only.

201 Created
{
  "id": "6f1c2d4e-8a3b-4c5d-9e7f-0a1b2c3d4e5f",
  "reference": "kund-4711",
  "verifications": ["bankid", "document", "chip"],
  "channels": ["app"],
  "url": "https://verify.tic.io/…",
  "code": "K7MX4PQR",
  "expiresAt": "2026-12-04T09:30:00Z"
}

The result

GET /v1/sessions/{id} gives the verification. Once state is decided, outcome is passed, review or failed.

GET /v1/sessions/{id}
{
  "id": "6f1c2d4e-8a3b-4c5d-9e7f-0a1b2c3d4e5f",
  "reference": "kund-4711",
  "state": "decided",
  "outcome": "passed",
  "decidedAt": "2026-12-03T09:31:12Z",
  "checks": [{ "key": "…", "weight": "hard", "passed": true, "detail": "…" }, …],
  "document": { "method": "chip", … },
  "person": { … },
  "bankid": { … },
  "face": { … },
  "evidence": [{ "name": "document_page", "sha256": "…", "bytes": … }, …]
}
  • checks: every check with passed and weight. hard fails the verification unless the check passes, soft sends it to review and info is only reported.
  • document: the document as its chip holds it or as its machine-readable zone reads, with method chip or camera: the document code, the issuing state, the number and the expiry.
  • person: the person's data in the document: names, nationality, date of birth, sex and optional data.
  • bankid: BankID's person (personal identity number and names), when, and BankID's risk assessment.
  • face: the face match’s similarity, the liveness check and the head turns asked for.
  • evidence: the evidence files, each with name, sha256 and bytes.

The evidence

GET /v1/sessions/{id}/evidence/{name} gives one file at a time:

  • document_page: the document's photo page, JPEG.
  • frame_NNN: the images of the face, JPEG.
  • chip_*: the chip's files, as read.
  • bankid_signature.xml and bankid_ocsp.der: BankID's signature and its OCSP response.

The evidence is kept as long as your retention says. After it, the API answers 410.

Cancelling

POST /v1/sessions/{id}/cancel cancels a verification not yet decided. Its link and code then stop working.

Webhooks

When a verification is decided, expires or is cancelled, we send session.decided, session.expired or session.cancelled. The webhook carries no personal data: read the verification with the API key.

The webhook
{
  "type": "session.decided",
  "timestamp": "2026-12-03T09:31:12Z",
  "data": { "sessionId": "6f1c2d4e-8a3b-4c5d-9e7f-0a1b2c3d4e5f" }
}

It is signed per Standard Webhooks: the headers webhook-id, webhook-timestamp and webhook-signature, the signature being v1, and the base64 HMAC-SHA256 of {id}.{timestamp}.{body} under the secret after whsec_. We retry with backoff for 24 hours, until you answer with 2xx.

Errors

An error answers with its status code and { "error": { "code": …, "message": … } }.

This site for agents

Every page is available as Markdown at its address followed by index.html.md, and llms.txt lists them. llms-full.txt is the whole English site in one file.

Connect

Want to connect your systems? Get in touch for an API key and the specification.