# Updated Onboarding


## Validate

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

Use this end point to validate email, username, password, phone

> Example request:

```bash
curl -X POST \
    "https://apiqa.bettorfantasy.com/v2/validate" \
    -H "Authorization: Bearer {YOUR_AUTH_KEY}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -d '{"email":"saepe","username":"culpa","password":"quidem","phone":"dicta"}'

```


> Example response (200):

```json
{
    "message": "Validated"
}
```
> Example response (422):

```json
{
    "message": "Please enter required information",
    "errors": {
        "email": [
            "The email has already been taken."
        ]
    }
}
```
<div id="execution-results-POSTv2-validate" hidden>
    <blockquote>Received response<span id="execution-response-status-POSTv2-validate"></span>:</blockquote>
    <pre class="json"><code id="execution-response-content-POSTv2-validate"></code></pre>
</div>
<div id="execution-error-POSTv2-validate" hidden>
    <blockquote>Request failed with error:</blockquote>
    <pre><code id="execution-error-message-POSTv2-validate"></code></pre>
</div>
<form id="form-POSTv2-validate" data-method="POST" data-path="v2/validate" data-authed="1" data-hasfiles="0" data-headers='{"Authorization":"Bearer {YOUR_AUTH_KEY}","Content-Type":"application\/json","Accept":"application\/json"}' onsubmit="event.preventDefault(); executeTryOut('POSTv2-validate', 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-POSTv2-validate" onclick="tryItOut('POSTv2-validate');">Try it out ⚡</button>
    <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-POSTv2-validate" onclick="cancelTryOut('POSTv2-validate');" hidden>Cancel</button>&nbsp;&nbsp;
    <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-POSTv2-validate" hidden>Send Request 💥</button>
    </h3>
<p>
<small class="badge badge-black">POST</small>
 <b><code>v2/validate</code></b>
</p>
<p>
<label id="auth-POSTv2-validate" hidden>Authorization header: <b><code>Bearer </code></b><input type="text" name="Authorization" data-prefix="Bearer " data-endpoint="POSTv2-validate" data-component="header"></label>
</p>
<h4 class="fancy-heading-panel"><b>Body Parameters</b></h4>
<p>
<b><code>email</code></b>&nbsp;&nbsp;<small>string</small>     <i>optional</i> &nbsp;
<input type="text" name="email" data-endpoint="POSTv2-validate" data-component="body"  hidden>
<br>
Email. Ex: john@doe.com
</p>
<p>
<b><code>username</code></b>&nbsp;&nbsp;<small>string</small>     <i>optional</i> &nbsp;
<input type="text" name="username" data-endpoint="POSTv2-validate" data-component="body"  hidden>
<br>
Username. Ex: johndoe
</p>
<p>
<b><code>password</code></b>&nbsp;&nbsp;<small>string</small>     <i>optional</i> &nbsp;
<input type="password" name="password" data-endpoint="POSTv2-validate" data-component="body"  hidden>
<br>
Password. Ex: John@doe123
</p>
<p>
<b><code>phone</code></b>&nbsp;&nbsp;<small>string</small>     <i>optional</i> &nbsp;
<input type="text" name="phone" data-endpoint="POSTv2-validate" data-component="body"  hidden>
<br>
Phone. Ex: 1234567890
</p>

</form>


## Sign In


Use this end point to sign in.

> Example request:

```bash
curl -X POST \
    "https://apiqa.bettorfantasy.com/v2/sign-in" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -d '{"email":"john_does@yopmail.com","password":"Ems016@2020","platform":"1001","fcm_token":"safsadfasjff4sdfsd5f9+s8fs+ad62fdf6+8fas"}'

```


> Example response (200, Sign in successfull):

```json
{
    "message": "Sign in successfull",
    "data": {
        "access_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xMjcuMC4wLjE6ODAwMFwvc2lnbi1pbiIsImlhdCI6MTYyNTU0ODI1MiwiZXhwIjoxNjU3MDg0MjUyLCJuYmYiOjE2MjU1NDgyNTIsImp0aSI6IlVPY05MY0F4N3FFRHQ3TkMiLCJzdWIiOjMsInBydiI6IjIzYmQ1Yzg5NDlmNjAwYWRiMzllNzAxYzQwMDg3MmRiN2E1OTc2ZjcifQ.bwfzZR9m8TFO-xksIAWC9zQIROaEBt3y40eD2vY5Bew",
        "token_type": "bearer",
        "expires_in": 31536000,
        "user": {
            "id": 3,
            "email": "taha@elegantmicroweb.com",
            "username": "tahasethwala",
            "is_adult": 1,
            "phone": "9925738146",
            "avatar": "http:\/\/127.0.0.1:8000\/images\/avatar-default.png",
            "is_email_verified": 1,
            "is_phone_verified": 0,
            "email_verified_date_time": null,
            "phone_verified_date_time": null,
            "password_last_changed_date_time": null,
            "created_at": "2021-07-06T04:46:13.000000Z",
            "updated_at": "2021-07-06T05:10:35.000000Z",
            "is_active": 1,
            "bucks": 150,
            "available_bucks": 30,
            "open_bucks": 120,
            "credits": 200,
            "available_credits": 0,
            "open_credits": 200,
            "referral_code": "37d1c636-fca4-4701-90c7-366ed0b14c36",
            "fcm_token": "adasjfsdfjpoi kpkg pqkt'65s6f sad6fsd4f ",
            "state": {
                "id": 3,
                "code": "AZ",
                "name": "Arizona"
            },
            "role": {
                "id": 2,
                "name": "User"
            },
            "leagues": [
                {
                    "id": 2,
                    "name": "Twenty Nine June 2021",
                    "sleeper_league_id": 715469520269045760,
                    "pivot": {
                        "user_id": 3,
                        "sleeper_league_id": 715469520269045760,
                        "is_active": 1,
                        "sleeper_username": "tahasethwala",
                        "fantasy_point_type": 30,
                        "created_at": "2021-07-06T04:47:28.000000Z",
                        "updated_at": "2021-07-06T04:47:28.000000Z",
                        "fantasy_point_type_name": "Half PPR"
                    }
                }
            ],
            "foundations": []
        }
    }
}
```
> Example response (422, Account locked):

```json
{
    "message": "Please enter required information",
    "errors": {
        "general": [
            "This account has been locked. Please contact our support team if you have any questions."
        ]
    }
}
```
> Example response (422, Incorrect password):

```json
{
    "message": "Please enter required information",
    "errors": {
        "password": [
            "Incorrect password"
        ]
    }
}
```
> Example response (422, This email does not match an account):

```json
{
    "message": "Please enter required information",
    "errors": {
        "email": [
            "This email does not match an account"
        ]
    }
}
```
> Example response (400, Self Exclusion Applies):

```json
{
    "message": "Validations",
    "error_box": {
        "heading": "Self Exclusion Applies",
        "message": "You are unable to take this action because of self exclusion restrictions placed on this account.",
        "cta": "Return",
        "color": "Blue",
        "cta_type": "Return"
    }
}
```
<div id="execution-results-POSTv2-sign-in" hidden>
    <blockquote>Received response<span id="execution-response-status-POSTv2-sign-in"></span>:</blockquote>
    <pre class="json"><code id="execution-response-content-POSTv2-sign-in"></code></pre>
</div>
<div id="execution-error-POSTv2-sign-in" hidden>
    <blockquote>Request failed with error:</blockquote>
    <pre><code id="execution-error-message-POSTv2-sign-in"></code></pre>
</div>
<form id="form-POSTv2-sign-in" data-method="POST" data-path="v2/sign-in" data-authed="0" data-hasfiles="0" data-headers='{"Content-Type":"application\/json","Accept":"application\/json"}' onsubmit="event.preventDefault(); executeTryOut('POSTv2-sign-in', 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-POSTv2-sign-in" onclick="tryItOut('POSTv2-sign-in');">Try it out ⚡</button>
    <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-POSTv2-sign-in" onclick="cancelTryOut('POSTv2-sign-in');" hidden>Cancel</button>&nbsp;&nbsp;
    <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-POSTv2-sign-in" hidden>Send Request 💥</button>
    </h3>
<p>
<small class="badge badge-black">POST</small>
 <b><code>v2/sign-in</code></b>
</p>
<h4 class="fancy-heading-panel"><b>Body Parameters</b></h4>
<p>
<b><code>email</code></b>&nbsp;&nbsp;<small>string</small>  &nbsp;
<input type="text" name="email" data-endpoint="POSTv2-sign-in" data-component="body" required  hidden>
<br>
Email associated with account.
</p>
<p>
<b><code>password</code></b>&nbsp;&nbsp;<small>string</small>  &nbsp;
<input type="password" name="password" data-endpoint="POSTv2-sign-in" data-component="body" required  hidden>
<br>
Password.
</p>
<p>
<b><code>platform</code></b>&nbsp;&nbsp;<small>string</small>  &nbsp;
<input type="text" name="platform" data-endpoint="POSTv2-sign-in" data-component="body" required  hidden>
<br>
Possible Values 1001 (Mobile APP), 1002 (Admin Panel).
</p>
<p>
<b><code>fcm_token</code></b>&nbsp;&nbsp;<small>string</small>     <i>optional</i> &nbsp;
<input type="text" name="fcm_token" data-endpoint="POSTv2-sign-in" data-component="body"  hidden>
<br>
Firebase cloud messaging token.
</p>

</form>


## Sign In Phone


Use this endpoint to initiate phone-based sign in. A 6-digit OTP will be
sent to the provided phone number via SMS. Use the Verify Account endpoint
to complete sign in by submitting the received OTP.

> Example request:

```bash
curl -X POST \
    "https://apiqa.bettorfantasy.com/v2/sign-in-phone" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -d '{"phone":"9925738146","otp_signature":"FtSl93sVi2G"}'

```


> Example response (201, OTP sent successfully):

```json
{
    "message": "Verification code sent."
}
```
> Example response (404, User not found):

```json
{
    "message": "User not found"
}
```
> Example response (422, Validation failed):

```json
{
    "message": "Please enter required information",
    "errors": {
        "phone": [
            "The phone field is required."
        ]
    }
}
```
> Example response (422, Phone not registered):

```json
{
    "message": "Please enter required information",
    "errors": {
        "phone": [
            "The selected phone is invalid."
        ]
    }
}
```
<div id="execution-results-POSTv2-sign-in-phone" hidden>
    <blockquote>Received response<span id="execution-response-status-POSTv2-sign-in-phone"></span>:</blockquote>
    <pre class="json"><code id="execution-response-content-POSTv2-sign-in-phone"></code></pre>
</div>
<div id="execution-error-POSTv2-sign-in-phone" hidden>
    <blockquote>Request failed with error:</blockquote>
    <pre><code id="execution-error-message-POSTv2-sign-in-phone"></code></pre>
</div>
<form id="form-POSTv2-sign-in-phone" data-method="POST" data-path="v2/sign-in-phone" data-authed="0" data-hasfiles="0" data-headers='{"Content-Type":"application\/json","Accept":"application\/json"}' onsubmit="event.preventDefault(); executeTryOut('POSTv2-sign-in-phone', 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-POSTv2-sign-in-phone" onclick="tryItOut('POSTv2-sign-in-phone');">Try it out ⚡</button>
    <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-POSTv2-sign-in-phone" onclick="cancelTryOut('POSTv2-sign-in-phone');" hidden>Cancel</button>&nbsp;&nbsp;
    <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-POSTv2-sign-in-phone" hidden>Send Request 💥</button>
    </h3>
<p>
<small class="badge badge-black">POST</small>
 <b><code>v2/sign-in-phone</code></b>
</p>
<h4 class="fancy-heading-panel"><b>Body Parameters</b></h4>
<p>
<b><code>phone</code></b>&nbsp;&nbsp;<small>string</small>  &nbsp;
<input type="text" name="phone" data-endpoint="POSTv2-sign-in-phone" data-component="body" required  hidden>
<br>
10-digit phone number registered to an account.
</p>
<p>
<b><code>otp_signature</code></b>&nbsp;&nbsp;<small>string</small>     <i>optional</i> &nbsp;
<input type="text" name="otp_signature" data-endpoint="POSTv2-sign-in-phone" data-component="body"  hidden>
<br>
OTP signature for Android SMS autofill.
</p>

</form>


## Sign In Phone - Verify OTP


Use this endpoint to verify the OTP received via SMS and complete phone-based
sign in. This is step 2 of the phone sign in flow (step 1 is Sign In Phone).
On success, returns a JWT access token and full user data.

> Example request:

```bash
curl -X POST \
    "https://apiqa.bettorfantasy.com/v2/sign-in-verify-code" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -d '{"phone":"9925738146","otp":"482910","fcm_token":"safsadfasjff4sdfsd5f9+s8fs+ad62fdf6+8fas"}'

```


> Example response (200, Sign in successful):

```json
{
    "message": "Sign in successfull",
    "data": {
        "access_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9...",
        "token_type": "bearer",
        "expires_in": 31536000,
        "user": {
            "id": 3,
            "email": "john_doe@yopmail.com",
            "username": "johndoe",
            "is_adult": 1,
            "phone": "9925738146",
            "avatar": "http:\/\/127.0.0.1:8000\/images\/avatar-default.png",
            "is_email_verified": 1,
            "created_at": "2021-07-06T04:46:13.000000Z",
            "updated_at": "2021-07-06T05:10:35.000000Z",
            "is_active": 1,
            "bucks": 150,
            "credits": 200,
            "available_bucks": 30,
            "available_credits": 0,
            "referral_code": "37d1c636-fca4-4701-90c7-366ed0b14c36",
            "role": {
                "id": 2,
                "name": "User"
            },
            "state": {
                "id": 3,
                "code": "AZ",
                "name": "Arizona"
            },
            "leagues": [],
            "foundations": [],
            "kyc": {
                "kyc_status_id": null,
                "is_kyc_locked": 0,
                "kyc_lock_remark": null,
                "kyc_first_name": null,
                "kyc_last_name": null,
                "kyc_dob": null,
                "kyc_street_address": null,
                "kyc_full_address": null,
                "kyc_state_id": null,
                "kyc_city": null,
                "kyc_zip": null,
                "kyc_address_place_id": null,
                "kyc_attempts": 0
            }
        }
    }
}
```
> Example response (422, Validation failed):

```json
{
    "message": "Please enter required information",
    "errors": {
        "phone": [
            "The phone field is required."
        ],
        "otp": [
            "The otp field is required."
        ]
    }
}
```
> Example response (422, Phone not matched):

```json
{
    "message": "Please enter required information",
    "errors": {
        "phone": [
            "This phone does not match an account"
        ]
    }
}
```
> Example response (422, Account locked):

```json
{
    "message": "Please enter required information",
    "errors": {
        "general": [
            "This account has been locked. Please contact our support team if you have any questions."
        ]
    }
}
```
> Example response (422, Invalid OTP):

```json
{
    "message": "Please enter required information",
    "errors": {
        "otp": [
            "Invalid code. Please try again."
        ]
    }
}
```
> Example response (400, Self Exclusion Applies):

```json
{
    "message": "Validations",
    "error_box": {
        "heading": "Self Exclusion Applies",
        "message": "You are unable to take this action because of self exclusion restrictions placed on this account.",
        "cta": "Return",
        "color": "Blue",
        "cta_type": "Return"
    }
}
```
<div id="execution-results-POSTv2-sign-in-verify-code" hidden>
    <blockquote>Received response<span id="execution-response-status-POSTv2-sign-in-verify-code"></span>:</blockquote>
    <pre class="json"><code id="execution-response-content-POSTv2-sign-in-verify-code"></code></pre>
</div>
<div id="execution-error-POSTv2-sign-in-verify-code" hidden>
    <blockquote>Request failed with error:</blockquote>
    <pre><code id="execution-error-message-POSTv2-sign-in-verify-code"></code></pre>
</div>
<form id="form-POSTv2-sign-in-verify-code" data-method="POST" data-path="v2/sign-in-verify-code" data-authed="0" data-hasfiles="0" data-headers='{"Content-Type":"application\/json","Accept":"application\/json"}' onsubmit="event.preventDefault(); executeTryOut('POSTv2-sign-in-verify-code', 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-POSTv2-sign-in-verify-code" onclick="tryItOut('POSTv2-sign-in-verify-code');">Try it out ⚡</button>
    <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-POSTv2-sign-in-verify-code" onclick="cancelTryOut('POSTv2-sign-in-verify-code');" hidden>Cancel</button>&nbsp;&nbsp;
    <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-POSTv2-sign-in-verify-code" hidden>Send Request 💥</button>
    </h3>
<p>
<small class="badge badge-black">POST</small>
 <b><code>v2/sign-in-verify-code</code></b>
</p>
<h4 class="fancy-heading-panel"><b>Body Parameters</b></h4>
<p>
<b><code>phone</code></b>&nbsp;&nbsp;<small>string</small>  &nbsp;
<input type="text" name="phone" data-endpoint="POSTv2-sign-in-verify-code" data-component="body" required  hidden>
<br>
10-digit phone number used in Sign In Phone step.
</p>
<p>
<b><code>otp</code></b>&nbsp;&nbsp;<small>string</small>  &nbsp;
<input type="text" name="otp" data-endpoint="POSTv2-sign-in-verify-code" data-component="body" required  hidden>
<br>
6-digit OTP received via SMS.
</p>
<p>
<b><code>fcm_token</code></b>&nbsp;&nbsp;<small>string</small>     <i>optional</i> &nbsp;
<input type="text" name="fcm_token" data-endpoint="POSTv2-sign-in-verify-code" data-component="body"  hidden>
<br>
Firebase cloud messaging token for push notifications.
</p>

</form>


## Sign In Resend Verification Code


Use this end point to resend the verification code (OTP)

> Example request:

```bash
curl -X POST \
    "https://apiqa.bettorfantasy.com/v2/sign-in/resend-verification-code" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -d '{"phone":"9925738146","otp_signature":"FtSl93sVi2G"}'

```


> Example response (200):

```json
{
    "message": "Verification code sent!"
}
```
> Example response (404):

```json
{
    "message": "User not found!"
}
```
> Example response (422):

```json
{
    "message": "Validation Failed!",
    "errors": {
        "phone": [
            "The phone field is required."
        ]
    }
}
```
<div id="execution-results-POSTv2-sign-in-resend-verification-code" hidden>
    <blockquote>Received response<span id="execution-response-status-POSTv2-sign-in-resend-verification-code"></span>:</blockquote>
    <pre class="json"><code id="execution-response-content-POSTv2-sign-in-resend-verification-code"></code></pre>
</div>
<div id="execution-error-POSTv2-sign-in-resend-verification-code" hidden>
    <blockquote>Request failed with error:</blockquote>
    <pre><code id="execution-error-message-POSTv2-sign-in-resend-verification-code"></code></pre>
</div>
<form id="form-POSTv2-sign-in-resend-verification-code" data-method="POST" data-path="v2/sign-in/resend-verification-code" data-authed="0" data-hasfiles="0" data-headers='{"Content-Type":"application\/json","Accept":"application\/json"}' onsubmit="event.preventDefault(); executeTryOut('POSTv2-sign-in-resend-verification-code', 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-POSTv2-sign-in-resend-verification-code" onclick="tryItOut('POSTv2-sign-in-resend-verification-code');">Try it out ⚡</button>
    <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-POSTv2-sign-in-resend-verification-code" onclick="cancelTryOut('POSTv2-sign-in-resend-verification-code');" hidden>Cancel</button>&nbsp;&nbsp;
    <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-POSTv2-sign-in-resend-verification-code" hidden>Send Request 💥</button>
    </h3>
<p>
<small class="badge badge-black">POST</small>
 <b><code>v2/sign-in/resend-verification-code</code></b>
</p>
<h4 class="fancy-heading-panel"><b>Body Parameters</b></h4>
<p>
<b><code>phone</code></b>&nbsp;&nbsp;<small>string</small>  &nbsp;
<input type="text" name="phone" data-endpoint="POSTv2-sign-in-resend-verification-code" data-component="body" required  hidden>
<br>
10-digit phone number registered to an account.
</p>
<p>
<b><code>otp_signature</code></b>&nbsp;&nbsp;<small>string</small>     <i>optional</i> &nbsp;
<input type="text" name="otp_signature" data-endpoint="POSTv2-sign-in-resend-verification-code" data-component="body"  hidden>
<br>
Otp Signature.
</p>

</form>


## Resend Verification Code


Use this end point to resend the verification code (OTP)

> Example request:

```bash
curl -X POST \
    "https://apiqa.bettorfantasy.com/v2/resend-verification-code" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -d '{"email":"molestias","type":"nostrum","otp_signature":"reprehenderit"}'

```


> Example response (200):

```json
{
    "message": "Verification code sent!"
}
```
> Example response (404):

```json
{
    "message": "Email is not registered!"
}
```
> Example response (422):

```json
{
    "message": "Validation Failed!",
    "errors": {
        "email": [
            "The email field is required."
        ],
        "type": [
            "The type field is required."
        ]
    }
}
```
<div id="execution-results-POSTv2-resend-verification-code" hidden>
    <blockquote>Received response<span id="execution-response-status-POSTv2-resend-verification-code"></span>:</blockquote>
    <pre class="json"><code id="execution-response-content-POSTv2-resend-verification-code"></code></pre>
</div>
<div id="execution-error-POSTv2-resend-verification-code" hidden>
    <blockquote>Request failed with error:</blockquote>
    <pre><code id="execution-error-message-POSTv2-resend-verification-code"></code></pre>
</div>
<form id="form-POSTv2-resend-verification-code" data-method="POST" data-path="v2/resend-verification-code" data-authed="0" data-hasfiles="0" data-headers='{"Content-Type":"application\/json","Accept":"application\/json"}' onsubmit="event.preventDefault(); executeTryOut('POSTv2-resend-verification-code', 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-POSTv2-resend-verification-code" onclick="tryItOut('POSTv2-resend-verification-code');">Try it out ⚡</button>
    <button type="button" style="background-color: #c97a7e; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-canceltryout-POSTv2-resend-verification-code" onclick="cancelTryOut('POSTv2-resend-verification-code');" hidden>Cancel</button>&nbsp;&nbsp;
    <button type="submit" style="background-color: #6ac174; padding: 5px 10px; border-radius: 5px; border-width: thin;" id="btn-executetryout-POSTv2-resend-verification-code" hidden>Send Request 💥</button>
    </h3>
<p>
<small class="badge badge-black">POST</small>
 <b><code>v2/resend-verification-code</code></b>
</p>
<h4 class="fancy-heading-panel"><b>Body Parameters</b></h4>
<p>
<b><code>email</code></b>&nbsp;&nbsp;<small>string</small>  &nbsp;
<input type="text" name="email" data-endpoint="POSTv2-resend-verification-code" data-component="body" required  hidden>
<br>
Email associated with account. Ex: john_does@yopmail.com
</p>
<p>
<b><code>type</code></b>&nbsp;&nbsp;<small>string</small>  &nbsp;
<input type="text" name="type" data-endpoint="POSTv2-resend-verification-code" data-component="body" required  hidden>
<br>
Type of verification. Possible Value: 10 (Forgot Password), 20 (Account Email Verification) Ex: 10
</p>
<p>
<b><code>otp_signature</code></b>&nbsp;&nbsp;<small>string</small>     <i>optional</i> &nbsp;
<input type="text" name="otp_signature" data-endpoint="POSTv2-resend-verification-code" data-component="body"  hidden>
<br>
Otp Signature. Examle: FtSl93sVi2G
</p>

</form>



