Skip to main content

What is EasyOTP?

EasyOTP is a developer-friendly API for sending and verifying one-time passwords (OTPs). Whether you need to verify phone numbers, email addresses, or add an extra layer of security to your application, EasyOTP makes it simple.

Key Features

Multiple Channels

Send OTPs via SMS, Email, or Voice calls - choose what works best for your users.

Simple API

Just two endpoints: one to send and one to verify. Clean, intuitive, and well-documented.

Secure by Default

Built-in rate limiting, code expiration, and single-use verification codes.

Pay As You Go

No subscriptions or hidden fees. Only pay for what you use.

Quick Example

Here’s how easy it is to send a verification code:
curl -X POST https://app.easyotp.dev/api/v1/send \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "channel": "sms",
    "recipient": "+1234567890",
    "message": "Your verification code is: {code}"
  }'
Response:
{
  "success": true,
  "verification_id": "11f951d5-32d1-4b49-bdda-7da248e2615c",
  "expires_at": "2024-01-01T12:05:00.000Z",
  "request_id": "7b4d6022-7260-4568-b6b7-29c366c47bbc"
}

Get Started

Quickstart Guide

Get up and running in 5 minutes

JavaScript SDK

Use our official JavaScript SDK

Python SDK

Use our official Python SDK

API Reference

Complete API documentation

Create an Account

Sign up and get your API key

Get Support

Need help? We’re here for you

Use Cases

  • User Authentication: Add 2FA or passwordless login to your app
  • Phone Verification: Verify phone numbers during sign-up
  • Email Verification: Confirm email addresses with one-time codes
  • Password Recovery: Secure password reset flows
  • Transaction Confirmation: Add security for sensitive operations