Skip to content

Integration and API

How do API versions work in Toden?

The current API version is v2. Learn what the Toden-Version header does, which endpoints read it, and how webhook versions relate to it.

Toden team · 2 min read · English

On this page

Short answer

Toden's current API version is v2. On the Risk Intelligence and Trust endpoints under /api/v1, you can pin it with the request header Toden-Version: v2, and responses name the version in a Toden-Version: v2 response header. The /api/v1 in the URL is the base path, not the version, and it does not change. Identity verification endpoints do not read the version header.

One base path

Every endpoint is documented under /api/v1: https://sandbox-api.toden.co/api/v1 for Sandbox and https://api.toden.co/api/v1 for Production. The older /api/kyc and /api/identity paths keep working, with the same keys, bodies and limits.

The version header

  • Leave the header out to use the current version.
  • 2026-08-11 is v2's identifier and keeps working as an alias.
  • Myaza-Version, the header's earlier name, still works. If you send both, they must name the same version, or the request is refused with 400 conflicting_api_version.
  • An unknown value is refused with 400 unsupported_api_version.
  • GET /api/v1/versions lists the versions Toden accepts.

The header applies to wallet and transaction screenings, risk assessments, monitoring, transactions, crypto, activities, cases, signals, alerts and webhooks. The identity verification endpoints, such as /verify, /verifications, /sessions and /checks, do not read it or return it.

Webhook versions

  • A webhook endpoint is on version v2 (recommended) or v1 (the legacy body).
  • New endpoints created in the console start on v2 unless you choose otherwise. Existing endpoints keep their version.
  • Signed webhook envelopes still carry "version": "2026-08-11". If your verifier checks that field, accept "v2" as well.
  • The webhook catalogue offers presets, named sets of events you can subscribe to in one step: Minimal, Risk changes, Operations and Full stream.

What counts as a breaking change

New optional response fields, new endpoints and new webhook event types are not breaking. Removing or renaming a field, making an optional field required or changing what a field means needs a new version. Write clients that ignore fields they do not recognise, and give every match on an enum a default branch.

Checklist

  • If you already send Toden-Version, make sure its value is v2 or 2026-08-11.
  • If you validate responses strictly, for example with a validator generated from the OpenAPI file, let it accept extra fields.
  • In new code, send Toden-Version: v2.

Was this article helpful?

Still need a hand?

Let’s work through it.

Send the reference, environment and the step you need help with. Keep API secrets and identity documents out of your message.