π¦ ClawHub
OTPly
by @krishnakumarmahadevan-cmd
Email OTP Service - Simple, Fast, Reliable
π‘ Examples
Example: Send and Verify OTP
Request to send OTP:
POST /api/v1/send-otp
Headers:
X-API-Key: your_api_key_here
X-API-Secret: your_api_secret_here
Content-Type: application/json{
"email": "user@example.com",
"purpose": "login_verification",
"template": "default",
"expiry_minutes": 15
}
Response:
{
"success": true,
"message": "OTP sent successfully to user@example.com",
"expires_in": 900,
"reference_id": "ref_1a2b3c4d5e6f7g8h"
}
Request to verify OTP:
POST /api/v1/verify-otp
Headers:
X-API-Key: your_api_key_here
X-API-Secret: your_api_secret_here
Content-Type: application/json{
"email": "user@example.com",
"otp": "654321",
"purpose": "login_verification"
}
Response:
{
"success": true,
"message": "OTP verified successfully",
"verified_at": "2024-01-15T10:30:45.123456Z"
}
TERMINAL
clawhub install toolweb-otply