Docs
Everything you need to integrate
Start with the guides, keep the API reference open, and generate a client from the OpenAPI spec.
Guides
Quickstart, key types, idempotency, error codes, and delivery status — step by step.
docs.k-otp.devAPI reference
Every endpoint, request field, and response, with the scopes each key needs.
api.k-otp.dev/docsOpenAPI 3.1 spec
Machine-readable contract for code generation, mocking, and contract tests.
Download openapi/v1.json
Quickstart in three steps
- 1
Sign up in the console and create an sk_ secret key (or a pk_ public key with an allowed Origin).
- 2
Call POST /v1/issue with the phone number, a purpose, and an idempotency key. Keep the issueId.
- 3
Call POST /v1/verify with the issueId and the code your user typed. verified: true means done.
SDKs
Official browser and server SDKs are on the way. Until then, any HTTP client works — the REST API is the contract.