<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><?php echo e(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">
<?php echo e(env('APP_URL')); ?>/info-device?api_key=1234567890&number=6281222xxxxx
        </code>
      </pre>


</div>
<?php /**PATH /Users/ilmans/Documents/Projects/Laravel/whatsapp-gateway/resources/views/pages/api-docs/device-info.blade.php ENDPATH**/ ?>