Skip to content
Inzpire API

OTP API

One Time Password (OTP) verification

What it does

OTP API allows you to incorporate a One Time Password (OTP) verification process to enable subscription in the mobile application developed by you.

Base URL
https://api.mspace.lk
Content type
application/json;charset=utf-8
Request OTPVerify OTP
POST/otp/request

Request OTP

https://api.mspace.lk/otp/request

Request sampleJSON
{
  "applicationId": "APP_000375",
  "password": "a07118cda5215fc6d01db5b2ab848edd",
  "subscriberId": "tel:94716177301",
  "applicationHash": "abcdefgh",
  "applicationMetaData": {
    "client": "MOBILEAPP",
    "device": "Samsung S10",
    "os": "android 8",
    "appCode": "https://play.google.com/store/apps/details?id=lk"
  }
}
Response sample200 · JSON
{
  "version": "1.0",
  "statusCode": "S1000",
  "referenceNo": "213561321321613",
  "statusDetail": "Success"
}
Pricing
Free registrationSee all pricing

mSpace offers you free registration where you can just sign up to create your application. Revenue share is subject to mSpace admin decision and approval upon submitting your application for approval.