Onesender - WhatsApp API Gateway + Plugins

Onesender - WhatsApp API Gateway + Plugins 2.3.14

No permission to download
Check WhatsApp Number feature is add

Check Via API.

Parameter phone_number. Fill in the form of a telephone number with a country code.

1️⃣ Sample QUERY

True
✅ http://localhost:3001/api/v1/check-number?phone_number=628100000001


False
🚫 http://localhost:3001/api/v1/check-number?phone_number= 628100000001
🚫 http://localhost:3001/api/v1/check-number?phone_number=08100000001
🚫 http://localhost:3001/api/v1/check-number?phone_number=0810-0000-001


2️⃣ RESPONSE

Number Registered
Code:
{

    "code": 200,

    "data": {

        "has_account": true,

        "phone_number": " 628100000001"

    },

    "message": "Check user phone",

    "success": true

}



Number Not Registered
Code:
{
    "code": 200,
    "data": {
        "has_account": false,
        "phone_number": " 628100000001"
    },
    "message": "Check user phone",
    "success": true
}

3️⃣ SAMPLE CODING

PHP
Code:
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'https://localhost:3001/api/v1/check-number?phone_number=628100000001',
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => '',
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => true,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => 'GET',
  CURLOPT_HTTPHEADER => array(
    'Authorization: Bearer ___________'
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;

ZIP PASSWORD

Join Telegram Group Onesender Support (Bahasa Indonesia)

About us

  • Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu