> For the complete documentation index, see [llms.txt](https://docs.cybralist.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cybralist.com/api/has-voted.md).

# Has Voted

<mark style="color:blue;">`GET`</mark> `https://api.cybralist.co.in/vote/check/:userID`

#### Headers

| Name                                            | Type   | Description                                                        |
| ----------------------------------------------- | ------ | ------------------------------------------------------------------ |
| Authorization<mark style="color:red;">\*</mark> | string | It is the client token from [cybralist.com](https://cybralist.com) |

#### Parameter

| Name                                     | Type   | Description                                    |
| ---------------------------------------- | ------ | ---------------------------------------------- |
| userID<mark style="color:red;">\*</mark> | string | It specifies which user data you will withdraw |

{% tabs %}
{% tab title="200: OK It means you are good to go." %}

```javascript
{
    voted: true/false
}
```

{% endtab %}

{% tab title="401: Unauthorized It means the user id you entered is wrong." %}

```javascript
{
    "error": "You must enter a user id."
}
```

{% endtab %}

{% tab title="403: Forbidden It means you have not entered the bot token." %}

```javascript
{
  "error": "You must enter a bot token."
}
```

{% endtab %}

{% tab title="404: Not Found It means you have entered a invalid bot token." %}

```javascript
{
 "error": "You entered an invalid bot token."
}
```

{% endtab %}
{% endtabs %}
