authepy.
Core API Primitives

Simple JSON payloads.
Hardened architecture.

Stop managing complex verification states, local expiration limits, or noisy SMTP pools. One request generates a secure cryptographic token and dispatches it immediately to your user's primary inbox.

// Low Latency Endpoints

Designed for programmatic speed.

POST /api/otp/request

Generates a cryptographically strong 6-digit token, hashes it into volatile memory, and fires the payload through priority transit links.

POST /api/otp/verify

Performs an instant Node.js native cryptographic comparison against the cached edge state. True/False boolean resolution drops back instantly.

1. Dispatch Payload application/json
{
  "email": "user@startup.com"
}
Response 200 OK
{
  "success": true,
  "requestId": "req_8f72c9a1b4"
}
2. Verification Payload application/json
{
  "requestId": "req_8f72c9a1b4",
  "userGuess": "619284"
}