GET
/
api
/
v1
/
messaging
/
otp
/
validate
curl --request GET \
  --url https://api.dojah.io/api/v1/messaging/otp/validate \
  --header 'AppId: <appid>' \
  --header 'Authorization: <api-key>'
{
  "entity": {
    "valid": true
  }
}
AppId
string
required

Application ID from dashboard

Query parameter

code
string
required

OTP received from user

reference_id
string
required

Reference ID to identify the OTP

RESPONSES

200
json

json

400
Object
401
Object
{
  "entity": {
    "valid": true
  }
}

Was this page helpful?