# WIDTH Identity — Developer Documentation > Developer integration documentation for WIDTH Identity, an identity verification (KYC/KYB) and AML transaction screening platform: server-side OpenAPI, Web/iOS/Android/Flutter SDKs, and outbound webhooks. Bilingual (English + Simplified Chinese). > Version 1.0 · Last Updated 2026-10-13 ## Overview - [Overview](https://www.width.com/developer/#overview): What WIDTH Identity provides and how to integrate — KYC/KYB onboarding, transaction and Web3 on-chain screening, ongoing monitoring. - [Integration Paths](https://www.width.com/developer/#integration-paths): How to choose between client-side SDKs (identity capture) and server-side OpenAPI (workflow submission and polling). - [Environments](https://www.width.com/developer/#environments): Two environments — Staging (gateway `https://api-gateway-platform.width.com/gateway`, console `https://platform.width.com`) and Production (gateway `https://api-gateway.width.com/gateway`, console `https://app.width.com`); document storage is the gateway's `/storage` path. - [Getting Started](https://www.width.com/developer/#getting-started): Zero-to-first-call path — prerequisites in the One Platform Console (domain/business unit, credentials, configure & publish a workflow), the five-step first verification, the workflow decision model, and usage/quota. ## SDKs (client-side identity capture) - [Web SDK](https://www.width.com/developer/#web-overview): `@width-com/web-sdk` — session token, installation (the npm tag also picks the environment — as of this update the default `latest` targets production and `@beta` targets platform/testing, which reflects the builds the two tags point at today rather than a fixed rule, so confirm which address your installed build opens before you ship; a mismatch with the `apiKey`'s environment renders `Invalid apiKey` on the verification page), quick start, configuration (`withConf`, including the optional `eventType` of `KYC_EVENT` / `KYB_EVENT` and `language` of `en` / `zh` — present in both `1.0.1` and `1.0.0-beta.3`, absent from stable releases up to `1.0.0`), result handling (`reviewResult.reviewAnswer` has two values only: `GREEN` = approved, `RED` = every other outcome, so treat `RED` as "not approved" rather than "rejected" unless the case status confirms a rejection), methods (`launch()` returns the session's full verification-page URL, `''` on failure), events, error codes, browser support (Chrome / Edge 92+, Firefox 95+, Safari 15.4+, Chrome for Android 92+), troubleshooting (required-field errors including `domainId`; the self-service domain allowlist under API & Integration in the Console; CSP `frame-src` and Permissions-Policy for `https://identity.width.com` on the default build or `https://identity-platform.width.com` on `@beta`). - [iOS SDK](https://www.width.com/developer/#ios-overview): Native iOS integration — iOS 16.0+ deployment target, Xcode 16+; installed from Swift Package Manager (`WidthIdentity-iOS`, `from: "1.0.11"`) or CocoaPods against Width's private Specs repo (`pod 'WidthIdentity', '~> 1.0.11'`). Both the Swift package repository and the Specs repo are private — your GitHub account has to be granted access first, otherwise they report as not found. Credentials are passed at runtime as `CredentialsConfig(domain:sdkToken:)` — there is no Info.plist token key any more, and the SDK token alone carries the rest of the credential. Covers configuration, results (five `VerificationResult` cases), theme, lifecycle, the optional `UILanguage` (`.en` default / `.zh`), and permissions: `NSCameraUsageDescription`, `NSMicrophoneUsageDescription` and `NSSpeechRecognitionUsageDescription` are all mandatory — the microphone key because the document-scan step records background audio as an anti-fraud measure (a missing key hard-crashes), and the speech-recognition key because App Store ingestion rejects the upload without it (error `ITMS-90683`) even though the permission is never requested at runtime. - [Android SDK](https://www.width.com/developer/#android-overview): Native Android integration — API 26 (`minSdk 26`)+, `compileSdk 36` (the published AARs declare `minCompileSdk=36`, so a lower value fails the build), Kotlin 1.9+, AGP 8.0+; a single dependency `com.width.identity:sdk-activity:1.0.11` (the old `sdk-bom` platform and `sdk-ui-width-modern` coordinate are gone), resolved from Width's Maven repo plus the Veriff and Regula provider repositories. Two app-side build settings are required or the build fails: `isCoreLibraryDesugaringEnabled = true` with `coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:2.1.5")`, and `android.uniquePackageNames=false` in `gradle.properties` on AGP 9 (two liveness-engine artifacts share the namespace `org.tensorflow.lite.support`). Credentials are `CredentialsConfig(domain, sdkToken)` passed at runtime — no manifest `` token entry; `customerId` and `email` are both required and non-blank. Optional `eventType` (`"KYC_EVENT"` / `"KYB_EVENT"`) and `UILanguage` (`EN` default / `ZH`). Permissions: CAMERA and RECORD_AUDIO at runtime, requested by the SDK inside its own Activity and merged transitively by the capture / liveness engines. - [Flutter SDK](https://www.width.com/developer/#flutter-overview): Cross-platform wrapper over the native iOS/Android SDKs — plugin `1.0.2` (pubspec git dependency, `ref: 1.0.2`), which pins iOS SDK `1.0.11` and Android SDK `1.0.11`; do not override the native dependencies manually. The pinned native builds are production builds, so the `domain` and SDK token must be production credentials (a token from another environment fails security init as `W-RISK-102`). Covers installation (private Specs repo in the Podfile, iOS 16.0, `minSdk 26`, `compileSdk 36`, `isCoreLibraryDesugaringEnabled = true`, `android.uniquePackageNames=false` on AGP 9; the plugin repository and that Specs repo are private, so your GitHub account must be granted access before `flutter pub get` and `pod install` resolve them), permissions (iOS `NSCameraUsageDescription` / `NSMicrophoneUsageDescription` / `NSSpeechRecognitionUsageDescription` required, Android merged automatically), quick start, result handling, and the API reference including the optional `WIDTHLanguage` (`en` default / `zh`). ## OpenAPI (server-side workflows) - [Getting Started](https://www.width.com/developer/#api-getting-started): Gateway endpoint, request shape, and the `workflow.apply.submit` entry point. - [Authentication](https://www.width.com/developer/#api-authentication): HMAC-SHA256 request-body signing; the signature is passed as the `sign` query parameter (with `apiKey`, `apiVersion`), plus an `x-domain` header. - [Workflow Lifecycle API](https://www.width.com/developer/#api-workflow): The three server-side integration endpoints shared across all event types — `workflow.apply.submit` (start an execution; billed; `apiVersion 2.0.0` adds an optional `workflowId`), `workflow.execution.status` (poll execution status plus the Case decision fields `caseNo` / `caseStatus` / `riskScore` / `resolvedAt`; free), and `workflow.apply.query` (dedup / crash-recovery lookup by `customerId`; free). Poll until `caseStatus` reaches APPROVED / REJECTED / CLOSED (or `status` FAILED / CANCELED). - [KYC Onboarding](https://www.width.com/developer/#api-kyc): Individual customer onboarding workflow and node reference (`KYC_EVENT`; the Console displays it as KYC). - [KYB Onboarding](https://www.width.com/developer/#api-kyb): Corporate customer onboarding plus the CRP related-party collector (`KYB_EVENT`; the Console displays it as KYB). - [Verification Link](https://www.width.com/developer/#api-link): `sdk.launch.link.generate` — mints a one-off hosted web link that opens the KYC or KYB flow for an end user, for integrators with no site or app of their own. Required body fields `email` / `customerId` / `eventType` (`KYC_EVENT` / `KYB_EVENT`); returns `url` (with a `linkToken`) and `expiresAt` under `data.data`, valid 7 days. Only one link is live per email address: reissuing for the same `email` invalidates the previous link the moment the new one is issued, irreversibly. - [Transaction Screening](https://www.width.com/developer/#api-txn): Fiat transaction AML screening (`TRANSACTION_EVENT`), sync or async. - [Web3 Transaction Screening](https://www.width.com/developer/#api-txn-web3): On-chain wallet/transaction KYT screening (`WEB3_TRANSACTION_EVENT`), keyed on `walletAddress` and/or `txHash` (wallet-address-only calls support pre-transaction screening before anything is broadcast on-chain); no workflow ID needed — events auto-route to the tenant's single published Web3 workflow; synchronous decision (approve / reject). - [Name Screening](https://www.width.com/developer/#api-name-screening): Watchlist screening of a named subject via `workflow.apply.submit` (`eventType` `MANUAL_CASE_EVENT`, `source` `API`, `apiVersion 2.0.0`) — the subject is filed as a customer profile, hits become alerts and a case is opened for an analyst, whose decision is remembered per `customerId` across cases. Specify `workflowId` for this flow (omitting it routes to the most recently published workflow). Subject fields sit at the top of `data`: `customerId` / `name` / `customerType` (`individual` / `corporate`) required; `aliasName` (comma-separated, so an alias must not itself contain a comma) plus `sex` / `dateOfBirth` / `countryOfNationality` (person) and `countryOfIncorporation` / `incorporationNumber` (company) act as corroborating evidence. Asynchronous: returns `executionId` and `status` RUNNING. Screening consumes quota from the third-party name screening provider, so de-duplicate before submitting; how the quota is actually drawn down is whatever the Admin Console → Billing usage page reports, so read it there and trial a small batch before integrating at volume. Use Quick Scan instead when no customer record or case is wanted. - [Quick Scan](https://www.width.com/developer/#api-quickscan): One-off name screening with no customer or workflow — submit a name (`quickscan.submit`, async, returns an id), poll the result (`quickscan.detail`), and page through hits (`quickscan.hits`); engines WORLD_CHECK / DOW_JONES / ARTEMISCAN / INTERNET_SEARCH (1 credit each) plus WATCHLIST (free). - [Continuous Monitoring](https://www.width.com/developer/#api-monitoring): Ongoing re-screening of existing customers (`PERIODIC_FLOW_EVENT`). - [File Upload](https://www.width.com/developer/#api-upload): Document upload endpoint. - [Error Handling](https://www.width.com/developer/#api-errors): API error codes and handling. ## Webhooks - [Webhook Integration](https://www.width.com/developer/#webhook-overview): Outbound callbacks — concept, UI configuration, request format, HMAC signature verification, retry semantics, the Decision hook, and Node/Python reference implementations. ## Reference - [Glossary](https://www.width.com/developer/#glossary): Key terms (KYC, KYB, KYT, and more). - [Event Types](https://www.width.com/developer/#appendix-events): `eventType` reference — `KYC_EVENT`, `KYB_EVENT`, `TRANSACTION_EVENT`, `WEB3_TRANSACTION_EVENT`, `PERIODIC_FLOW_EVENT`, `MANUAL_CASE_EVENT`. `KYC` and `KYB` are Console display names, not API values; `MANUAL_CASE_EVENT` (name screening — submits a subject, raises alerts and creates a case for manual review) is shown as Manual. - [Execution Statuses](https://www.width.com/developer/#appendix-statuses): Workflow execution status values. - [Document Types](https://www.width.com/developer/#appendix-doctypes): Accepted ID / document type codes. - [Changelog](https://www.width.com/developer/#changelog): Version history. ## For AI / Machine-readable - [llms-full.txt](https://www.width.com/developer/llms-full.txt): Detailed section-by-section index with longer descriptions and page-level facts. ## Key Facts - Product: WIDTH Identity — identity verification (KYC/KYB) and AML transaction screening platform. - Integration surfaces: server-side OpenAPI (HMAC-signed gateway), Web SDK (`@width-com/web-sdk`), native iOS and Android SDKs, Flutter SDK, and outbound webhooks. - Mobile SDK versions (this update): iOS `1.0.11`, Android `com.width.identity:sdk-activity:1.0.11`, Flutter plugin `1.0.2` (pins both natives). Mobile credentials are `domain` + `sdkToken` only — the SDK token encodes the rest; Android additionally needs `minSdk 26`, `compileSdk 36`, core library desugaring and `android.uniquePackageNames=false` on AGP 9. The iOS Swift package, the CocoaPods Specs repo and the Flutter plugin repository are private — GitHub access has to be granted before they resolve. - Screening types: KYC, KYB, fiat transaction screening, Web3 on-chain KYT, watchlist name screening (case-creating, `MANUAL_CASE_EVENT`), one-off Quick Scan name screening, continuous monitoring. Verification can be launched from an SDK, a server-side workflow submit, or a hosted verification link. - Gateways: `https://api-gateway.width.com/gateway` (Production) / `https://api-gateway-platform.width.com/gateway` (Staging); all requests are HMAC-SHA256-signed POSTs. - Single-page document: all sections are anchors on the documentation page above. ## Contact - Documentation: https://www.width.com/developer - Company website: https://www.width.com