Hyper Sms API
    Hyper Sms API
    • Send OTP Sms
      POST
    • Check Wallet Balance
      POST

      Send OTP Sms

      POST
      https://hypersms.xyz/api/v1/send-sms
      Send Otp sms or voice sms using this api

      Request

      Header Params
      API-KEY
      string 
      required
      Api key
      Example:
      Lmk5KzlpJEG9pMiFUs3KxEeFBTw
      Body Params application/x-www-form-urlencoded
      phone_number
      string 
      required
      Mobile Number Only 10 Digits
      Example:
      8619170399
      otp_value
      string 
      required
      Integer (6 character OTP value to be sent to the user)
      Example:
      456787
      route
      string 
      required
      String otp_sms or voice_sms
      Example:
      otp_sms

      Request samples

      Shell
      JavaScript
      Java
      Swift
      Go
      PHP
      Python
      HTTP
      C
      C#
      Objective-C
      Ruby
      OCaml
      Dart
      R
      Request Request Example
      Shell
      JavaScript
      Java
      Swift
      curl --location --request POST 'https://hypersms.xyz/api/v1/send-sms' \
      --header 'API-KEY: Lmk5KzlpJEG9pMiFUs3KxEeFBTw' \
      --data-urlencode 'phone_number=8619170399' \
      --data-urlencode 'otp_value=456787' \
      --data-urlencode 'route=otp_sms'

      Responses

      🟢200Otp Sended Successfully
      application/json
      Body
      status
      boolean 
      required
      message
      string 
      required
      Example
      {
          "status": true,
          "message": "SMS sent successfully."
      }
      🟠400Invalid Api Key
      🟠400Wallet Balance Low
      🟢200Invalid Phone Number Length
      Modified at 2024-07-09 11:10:33
      Next
      Check Wallet Balance
      Built with