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

# Has Voted

## Get the user's voting status.

<mark style="color:blue;">`GET`</mark> `https://galactica.ga/api/check/:user_id`

#### Path Parameters

| Name     | Type   | Description                                     |
| -------- | ------ | ----------------------------------------------- |
| user\_id | string | It specifies which user data you will withdraw. |

#### Headers

| Name          | Type   | Description                                  |
| ------------- | ------ | -------------------------------------------- |
| Authorization | string | It is the client token taken from galactica. |

{% tabs %}
{% tab title="200 " %}

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

{% endtab %}

{% tab title="401 " %}

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

{% endtab %}

{% tab title="403 " %}

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

{% endtab %}

{% tab title="404 " %}

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

{% endtab %}
{% endtabs %}
