D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
etb1lp46s9ed
/
waboost.softurecs.com
/
resources
/
views
/
pages
/
api-docs
/
Filename :
device-info.blade.php
back
Copy
<div class="tab-pane fade " id="deviceinfo" role="tabpanel"> <h3>Device Info API</h3> <p>Method : <code class="text-success">POST</code> | <code class="text-primary">GET</code></p> <p>Endpoint: <code>{{ env('APP_URL') }}/info-device</code></p> <p>Request Body : (JSON If POST) </p> <table class="table"> <thead> <tr> <th>Parameter</th> <th>Type</th> <th>Required</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td>api_key</td> <td>string</td> <td>Yes</td> <td>API Key</td> </tr> <tr> <td>number</td> <td>string</td> <td>Yes</td> <td>any number ex 62888xxxx</td> </tr> </tbody> </table> <br> <p>Examplo JSON Request</p> <pre class="bg-dark text-white"> <code> { "status":true, "info":[ { "id":1, "user_id":1, "body":"628122xxxxxx", "webhook":null, "status":"Disconnect", "created_at":"2024-08-16T11:07:27.000000Z", "updated_at":"2024-08-16T11:07:27.000000Z", "message_sent":0, "reply_when":"Personal", "wh_read":0, "reject_call":0, "wh_typing":0, } ] } </code> </pre> <p>Example URL Request</p> <pre class="bg-dark text-white"> <code class="json"> {{ env('APP_URL') }}/info-device?api_key=1234567890&number=6281222xxxxx </code> </pre> </div>