Skip to content

    Arabic or English · ↑↓ to move · Enter to open · Esc to close

    العربية
    On this page

    OTP in 5 minutes with Mursilat’s number

    No WhatsApp number of your own yet? Send verification codes from Mursilat’s OTP number and pay per code from your wallet.

    Add "sender": "mursilat" to POST /v2/otp and the code goes out from Mursilat’s dedicated OTP number, with its approved authentication template (Arabic or English, with a copy-code button). You don’t connect a number or set up anything at Meta: each code is paid from your Mursilat wallet.

    1. Top up your wallet

    Open Billing → Wallet and top up in the currency of the country you send to. Prices per code are shown in Settings → API keys → OTP from Mursilat’s number.

    DestinationPrice per code
    Egypt (+20)Price per codeEGP 0.40
    Saudi Arabia (+966)Price per codeSAR 0.08

    2. Create a key with the `otp` scope

    In Settings → API keys, create a key with the otp scope. See Authentication.

    3. Send the code

    POST /v2/otp
    curl -X POST https://mursilat.com/api/v2/otp \
      -H "Authorization: Bearer $MURSILAT_KEY" \
      -H "Idempotency-Key: signup-7f3a" \
      -H "Content-Type: application/json" \
      -d '{"sender":"mursilat","to":"201001234567","locale":"ar"}'
    201 Created
    {
      "otpId": "otp_8f2c1d9a7b3e4f56a1b2c3d4",
      "sender": "mursilat",
      "numberId": null,
      "to": "2010****4567",
      "status": "pending",
      "length": 6,
      "maxAttempts": 5,
      "expiresAt": "2026-11-18T08:05:00.000Z",
      "messageId": "wamid.HBgM…",
      "price": {
        "country": "EG",
        "currency": "EGP",
        "amountMinor": 40
      },
      "wallet": {
        "currency": "EGP",
        "balanceAfterMinor": 9960
      }
    }

    4. Verify what the person typed

    Exactly like codes from your own number: POST /v2/otp/{otpId}/verify with { "code": "048213" }. The otp.verified webhook goes to your account-level webhook.

    curl -X POST "https://mursilat.com/api/v2/otp/otp_8f2c1d9a7b3e4f56a1b2c3d4/verify" \
      -H "Authorization: Bearer $WASLA_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{
      "code": "048213"
    }'

    What you pay

    • The price is taken from your wallet when the code is accepted for sending (amounts are in minor units: 40 = EGP 0.40).
    • If WhatsApp rejects the code, or later reports it failed, the price goes back to your wallet automatically, once.
    • Codes from Mursilat’s number don’t use your plan’s messages.
    • Not enough balance: 402 WALLET_INSUFFICIENT_FUNDS, nothing is sent or charged.

    Limits and errors

    SituationAnswer
    More than 5 codes to one phone in an hourAnswer429 OTP_RECIPIENT_RATE_LIMITED
    More than 60 codes per key in a minuteAnswer429 OTP_KEY_RATE_LIMITED
    More than 10,000 codes per account in a dayAnswer429 OTP_ACCOUNT_DAILY_LIMIT
    Country without a priceAnswer422 OTP_COUNTRY_NOT_SUPPORTED
    No wallet in a priced currencyAnswer422 OTP_PRICE_UNAVAILABLE
    WhatsApp user id (BSUID) instead of a phoneAnswer400 OTP_BSUID_NOT_SUPPORTED
    Service paused or not set upAnswer409 OTP_PLATFORM_DISABLED (see details.reason)

    Your own name on the code

    Codes from Mursilat’s number show Mursilat as the sender. When you are ready to send under your own name, connect your number and send without sender (see OTP done right).