# Logs


## List

<small class="badge badge-darkred">requires authentication</small>

Use this end point to get the list of win push notification logs

> Example request:

```bash
curl -X GET \
    -G "https://apiqa.bettorfantasy.com/win-push-notification-logs?per_page=3&page=8&status=1&is_send=1" \
    -H "Authorization: Bearer {YOUR_AUTH_KEY}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
```


> Example response (200):

```json

{
      "message": "Win push notifications logs",
      "data": {
          "winPushNotificationsLogs": {
              "current_page": 1,
              "data": [
                  {
                      "id": 2,
                      "user_id": 1,
                      "title": "Title",
                      "body": "Body",
                      "status": 1,
                      "is_send": 1,
                      "contest_id": 1,
                              "user": {
                                 "id": 2,
                                  "username": "taha"
                             }
                      "created_at": "2021-08-09T09:30:10.000000Z",
                      "updated_at": "2021-08-09T09:30:10.000000Z"
                  },
                  {
                      "id": 1,
                       "user_id": 1,
                      "title": "Title",
                      "body": "Body",
                      "status": 1,
                      "is_send": 1,
                     "contest_id": 1,
                              "user": {
                                 "id": 2,
                                  "username": "taha"
                             }
                      "created_at": "2021-08-09T09:13:30.000000Z",
                      "updated_at": "2021-08-09T09:13:30.000000Z"
                  }
              ],
              "first_page_url": "http://127.0.0.1:8000/win-push-notification-logs?per_page=10&search=&sort_field=id&sort_method=desc&page=1",
              "from": 1,
              "last_page": 1,
              "last_page_url": "http://127.0.0.1:8000/win-push-notification-logs?per_page=10&search=&sort_field=id&sort_method=desc&page=1",
              "links": [
                  {
                      "url": null,
                      "label": "pagination.previous",
                      "active": false
                  },
                  {
                      "url": "http://127.0.0.1:8000/win-push-notification-logs?per_page=10&search=&sort_field=id&sort_method=desc&page=1",
                      "label": "1",
                      "active": true
                  },
                  {
                      "url": null,
                      "label": "pagination.next",
                      "active": false
                  }
              ],
              "next_page_url": null,
              "path": "http://127.0.0.1:8000/win-push-notification-logs",
              "per_page": 10,
              "prev_page_url": null,
              "to": 2,
              "total": 2
          }
      }
  }
```
> Example response (422):

```json
{
    "message": "Validation Failed!",
    "errors": {
        "per_page": [
            "The per page must be a number."
        ]
    }
}
```
<div id="execution-results-GETwin-push-notification-logs" hidden>
    <blockquote>Received response<span id="execution-response-status-GETwin-push-notification-logs"></span>:</blockquote>
    <pre class="json"><code id="execution-response-content-GETwin-push-notification-logs"></code></pre>
</div>
<div id="execution-error-GETwin-push-notification-logs" hidden>
    <blockquote>Request failed with error:</blockquote>
    <pre><code id="execution-error-message-GETwin-push-notification-logs"></code></pre>
</div>
<form id="form-GETwin-push-notification-logs" data-method="GET" data-path="win-push-notification-logs" data-authed="1" data-hasfiles="0" data-headers='{"Authorization":"Bearer {YOUR_AUTH_KEY}","Content-Type":"application\/json","Accept":"application\/json"}' onsubmit="event.preventDefault(); executeTryOut('GETwin-push-notification-logs', this);">
<h3>
    Request&nbsp;&nbsp;&nbsp;
        <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-GETwin-push-notification-logs" onclick="tryItOut('GETwin-push-notification-logs');">Try it out ⚡</button>
    <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-GETwin-push-notification-logs" onclick="cancelTryOut('GETwin-push-notification-logs');" hidden>Cancel</button>&nbsp;&nbsp;
    <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-GETwin-push-notification-logs" hidden>Send Request 💥</button>
    </h3>
<p>
<small class="badge badge-green">GET</small>
 <b><code>win-push-notification-logs</code></b>
</p>
<p>
<label id="auth-GETwin-push-notification-logs" hidden>Authorization header: <b><code>Bearer </code></b><input type="text" name="Authorization" data-prefix="Bearer " data-endpoint="GETwin-push-notification-logs" data-component="header"></label>
</p>
<h4 class="fancy-heading-panel"><b>Query Parameters</b></h4>
<p>
<b><code>per_page</code></b>&nbsp;&nbsp;<small>integer</small>     <i>optional</i> &nbsp;
<input type="number" name="per_page" data-endpoint="GETwin-push-notification-logs" data-component="query"  hidden>
<br>
Number of records per page. Send '-1' for all records. Default: 10. Ex: 15
</p>
<p>
<b><code>page</code></b>&nbsp;&nbsp;<small>integer</small>     <i>optional</i> &nbsp;
<input type="number" name="page" data-endpoint="GETwin-push-notification-logs" data-component="query"  hidden>
<br>
Page number. Ex: 2
</p>
<p>
<b><code>status</code></b>&nbsp;&nbsp;<small>integer</small>     <i>optional</i> &nbsp;
<input type="number" name="status" data-endpoint="GETwin-push-notification-logs" data-component="query"  hidden>
<br>
Possible values: 0 (Failed), 1 (Success).
</p>
<p>
<b><code>is_send</code></b>&nbsp;&nbsp;<small>integer</small>     <i>optional</i> &nbsp;
<input type="number" name="is_send" data-endpoint="GETwin-push-notification-logs" data-component="query"  hidden>
<br>
Possible values: 1 (Sent), 0 (Pending).
</p>
</form>


## List

<small class="badge badge-darkred">requires authentication</small>

Use this end point to get the list of api logs

> Example request:

```bash
curl -X GET \
    -G "https://apiqa.bettorfantasy.com/api-logs?per_page=9&page=6" \
    -H "Authorization: Bearer {YOUR_AUTH_KEY}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
```


> Example response (200):

```json

{
      "message": "API logs",
      "data": {
          "apiLogs": {
              "current_page": 1,
              "data": [
                  {
                      "id": 2,
                      "user_id": 2,
                      "request_method": "POST",
                      "request_url": "http://localhost/prizeout",
                      "request_data": {
                          "per_page":2,"search":"vel","sort_field":"fuga","sort_method":"temporibus",*                           "page":10,"type":"et","status":"aut","user_id":13"created_at":"placeat","created_at_from":"officiis","created_at_to":"facilis"
                         },
                      "response_http_code": 200,
                      "ip_address": 127.0.0.1,
                      "version": "N/A",
                      "duration_ms": "N/A",
                      "headers": "N/A",
                      "created_at": "2021-08-09T09:30:10.000000Z",
                      "updated_at": "2021-08-09T09:30:10.000000Z"
                     "headers" : null
                       "user": {
                                 "id": 2,
                                  "username": "taha"
                             }
                  },
                  {
                      "id": 1,
                      "user_id": 2,
                      "request_method": "POST",
                      "request_url": "http://localhost/prizeout",
                      "request_data": {
                          "per_page":2,"search":"vel","sort_field":"fuga","sort_method":"temporibus",*                           "page":10,"type":"et","status":"aut","user_id":13"created_at":"placeat","created_at_from":"officiis","created_at_to":"facilis"
                         },
                      "response_http_code": 200,
                      "ip_address": 127.0.0.1,
                      "version": "N/A",
                      "duration_ms": "N/A",
                      "headers": "N/A",
                      "created_at": "2021-08-09T09:13:30.000000Z",
                      "updated_at": "2021-08-09T09:13:30.000000Z"
                      "user": {
                                 "id": 2,
                                  "username": "taha"
                             }
                  },
                  }
              ],
              "first_page_url": "http://127.0.0.1:8000/api-logs?per_page=10&search=&sort_field=id&sort_method=desc&page=1",
              "from": 1,
              "last_page": 1,
              "last_page_url": "http://127.0.0.1:8000/api-logs?per_page=10&search=&sort_field=id&sort_method=desc&page=1",
              "links": [
                  {
                      "url": null,
                      "label": "pagination.previous",
                      "active": false
                  },
                  {
                      "url": "http://127.0.0.1:8000/api-logs?per_page=10&search=&sort_field=id&sort_method=desc&page=1",
                      "label": "1",
                      "active": true
                  },
                  {
                      "url": null,
                      "label": "pagination.next",
                      "active": false
                  }
              ],
              "next_page_url": null,
              "path": "http://127.0.0.1:8000/api-logs",
              "per_page": 10,
              "prev_page_url": null,
              "to": 2,
              "total": 2
          }
      }
  }
```
> Example response (422):

```json
{
    "message": "Validation Failed!",
    "errors": {
        "per_page": [
            "The per page must be a number."
        ]
    }
}
```
<div id="execution-results-GETapi-logs" hidden>
    <blockquote>Received response<span id="execution-response-status-GETapi-logs"></span>:</blockquote>
    <pre class="json"><code id="execution-response-content-GETapi-logs"></code></pre>
</div>
<div id="execution-error-GETapi-logs" hidden>
    <blockquote>Request failed with error:</blockquote>
    <pre><code id="execution-error-message-GETapi-logs"></code></pre>
</div>
<form id="form-GETapi-logs" data-method="GET" data-path="api-logs" data-authed="1" data-hasfiles="0" data-headers='{"Authorization":"Bearer {YOUR_AUTH_KEY}","Content-Type":"application\/json","Accept":"application\/json"}' onsubmit="event.preventDefault(); executeTryOut('GETapi-logs', this);">
<h3>
    Request&nbsp;&nbsp;&nbsp;
        <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-GETapi-logs" onclick="tryItOut('GETapi-logs');">Try it out ⚡</button>
    <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-GETapi-logs" onclick="cancelTryOut('GETapi-logs');" hidden>Cancel</button>&nbsp;&nbsp;
    <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-GETapi-logs" hidden>Send Request 💥</button>
    </h3>
<p>
<small class="badge badge-green">GET</small>
 <b><code>api-logs</code></b>
</p>
<p>
<label id="auth-GETapi-logs" hidden>Authorization header: <b><code>Bearer </code></b><input type="text" name="Authorization" data-prefix="Bearer " data-endpoint="GETapi-logs" data-component="header"></label>
</p>
<h4 class="fancy-heading-panel"><b>Query Parameters</b></h4>
<p>
<b><code>per_page</code></b>&nbsp;&nbsp;<small>integer</small>     <i>optional</i> &nbsp;
<input type="number" name="per_page" data-endpoint="GETapi-logs" data-component="query"  hidden>
<br>
Number of records per page. Send '-1' for all records. Default: 10. Ex: 15
</p>
<p>
<b><code>page</code></b>&nbsp;&nbsp;<small>integer</small>     <i>optional</i> &nbsp;
<input type="number" name="page" data-endpoint="GETapi-logs" data-component="query"  hidden>
<br>
Page number. Ex: 2
</p>
</form>


## List

<small class="badge badge-darkred">requires authentication</small>

Use this end point to get the list of sms notification logs

> Example request:

```bash
curl -X GET \
    -G "https://apiqa.bettorfantasy.com/sms-notification-logs?per_page=16&page=12" \
    -H "Authorization: Bearer {YOUR_AUTH_KEY}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
```


> Example response (200):

```json

{
      "message": "SMS notification logs",
      "data": {
          "smsNotificationLogs": {
              "current_page": 1,
              "data": [
                 {
                      "id": 109,
                      "user_id": null,
                      "twilio_account_username": "AC80f6167ddf2cdca7f3c4daa595044647",
                      "twilio_account_password": "c2ff0ca7c3b66da860045ac73fd040eb",
                      "twilio_from_number": "+13022003533",
                      "twilio_to_number": "+19584376316",
                      "response": "{\"code\":21211,\"message\":\"Invalid 'To' Phone Number: +1958437XXXX\",\"more_info\":\"https://www.twilio.com/docs/errors/21211\",\"status\":400}",
                      "created_at": "2025-01-10T10:18:57.000000Z",
                      "updated_at": "2025-01-10T10:18:57.000000Z",
                      "message": "<#> Your FantasySpin code is 471323 ",
                      "temp_user_id": 108,
                      "http_response_code": null,
                      "sid": null,
                      "status": null,
                      "error_code": null,
                      "callback_url": null
                      "user": {
                            "id": 2,
                             "username": "taha"
                       }
                  },
                  {
                      "id": 108,
                      "user_id": null,
                      "twilio_account_username": "AC80f6167ddf2cdca7f3c4daa595044647",
                      "twilio_account_password": "c2ff0ca7c3b66da860045ac73fd040eb",
                      "twilio_from_number": "+13022003533",
                      "twilio_to_number": "+19584376315",
                      "response": "{\"code\":21211,\"message\":\"Invalid 'To' Phone Number: +1958437XXXX\",\"more_info\":\"https://www.twilio.com/docs/errors/21211\",\"status\":400}",
                      "created_at": "2025-01-10T10:14:36.000000Z",
                      "updated_at": "2025-01-10T10:14:36.000000Z",
                      "message": "<#> Your FantasySpin code is 233947 ",
                      "temp_user_id": 107,
                      "http_response_code": null,
                      "sid": null,
                      "status": null,
                      "error_code": null,
                      "callback_url": null
                      "user": {
                            "id": 2,
                             "username": "taha"
                       }
                  },
              ],
              "first_page_url": "http://127.0.0.1:8000/sms-notification-logs?per_page=10&search=&sort_field=id&sort_method=desc&page=1",
              "from": 1,
              "last_page": 1,
              "last_page_url": "http://127.0.0.1:8000/sms-notification-logs?per_page=10&search=&sort_field=id&sort_method=desc&page=1",
              "links": [
                  {
                      "url": null,
                      "label": "pagination.previous",
                      "active": false
                  },
                  {
                      "url": "http://127.0.0.1:8000/sms-notification-logs?per_page=10&search=&sort_field=id&sort_method=desc&page=1",
                      "label": "1",
                      "active": true
                  },
                  {
                      "url": null,
                      "label": "pagination.next",
                      "active": false
                  }
              ],
              "next_page_url": null,
              "path": "http://127.0.0.1:8000/sms-notification-logs",
              "per_page": 10,
              "prev_page_url": null,
              "to": 2,
              "total": 2
          }
      }
  }
```
> Example response (422):

```json
{
    "message": "Validation Failed!",
    "errors": {
        "per_page": [
            "The per page must be a number."
        ]
    }
}
```
<div id="execution-results-GETsms-notification-logs" hidden>
    <blockquote>Received response<span id="execution-response-status-GETsms-notification-logs"></span>:</blockquote>
    <pre class="json"><code id="execution-response-content-GETsms-notification-logs"></code></pre>
</div>
<div id="execution-error-GETsms-notification-logs" hidden>
    <blockquote>Request failed with error:</blockquote>
    <pre><code id="execution-error-message-GETsms-notification-logs"></code></pre>
</div>
<form id="form-GETsms-notification-logs" data-method="GET" data-path="sms-notification-logs" data-authed="1" data-hasfiles="0" data-headers='{"Authorization":"Bearer {YOUR_AUTH_KEY}","Content-Type":"application\/json","Accept":"application\/json"}' onsubmit="event.preventDefault(); executeTryOut('GETsms-notification-logs', this);">
<h3>
    Request&nbsp;&nbsp;&nbsp;
        <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-GETsms-notification-logs" onclick="tryItOut('GETsms-notification-logs');">Try it out ⚡</button>
    <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-GETsms-notification-logs" onclick="cancelTryOut('GETsms-notification-logs');" hidden>Cancel</button>&nbsp;&nbsp;
    <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-GETsms-notification-logs" hidden>Send Request 💥</button>
    </h3>
<p>
<small class="badge badge-green">GET</small>
 <b><code>sms-notification-logs</code></b>
</p>
<p>
<label id="auth-GETsms-notification-logs" hidden>Authorization header: <b><code>Bearer </code></b><input type="text" name="Authorization" data-prefix="Bearer " data-endpoint="GETsms-notification-logs" data-component="header"></label>
</p>
<h4 class="fancy-heading-panel"><b>Query Parameters</b></h4>
<p>
<b><code>per_page</code></b>&nbsp;&nbsp;<small>integer</small>     <i>optional</i> &nbsp;
<input type="number" name="per_page" data-endpoint="GETsms-notification-logs" data-component="query"  hidden>
<br>
Number of records per page. Send '-1' for all records. Default: 10. Ex: 15
</p>
<p>
<b><code>page</code></b>&nbsp;&nbsp;<small>integer</small>     <i>optional</i> &nbsp;
<input type="number" name="page" data-endpoint="GETsms-notification-logs" data-component="query"  hidden>
<br>
Page number. Ex: 2
</p>
</form>


## List

<small class="badge badge-darkred">requires authentication</small>

Use this end point to get the list of Task scheduling logs

> Example request:

```bash
curl -X GET \
    -G "https://apiqa.bettorfantasy.com/task-scheduling-logs?per_page=5&page=20" \
    -H "Authorization: Bearer {YOUR_AUTH_KEY}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
```


> Example response (200):

```json

{
      "message": "Task scheduling logs",
      "data": {
          "smsLogs": {
              "current_page": 1,
              "data": [
                  {
                      "id": 888,
                      "name": "sync:referral-tier-bonus",
                      "frequency": "Once",
                      "start_time_est": "2025-01-03 02:32:02",
                      "end_time_est": "2025-01-03 02:32:03",
                      "created_at": "2025-01-03T07:32:02.000000Z",
                      "updated_at": "2025-01-03T07:32:03.000000Z",
                      "is_executed": 1
                  },
              ],
              "first_page_url": "http://127.0.0.1:8000/task-scheduling-logs?per_page=10&search=&sort_field=id&sort_method=desc&page=1",
              "from": 1,
              "last_page": 1,
              "last_page_url": "http://127.0.0.1:8000/task-scheduling-logs?per_page=10&search=&sort_field=id&sort_method=desc&page=1",
              "links": [
                  {
                      "url": null,
                      "label": "pagination.previous",
                      "active": false
                  },
                  {
                      "url": "http://127.0.0.1:8000/task-scheduling-logs?per_page=10&search=&sort_field=id&sort_method=desc&page=1",
                      "label": "1",
                      "active": true
                  },
                  {
                      "url": null,
                      "label": "pagination.next",
                      "active": false
                  }
              ],
              "next_page_url": null,
              "path": "http://127.0.0.1:8000/task-scheduling-logs",
              "per_page": 10,
              "prev_page_url": null,
              "to": 2,
              "total": 2
          }
      }
  }
```
> Example response (422):

```json
{
    "message": "Validation Failed!",
    "errors": {
        "per_page": [
            "The per page must be a number."
        ]
    }
}
```
<div id="execution-results-GETtask-scheduling-logs" hidden>
    <blockquote>Received response<span id="execution-response-status-GETtask-scheduling-logs"></span>:</blockquote>
    <pre class="json"><code id="execution-response-content-GETtask-scheduling-logs"></code></pre>
</div>
<div id="execution-error-GETtask-scheduling-logs" hidden>
    <blockquote>Request failed with error:</blockquote>
    <pre><code id="execution-error-message-GETtask-scheduling-logs"></code></pre>
</div>
<form id="form-GETtask-scheduling-logs" data-method="GET" data-path="task-scheduling-logs" data-authed="1" data-hasfiles="0" data-headers='{"Authorization":"Bearer {YOUR_AUTH_KEY}","Content-Type":"application\/json","Accept":"application\/json"}' onsubmit="event.preventDefault(); executeTryOut('GETtask-scheduling-logs', this);">
<h3>
    Request&nbsp;&nbsp;&nbsp;
        <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-GETtask-scheduling-logs" onclick="tryItOut('GETtask-scheduling-logs');">Try it out ⚡</button>
    <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-GETtask-scheduling-logs" onclick="cancelTryOut('GETtask-scheduling-logs');" hidden>Cancel</button>&nbsp;&nbsp;
    <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-GETtask-scheduling-logs" hidden>Send Request 💥</button>
    </h3>
<p>
<small class="badge badge-green">GET</small>
 <b><code>task-scheduling-logs</code></b>
</p>
<p>
<label id="auth-GETtask-scheduling-logs" hidden>Authorization header: <b><code>Bearer </code></b><input type="text" name="Authorization" data-prefix="Bearer " data-endpoint="GETtask-scheduling-logs" data-component="header"></label>
</p>
<h4 class="fancy-heading-panel"><b>Query Parameters</b></h4>
<p>
<b><code>per_page</code></b>&nbsp;&nbsp;<small>integer</small>     <i>optional</i> &nbsp;
<input type="number" name="per_page" data-endpoint="GETtask-scheduling-logs" data-component="query"  hidden>
<br>
Number of records per page. Send '-1' for all records. Default: 10. Ex: 15
</p>
<p>
<b><code>page</code></b>&nbsp;&nbsp;<small>integer</small>     <i>optional</i> &nbsp;
<input type="number" name="page" data-endpoint="GETtask-scheduling-logs" data-component="query"  hidden>
<br>
Page number. Ex: 2
</p>
</form>


## List

<small class="badge badge-darkred">requires authentication</small>

Use this end point to get the list of Email verification logs

> Example request:

```bash
curl -X GET \
    -G "https://apiqa.bettorfantasy.com/email-verification-logs?per_page=14&page=5" \
    -H "Authorization: Bearer {YOUR_AUTH_KEY}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
```


> Example response (200):

```json

{
      "message": "Email verification logs",
      "data": {
          "emailVerificationLogs": {
              "current_page": 1,
              "data": [
                  {
                      "id": 888,
                      "user_id": 1,
                      "token": "LoOA5vBsWipIb0kv",
                      "link": "http://127.0.0.1:8000/user/email-verify?token=LoOA5vBsWipIb0kv",
                      "status": "Send",
                      "created_at": "2025-01-03T07:32:02.000000Z",
                      "updated_at": "2025-01-03T07:32:03.000000Z",
                       "user" : {
                                 "id": 1,
                                 "username": "taha"
                                 }
                  },
              ],
              "first_page_url": "http://127.0.0.1:8000/email-verification-logs?per_page=10&search=&sort_field=id&sort_method=desc&page=1",
              "from": 1,
              "last_page": 1,
              "last_page_url": "http://127.0.0.1:8000/email-verification-logs?per_page=10&search=&sort_field=id&sort_method=desc&page=1",
              "links": [
                  {
                      "url": null,
                      "label": "pagination.previous",
                      "active": false
                  },
                  {
                      "url": "http://127.0.0.1:8000/email-verification-logs?per_page=10&search=&sort_field=id&sort_method=desc&page=1",
                      "label": "1",
                      "active": true
                  },
                  {
                      "url": null,
                      "label": "pagination.next",
                      "active": false
                  }
              ],
              "next_page_url": null,
              "path": "http://127.0.0.1:8000/email-verification-logs",
              "per_page": 10,
              "prev_page_url": null,
              "to": 2,
              "total": 2
          }
      }
  }
```
> Example response (422):

```json
{
    "message": "Validation Failed!",
    "errors": {
        "per_page": [
            "The per page must be a number."
        ]
    }
}
```
<div id="execution-results-GETemail-verification-logs" hidden>
    <blockquote>Received response<span id="execution-response-status-GETemail-verification-logs"></span>:</blockquote>
    <pre class="json"><code id="execution-response-content-GETemail-verification-logs"></code></pre>
</div>
<div id="execution-error-GETemail-verification-logs" hidden>
    <blockquote>Request failed with error:</blockquote>
    <pre><code id="execution-error-message-GETemail-verification-logs"></code></pre>
</div>
<form id="form-GETemail-verification-logs" data-method="GET" data-path="email-verification-logs" data-authed="1" data-hasfiles="0" data-headers='{"Authorization":"Bearer {YOUR_AUTH_KEY}","Content-Type":"application\/json","Accept":"application\/json"}' onsubmit="event.preventDefault(); executeTryOut('GETemail-verification-logs', this);">
<h3>
    Request&nbsp;&nbsp;&nbsp;
        <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-GETemail-verification-logs" onclick="tryItOut('GETemail-verification-logs');">Try it out ⚡</button>
    <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-GETemail-verification-logs" onclick="cancelTryOut('GETemail-verification-logs');" hidden>Cancel</button>&nbsp;&nbsp;
    <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-GETemail-verification-logs" hidden>Send Request 💥</button>
    </h3>
<p>
<small class="badge badge-green">GET</small>
 <b><code>email-verification-logs</code></b>
</p>
<p>
<label id="auth-GETemail-verification-logs" hidden>Authorization header: <b><code>Bearer </code></b><input type="text" name="Authorization" data-prefix="Bearer " data-endpoint="GETemail-verification-logs" data-component="header"></label>
</p>
<h4 class="fancy-heading-panel"><b>Query Parameters</b></h4>
<p>
<b><code>per_page</code></b>&nbsp;&nbsp;<small>integer</small>     <i>optional</i> &nbsp;
<input type="number" name="per_page" data-endpoint="GETemail-verification-logs" data-component="query"  hidden>
<br>
Number of records per page. Send '-1' for all records. Default: 10. Ex: 15
</p>
<p>
<b><code>page</code></b>&nbsp;&nbsp;<small>integer</small>     <i>optional</i> &nbsp;
<input type="number" name="page" data-endpoint="GETemail-verification-logs" data-component="query"  hidden>
<br>
Page number. Ex: 2
</p>
</form>


## List

<small class="badge badge-darkred">requires authentication</small>

Use this end point to get the list of returned push notification logs

> Example request:

```bash
curl -X GET \
    -G "https://apiqa.bettorfantasy.com/return-push-notification-logs?per_page=3&page=17&status=1&is_send=1" \
    -H "Authorization: Bearer {YOUR_AUTH_KEY}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
```


> Example response (200):

```json

{
      "message": "Returned push notifications logs",
      "data": {
          "returnedPushNotificationsLogs": {
              "current_page": 1,
              "data": [
                  {
                      "id": 2,
                      "user_id": 1,
                      "title": "Title",
                      "body": "Body",
                      "status": 1,
                      "is_send": 1,
                      "contest_id": 1,
                              "user": {
                                 "id": 2,
                                  "username": "taha"
                             }
                      "created_at": "2021-08-09T09:30:10.000000Z",
                      "updated_at": "2021-08-09T09:30:10.000000Z"
                  },
                  {
                      "id": 1,
                       "user_id": 1,
                      "title": "Title",
                      "body": "Body",
                      "status": 1,
                      "is_send": 1,
                     "contest_id": 1,
                              "user": {
                                 "id": 2,
                                  "username": "taha"
                             }
                      "created_at": "2021-08-09T09:13:30.000000Z",
                      "updated_at": "2021-08-09T09:13:30.000000Z"
                  }
              ],
              "first_page_url": "http://127.0.0.1:8000/return-push-notification-logs?per_page=10&search=&sort_field=id&sort_method=desc&page=1",
              "from": 1,
              "last_page": 1,
              "last_page_url": "http://127.0.0.1:8000/return-push-notification-logs?per_page=10&search=&sort_field=id&sort_method=desc&page=1",
              "links": [
                  {
                      "url": null,
                      "label": "pagination.previous",
                      "active": false
                  },
                  {
                      "url": "http://127.0.0.1:8000/return-push-notification-logs?per_page=10&search=&sort_field=id&sort_method=desc&page=1",
                      "label": "1",
                      "active": true
                  },
                  {
                      "url": null,
                      "label": "pagination.next",
                      "active": false
                  }
              ],
              "next_page_url": null,
              "path": "http://127.0.0.1:8000/return-push-notification-logs",
              "per_page": 10,
              "prev_page_url": null,
              "to": 2,
              "total": 2
          }
      }
  }
```
> Example response (422):

```json
{
    "message": "Validation Failed!",
    "errors": {
        "per_page": [
            "The per page must be a number."
        ]
    }
}
```
<div id="execution-results-GETreturn-push-notification-logs" hidden>
    <blockquote>Received response<span id="execution-response-status-GETreturn-push-notification-logs"></span>:</blockquote>
    <pre class="json"><code id="execution-response-content-GETreturn-push-notification-logs"></code></pre>
</div>
<div id="execution-error-GETreturn-push-notification-logs" hidden>
    <blockquote>Request failed with error:</blockquote>
    <pre><code id="execution-error-message-GETreturn-push-notification-logs"></code></pre>
</div>
<form id="form-GETreturn-push-notification-logs" data-method="GET" data-path="return-push-notification-logs" data-authed="1" data-hasfiles="0" data-headers='{"Authorization":"Bearer {YOUR_AUTH_KEY}","Content-Type":"application\/json","Accept":"application\/json"}' onsubmit="event.preventDefault(); executeTryOut('GETreturn-push-notification-logs', this);">
<h3>
    Request&nbsp;&nbsp;&nbsp;
        <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-GETreturn-push-notification-logs" onclick="tryItOut('GETreturn-push-notification-logs');">Try it out ⚡</button>
    <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-GETreturn-push-notification-logs" onclick="cancelTryOut('GETreturn-push-notification-logs');" hidden>Cancel</button>&nbsp;&nbsp;
    <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-GETreturn-push-notification-logs" hidden>Send Request 💥</button>
    </h3>
<p>
<small class="badge badge-green">GET</small>
 <b><code>return-push-notification-logs</code></b>
</p>
<p>
<label id="auth-GETreturn-push-notification-logs" hidden>Authorization header: <b><code>Bearer </code></b><input type="text" name="Authorization" data-prefix="Bearer " data-endpoint="GETreturn-push-notification-logs" data-component="header"></label>
</p>
<h4 class="fancy-heading-panel"><b>Query Parameters</b></h4>
<p>
<b><code>per_page</code></b>&nbsp;&nbsp;<small>integer</small>     <i>optional</i> &nbsp;
<input type="number" name="per_page" data-endpoint="GETreturn-push-notification-logs" data-component="query"  hidden>
<br>
Number of records per page. Send '-1' for all records. Default: 10. Ex: 15
</p>
<p>
<b><code>page</code></b>&nbsp;&nbsp;<small>integer</small>     <i>optional</i> &nbsp;
<input type="number" name="page" data-endpoint="GETreturn-push-notification-logs" data-component="query"  hidden>
<br>
Page number. Ex: 2
</p>
<p>
<b><code>status</code></b>&nbsp;&nbsp;<small>integer</small>     <i>optional</i> &nbsp;
<input type="number" name="status" data-endpoint="GETreturn-push-notification-logs" data-component="query"  hidden>
<br>
Possible values: 0 (Failed), 1 (Success).
</p>
<p>
<b><code>is_send</code></b>&nbsp;&nbsp;<small>integer</small>     <i>optional</i> &nbsp;
<input type="number" name="is_send" data-endpoint="GETreturn-push-notification-logs" data-component="query"  hidden>
<br>
Possible values: 1 (Sent), 0 (Pending).
</p>
</form>


## List

<small class="badge badge-darkred">requires authentication</small>

Use this end point to get the list of streak push notification logs

> Example request:

```bash
curl -X GET \
    -G "https://apiqa.bettorfantasy.com/streak-push-notification-logs?per_page=8&page=17&status=1&is_send=1" \
    -H "Authorization: Bearer {YOUR_AUTH_KEY}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
```


> Example response (200):

```json

{
      "message": "Streak push notifications logs",
      "data": {
          "streakPushNotificationsLogs": {
              "current_page": 1,
              "data": [
                  {
                      "id": 2,
                      "user_id": 1,
                      "title": "Title",
                      "body": "Body",
                      "status": 1,
                      "is_send": 1,
                              "user": {
                                 "id": 2,
                                  "username": "taha"
                             }
                      "created_at": "2021-08-09T09:30:10.000000Z",
                      "updated_at": "2021-08-09T09:30:10.000000Z"
                  },
                  {
                      "id": 1,
                       "user_id": 1,
                      "title": "Title",
                      "body": "Body",
                      "status": 1,
                      "is_send": 1,
                              "user": {
                                 "id": 2,
                                  "username": "taha"
                             }
                      "created_at": "2021-08-09T09:13:30.000000Z",
                      "updated_at": "2021-08-09T09:13:30.000000Z"
                  }
              ],
              "first_page_url": "http://127.0.0.1:8000/streak-push-notification-logs?page=1",
              "from": 1,
              "last_page": 1,
              "last_page_url": "http://127.0.0.1:8000/streak-push-notification-logs?page=1",
              "links": [
                  {
                      "url": null,
                      "label": "pagination.previous",
                      "active": false
                  },
                  {
                      "url": "http://127.0.0.1:8000/streak-push-notification-logs?page=1",
                      "label": "1",
                      "active": true
                  },
                  {
                      "url": null,
                      "label": "pagination.next",
                      "active": false
                  }
              ],
              "next_page_url": null,
              "path": "http://127.0.0.1:8000/streak-push-notification-logs",
              "per_page": 10,
              "prev_page_url": null,
              "to": 2,
              "total": 2
          }
      }
  }
```
> Example response (422):

```json
{
    "message": "Validation Failed!",
    "errors": {
        "per_page": [
            "The per page must be a number."
        ]
    }
}
```
<div id="execution-results-GETstreak-push-notification-logs" hidden>
    <blockquote>Received response<span id="execution-response-status-GETstreak-push-notification-logs"></span>:</blockquote>
    <pre class="json"><code id="execution-response-content-GETstreak-push-notification-logs"></code></pre>
</div>
<div id="execution-error-GETstreak-push-notification-logs" hidden>
    <blockquote>Request failed with error:</blockquote>
    <pre><code id="execution-error-message-GETstreak-push-notification-logs"></code></pre>
</div>
<form id="form-GETstreak-push-notification-logs" data-method="GET" data-path="streak-push-notification-logs" data-authed="1" data-hasfiles="0" data-headers='{"Authorization":"Bearer {YOUR_AUTH_KEY}","Content-Type":"application\/json","Accept":"application\/json"}' onsubmit="event.preventDefault(); executeTryOut('GETstreak-push-notification-logs', this);">
<h3>
    Request&nbsp;&nbsp;&nbsp;
        <button type="button" style="background-color: #8fbcd4; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-tryout-GETstreak-push-notification-logs" onclick="tryItOut('GETstreak-push-notification-logs');">Try it out ⚡</button>
    <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-GETstreak-push-notification-logs" onclick="cancelTryOut('GETstreak-push-notification-logs');" hidden>Cancel</button>&nbsp;&nbsp;
    <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-GETstreak-push-notification-logs" hidden>Send Request 💥</button>
    </h3>
<p>
<small class="badge badge-green">GET</small>
 <b><code>streak-push-notification-logs</code></b>
</p>
<p>
<label id="auth-GETstreak-push-notification-logs" hidden>Authorization header: <b><code>Bearer </code></b><input type="text" name="Authorization" data-prefix="Bearer " data-endpoint="GETstreak-push-notification-logs" data-component="header"></label>
</p>
<h4 class="fancy-heading-panel"><b>Query Parameters</b></h4>
<p>
<b><code>per_page</code></b>&nbsp;&nbsp;<small>integer</small>     <i>optional</i> &nbsp;
<input type="number" name="per_page" data-endpoint="GETstreak-push-notification-logs" data-component="query"  hidden>
<br>
Number of records per page. Send '-1' for all records. Default: 10. Ex: 15
</p>
<p>
<b><code>page</code></b>&nbsp;&nbsp;<small>integer</small>     <i>optional</i> &nbsp;
<input type="number" name="page" data-endpoint="GETstreak-push-notification-logs" data-component="query"  hidden>
<br>
Page number. Ex: 2
</p>
<p>
<b><code>status</code></b>&nbsp;&nbsp;<small>integer</small>     <i>optional</i> &nbsp;
<input type="number" name="status" data-endpoint="GETstreak-push-notification-logs" data-component="query"  hidden>
<br>
Possible values: 0 (Failed), 1 (Success).
</p>
<p>
<b><code>is_send</code></b>&nbsp;&nbsp;<small>integer</small>     <i>optional</i> &nbsp;
<input type="number" name="is_send" data-endpoint="GETstreak-push-notification-logs" data-component="query"  hidden>
<br>
Possible values: 1 (Sent), 0 (Pending).
</p>
</form>



