SmarthiveSMS API
  • Introduction
  • SMS
    • Send Single SMS
    • Send Multiple SMS
    • Status
    • Balance
    • Send SMS Sample Code
    • Callback
    • SMS DLR Error Codes
  • Whats App
    • Introduction
    • Sending OTP
  • Email
    • Introduction
Powered by GitBook
On this page
  1. Whats App

Sending OTP

This endpoint allows you to send a one time password to your users.

PreviousIntroductionNextIntroduction

Last updated 10 months ago

SEND

POST /api/whatsapp/send

Headers

Name
Value

Content-Type

application/json

x-api-key

Your Api Key

Body

Name
Type
Description

code

string

One time password

recipient

string

MSISDN of recipient

Response

{
    "status": "ok",
    "description": "The request has succeeded",
    "data": {
        "msg_id": "yHhKrRghj",
        "recipient": "23490########",
        "status": "Submitted"
    }
}
https://smsapi-sur2.onrender.com