Skip to navigation

API overview

One base path, two contracts, one set of keys.

The reference is generated from the same contracts the server is checked against, so every endpoint, field and status code here exists in the released API. Each endpoint page has an explorer: pick an environment, paste a test key, and send a real request.

Base URLs

Every endpoint is under /api/v1. The host is set by your key’s environment:

EnvironmentBase URLKeys
Sandboxhttps://sandbox-api.toden.co/api/v1pk_test_, sk_test_
Productionhttps://api.toden.co/api/v1pk_live_, sk_live_

Each environment holds only its own keys, so a key sent to the other environment’s host is not recognised and returns 401 Invalid API key.

What is under /api/v1

The endpoints come from two contracts. They share the base path and the keys, but each has its own error body and retry rules, and every endpoint page says which one it belongs to.

ContractUse it forKeys
Identity verificationVerification sessions, verifications, one-off checks, face match, contact verification, your customer record (/entities), customer events (/events, /entity-signals) and address triagePublishable in clients for starting a verification, uploads and configuration; secret on your backend for everything else
Risk IntelligenceRisk decisions, screening, monitoring, wallet screening, Travel Rule, cases, signals, alerts and webhooksSecret

Already integrated on /api/kyc or /api/identity? Nothing changes for you. Both prefixes answer exactly as before and stay supported: /api/kyc/verify and /api/v1/verify are the same endpoint, and so are /api/identity/entities and /api/v1/entities. The one renamed path is /api/identity/signals, which is /api/v1/entity-signals because /api/v1/signals belongs to Risk Intelligence. Media links in results and webhooks now use /api/v1; links issued earlier keep working.

Authentication

Send your key as a Bearer token on every request:

curl "https://sandbox-api.toden.co/api/v1/config" \
-H "Authorization: Bearer $TODEN_PUBLISHABLE_KEY"
KeyPrefixMay call
Publishablepk_test_, pk_live_Starting a verification, uploads, configuration and minimal status. Safe in client code.
Secretsk_test_, sk_live_Everything, including results, media, the customer record and all Risk Intelligence endpoints. Backend only.

Every endpoint page states which key it needs. Authentication covers creating, restricting and revoking keys.

Use test keys in the explorer. A request sent from the explorer is a real request against the environment you select.

Download the contracts

Both contracts are OpenAPI 3.1 documents, and both describe their paths under /api/v1.

ContractCoversWhere
Risk IntelligenceRisk decisions, screening, monitoring, Travel Rule, cases, webhookshttps://api.toden.co/api/openapi.json
Identity verificationVerification, sessions, checks, the customer record and customer eventshttps://api.toden.co/api/openapi/verification.json

Conventions

  • Bodies are JSON, except media uploads, which are multipart/form-data.
  • Timestamps are ISO 8601 in UTC, for example 2026-04-27T12:00:00.000Z.
  • IDs are opaque strings. Store them; do not parse them.
  • New optional fields, endpoints and webhook event types can be added at any time. Ignore fields and events you do not recognise.

Retries, idempotency, pagination and versioning are covered in Requests, retries and idempotency.