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

# Authentication

## Endpoints

## Check request authentication

<mark style="color:blue;">`GET`</mark> `https://api.cloudnode.pro/v4/auth/check`

Check whether your request is properly authenticated.

Requires authentication. See [how to authenticate your request](/api-v4/quick-start.md#authenticate-request).

{% tabs %}
{% tab title="200: OK Authentication present" %}

```javascript
{
    "authenticated": true, // {boolean} Always true at this stage
    "token": { // an example token object
        "created": "2022-07-02T09:01:59.000Z",
        "expires": "2025-09-01T18:48:39.000Z",
        "id": "token_ACwk9qk0e6652p9yGe10k20mw3",
        "meta": {},
        "permissions": [
            "group.user"
        ],
        "user": "user_HiSOG53KzE1cc01rDZ4"
    },
    "via": "token" // {string} `session` or `token`, depending on auth instrument
}
```

{% endtab %}
{% endtabs %}
