API Pendaftaran

{
    "cmd": "REG",
    "uid": "9004574775",
    "tid": "123456",
    "nam": "Test Daftar",
    "nhp": "081910400347",
    "pin": "1122",
    "sig": "6f1a17991d10ced5598e84a835e8db78"
}

Contoh Reequest:

curl --location --request POST 'https://localhost/api/dwimas.php' \
--header 'Content-Type: application/json' \
--data-raw '{
    "cmd": "REG",
    "uid": "9004574775",
    "tid": "123456",
    "nam": "Test Daftar",
    "nhp": "081910400347",
    "pin": "112233",
    "sig": "6f1a17991d10ced5598e84a835e8db78"
}'

Contoh Respon:

{
  "code": "500",
  "status": "SMS sedang dikirim",
  "data": {
    "regid": "20210728100840034"
  }
}