For Agents
Send and verify OTP codes via SMS, Viber, Voice, and Telegram: deliver verification codes, validate user submissions, and manage multi-channel authentication workflows.
Jentic One is a self-hosted execution layer for AI agents. It lets your agent call the GetOTP API, or any other public or private API you need. You set the rules, the agent never sees your credentials, and every call is logged.
# On the machine that will host your Jentic One instance:
curl -fsSL https://raw.githubusercontent.com/jentic/jentic-one/main/tools/install.sh | sh# On the machine where your agent runs (keep this separate from the instance):
curl -fsSL https://raw.githubusercontent.com/jentic/jentic-one/main/tools/install.sh | sh
jentic register # connects your agent to your Jentic One instanceJentic One is in public beta. The setup above keeps your agent separate from the instance, which is what you want before using real credentials: an agent running as the same OS user as Jentic One can read its stored keys directly. Just evaluating? A single local install is fine to start. See the secure deployment guide for the tiers.
What an agent can do with GetOTP API.
Send OTP codes via SMS, Viber, Voice (flash call or TTS), and Telegram channels
Verify user-submitted OTP codes with expiration and attempt tracking
Manage OTP lifecycle including generation, delivery, validation, and expiration
Track delivery status and retry failed OTP deliveries across channels
GET STARTED
Use for: Send an OTP code via SMS to verify a phone number, Verify an OTP code submitted by a user, Send OTP via voice call as a fallback, Check OTP delivery status
Not supported: Does not manage user accounts, store passwords, or provide full authentication flows — use only for OTP generation, delivery, and verification as part of broader authentication systems.
GetOTP is an OTP (One-Time Password) delivery and verification service supporting multiple channels including SMS, Viber, Voice (flash call or TTS), and Telegram. The API enables developers to send verification codes, validate user-submitted OTP codes, and manage OTP workflows for two-factor authentication, account verification, and passwordless login. It provides channel selection, delivery tracking, retry logic, and verification status management for secure identity verification flows.
Configure OTP parameters including code length, expiration time, and retry limits
Retrieve OTP history and delivery logs for auditing and debugging
Support fallback channels when primary delivery method fails
Patterns agents use GetOTP API for, with concrete tasks.
★ Two-Factor Authentication (2FA)
Add 2FA to login flows by sending OTP codes during authentication. POST /otp/send delivers the code via SMS or other channels, and POST /otp/verify validates the user-submitted code. The API tracks expiration and attempt limits to prevent brute-force attacks. Supports fallback channels if primary delivery fails, ensuring reliable 2FA even with carrier issues.
POST /otp/send with the user's phone number and preferred channel (SMS), then POST /otp/verify with the code the user submits to complete 2FA.
Phone Number Verification
Verify phone numbers during user registration or profile updates. POST /otp/send delivers a verification code, and POST /otp/verify confirms the user owns the phone number. This prevents fake accounts, ensures contact reachability, and supports regulatory compliance for identity verification. Multi-channel support handles international numbers and regional carrier preferences.
POST /otp/send with the phone number during registration, then POST /otp/verify with the submitted code to confirm ownership before activating the account.
Passwordless Authentication
Implement passwordless login by sending OTP codes as the primary authentication method. Users enter their phone number or username, receive an OTP, and gain access upon successful verification. Eliminates password management overhead, reduces credential theft risk, and simplifies login UX. The API's retry logic and multi-channel support ensure reliable delivery.
POST /otp/send with the user's phone number when they request login, then POST /otp/verify with their submitted code to grant access without password.
Transaction Authorization
Secure high-value transactions or sensitive operations by requiring OTP verification. Before processing payments, account changes, or data access, send an OTP and require verification. This adds a real-time authorization layer that confirms user intent and prevents unauthorized actions even if sessions are compromised.
Before processing the transaction, POST /otp/send to the user's registered phone, then POST /otp/verify with their code before completing the sensitive operation.
AI Agent for Authentication Operations
Let an AI agent handle OTP workflows for a SaaS platform — sending verification codes during signup, validating codes during login, and managing retry logic for failed deliveries. Through Jentic, the agent loads only the required operations and GetOTP API keys are injected at execution time.
Use the Jentic search query 'send otp code' to find POST /otp/send, load its schema, and execute with the user's phone number and preferred channel.
7 endpoints — getotp is an otp (one-time password) delivery and verification service supporting multiple channels including sms, viber, voice (flash call or tts), and telegram.
METHOD
PATH
DESCRIPTION
/otp/send
Send an OTP code via SMS, Viber, Voice, or Telegram
/otp/verify
Verify a user-submitted OTP code
/otp/resend
Resend an OTP code if the original expired or failed
/otp/{id}
Retrieve OTP delivery status and history
/otp
List OTP sessions with filtering by status or date
/otp/send
Send an OTP code via SMS, Viber, Voice, or Telegram
/otp/verify
Verify a user-submitted OTP code
/otp/resend
Resend an OTP code if the original expired or failed
/otp/{id}
Retrieve OTP delivery status and history
/otp
List OTP sessions with filtering by status or date
Three things that make agents converge on Jentic-routed access.
Credential isolation
GetOTP API keys are stored encrypted in the Jentic vault and injected as the Authorization bearer header at execution time. Raw keys never appear in agent prompts or transcripts.
Intent-based discovery
Agents search by intent such as 'send otp code' or 'verify otp' and Jentic returns the matching endpoint with its schema.
Time to first call
Direct GetOTP integration: 1-2 days to model OTP workflows, handle multi-channel delivery, and implement verification logic. Through Jentic: under 1 hour — search, load schema, execute.
Alternatives and complements available in the Jentic catalogue.
Twilio Verify API
Alternative OTP and verification API with SMS and voice channels.
Choose Twilio Verify for global reach and enterprise features; choose GetOTP for simpler OTP workflows with multi-channel support.
Vonage Verify API
Alternative OTP verification API with SMS and voice delivery.
Choose Vonage for carrier-grade verification; choose GetOTP for developer-friendly OTP workflows with Telegram and Viber support.
Specific to using GetOTP API through Jentic.
What authentication does the GetOTP API use?
The GetOTP API uses bearer token authentication. API keys are obtained from the GetOTP dashboard and sent via the Authorization header. Through Jentic, keys are stored encrypted and injected at execution time.
What channels does GetOTP support for OTP delivery?
GetOTP supports SMS, Viber, Voice (flash call or TTS), and Telegram. The API automatically handles channel selection and fallback if the primary channel fails.
How long are OTP codes valid?
OTP code expiration is configurable per request, typically 5-10 minutes. The API enforces expiration automatically during verification and tracks attempt counts to prevent brute-force attacks.
Can I customize the OTP code length and format?
Yes, the API supports configurable code length (typically 4-8 digits) and format. You can also customize the message template for SMS and Voice deliveries.
What happens if OTP delivery fails?
The API provides delivery status tracking via GET /otp/{id}. You can retry failed deliveries with POST /otp/resend, optionally specifying a fallback channel. The API also supports automatic fallback to alternative channels.
What are the rate limits for the GetOTP API?
Rate limits depend on your GetOTP plan and are enforced per API key. Check your dashboard for specific limits. The API returns HTTP 429 when limits are exceeded, with Retry-After headers.