Hypersender

Messaging APIs

WhatsApp APISend and receive from your own numberSMS gateway appApproved on Google Play, Android 9 to 16OTP APICodes and WhatsApp sign-in links

Build with it

SDKsLaravel, Node.js, Python, Go and RustMCP serverWhatsApp and SMS from your AI assistantIntegrationsn8n, AI assistants and SDKsWhatsApp API pricingPlans, and per-message costs comparedDocsAPI reference and setup guides
SDKsLaravelNode.jsPythonGoRustn8n

WhatsApp

CRM integrationPayment remindersOrder updatesWhatsApp OTPLaravel Rust OTPOTP linkWhatsApp alertsIncoming message webhooksWhatsApp AI chatbotCustomer serviceWhatsApp automationMessaging from LaravelClaude to WhatsAppChatGPT integrationZapier and MakeWhatsApp surveys

SMS

Appointment remindersSMS OTPFilter and tag SMSSMS forwardingSMS gateway appAndroid SMS gateway
All use cases
WhatsApp link generatorA short chat link with a ready message, a QR code with your logo and a button for your website.WhatsApp message templatesReady messages for orders, appointments and payments, with a builder that checks them against Meta's rules.WhatsApp text formatterBold, italic, strikethrough, lists and quotes, with keyboard shortcuts and a live iPhone preview.SMS character counterCharacters, SMS parts and GSM-7 or Unicode, plus the characters that make a message longer.Phone validatorCheck if a number is valid, see its country and line type, and copy it in E.164 or WhatsApp format. Works on lists too.Phone number formatterTurn a messy list into one format: E.164, international, national or WhatsApp chat IDs, ready to copy or download.Phone number extractorPaste any text, an email or a spreadsheet and get every phone number in it, cleaned up and without repeats.CSV to VCF converterTurn a CSV file or cells copied from Excel into a VCF file you can import to your phone's contacts.vCard QR code generatorA QR code that saves your name, number, email and website to the phone that scans it.Name decorationStylish versions of a name in English or Arabic for PUBG, Free Fire, Instagram and TikTok.
All free tools

Company

BlogGuides, tutorials and comparisonsAlternativesHypersender vs WATI, Twilio and moreAbout HypersenderWho we are and how we workFAQsShort answers to common questions

Community

Latest postDecember 2, 2026Laravel Rust WhatsApp: Send and Receive MessagesLaravel Rust WhatsApp guide: send messages from your own number with the hypersender-laravel-rust crate and reply to incoming ones from a listener.Read the post
PricingDocs
Sign InGet Started
Hypersender
Add to Google favorites

Product

  • Features
  • Use cases
  • MCP server
  • Pricing
  • WhatsApp API pricing
  • SDKs
  • Integrations
  • Docs

Free tools

  • WhatsApp link generator
  • WhatsApp message templates
  • WhatsApp text formatter
  • SMS character counter
  • Phone validator
  • Name decoration
  • All tools

Resources

  • About Hypersender
  • FAQ
  • Blog
  • Alternatives
  • Status
  • Discord
  • WhatsApp

Legal

  • Terms and Conditions
  • Privacy Policy
Featured onFeatured on LaunchAFFeatured on LaunchAFFeatured on Twelve ToolsFeatured on Twelve ToolsLaunched on FazierLaunched on FazierLaunched on StartupBaseLaunched on StartupBaseHypersender on Nick LaunchesHypersender on Nick LaunchesLaunch Llama ToolsLaunch Llama ToolsFeatured on FoundrListFeatured on FoundrList

© 2026 Hypersender. All rights reserved.

GET IT ONGoogle Play
HypersenderHypersenderHypersenderHypersenderHypersender
All use cases

Hypersender uses

Laravel Rust OTP: login codes by WhatsApp or SMS

Laravel Rust OTP with Hypersender takes one crate and two calls. Your app asks Hypersender to send a code to the user's WhatsApp, Hypersender creates and stores it, and a second call checks the code the user typed. You don't need a codes table, a scheduled cleanup job or your own expiry logic.

Install the packageStart the 5-day trial
Laravel Rust OTP: login codes by WhatsApp or SMSLaravel Rust OTP: login codes by WhatsApp or SMS

How this workflow fits

Install the crate and inject Otp

Run cargo add hypersender-laravel-rust, register HypersenderServiceProvider in src/app.rs, and set HYPERSENDER_OTP_API_KEY and HYPERSENDER_OTP_INSTANCE_ID in .env. Any handler can then take Inject<Otp> as an argument, the same way it takes any other Laravel Rust service.

  • Needs Rust 1.99 or newer and Laravel Rust 0.1.
  • The crate turns off laravel-rust's default features, so it adds nothing to your build you didn't ask for.
  • Your API token stays on the server; the browser only sees your own routes.

Send the code, then check it

request_code takes the user's chat ID, the code length, your app's name for the message and the lifetime in seconds. When the user submits the form, validate_code checks it, and the response's data.status is validated when the code is right.

  • Codes are 4 to 10 characters, and request_code_with lets you add letters or capitals.
  • A code lasts from 1 to 30 minutes and works once.
  • After 5 wrong tries the code stops accepting guesses.

One-tap login links and SMS

generate_link returns a WhatsApp link with the code already in the message. The user taps it, sends it, and Hypersender calls your success URL, so there's nothing to type. For users without WhatsApp, point the OTP settings at an SMS instance and the same calls send the code from your Android phone's SIM.

  • You write the prompt, success, failure and expiry messages.
  • In tests, client::fake() catches every OTP call, so no real codes go out.
  • OTP is part of the WhatsApp plan, from $9.99 per number a month, with no fee per code.

Example: send and check a code from Laravel Rust

Two handlers: one sends the code to the user's WhatsApp, the other checks what they typed. In a real app the chat ID and code come from your login form.

Laravel Rust handlers

rust
use hypersender_laravel_rust::Otp;
use laravel::container::Inject;
 
pub async fn send_code(otp: Inject<Otp>) -> laravel::Result<String> {
    // 6 digits, valid for 5 minutes.
    otp.request_code("201000000002@c.us", 6, "YourApp", 300).await?;
 
    Ok("Code sent".into())
}
 
pub async fn check_code(otp: Inject<Otp>) -> laravel::Result<String> {
    let verified = match otp.validate_code("201000000002@c.us", "482913").await {
        Ok(response) => response.json::<serde_json::Value>()?["data"]["status"] == "validated",
        Err(_) => false,
    };
 
    Ok(if verified { "Welcome" } else { "Wrong or expired code" }.into())
}

What request_code returns

json
HTTP/1.1 201 Created
 
{
  "success": true,
  "message": "OTP code generated and message queued successfully",
  "data": {
    "uuid": "<otp_uuid>",
    "chat_id": "201000000002@c.us",
    "code": "<generated_code>",
    "status": "pending",
    "otp_type": "code",
    "expires_at": "<ISO-8601 timestamp>"
  }
}

Never send the code from the response to the browser. Treat the code as correct only when data.status is validated; anything else, including an error, means wrong or expired.

Read the Laravel Rust OTP docsSend WhatsApp messages from Laravel RustHow OTP links workOTP verification in PHP LaravelPackage source on GitHub

Start with Hypersender

5 days free. Connect your number by QR code and send your first message in minutes.

Install the package

Docs

Read the Laravel Rust OTP docsSend WhatsApp messages from Laravel RustHow OTP links workOTP verification in PHP LaravelPackage source on GitHub

Laravel Rust OTP questions

Quick answers before you start.

Can't find what you're looking for? Contact Us

No. Hypersender creates, stores and expires the codes. Your Laravel Rust app only calls request_code and validate_code.

Yes. Set the OTP instance ID to an SMS instance and use a phone number such as +201000000002. The code goes out from the SIM in your Android phone.

Call client::fake() in the test. The package sends through Laravel's HTTP client, so the fake records every OTP request and nothing reaches Hypersender.

The package is free and MIT licensed. OTP is part of the WhatsApp plan, from $9.99 per number a month, with no fee per code, and the first 5 days are free.

Start Sending WhatsApp and SMS Messages Today

Start a free trial: 5 days for WhatsApp and SMS, with up to 100 messages a day.

Contact SalesInstall the package