# Authentication

VeendHQ Platform authenticates your API requests using an Access Token which can be generated from your dashboard.  All API calls must include the Access Token. API requests made without Access Token will fail with the status code `401: Unauthorized.`

{% hint style="info" %}

### Create an Account

To gain access to the VeendHQ Platform API, you need to [create an account for free](https://business.veendhq.com/signup)
{% endhint %}

## Get Your Access Token

Once you have completed the sign up process and the KYC requirements, we will provide a Access Token which is accessible via the VeendHQ dashboard - [Dashboard > Settings > Developers](https://business.veendhq.com/settings/developers). Follow the steps below to access them:

* Login to your [VeendHQ dashboard](https://business.veendhq.com/login)
* Navigate to Settings (on the sidebar)
* Developers

<figure><img src="/files/eNrxI1tpn7cRrP6DHbmF" alt=""><figcaption><p>Developer Settings</p></figcaption></figure>

### Generate New Access Token

You can generate a new Access Token via the Dashboard UI or via an authenticated API Request.

{% tabs %}
{% tab title="Dashboard Settings" %}
You can also generate a new Access Token by clicking on the **`Generate New Token`** button on the dashboard -  [Dashboard > Settings > Developers](https://business.veendhq.com/settings/developers).&#x20;
{% endtab %}

{% tab title="API Request" %}

{% endtab %}
{% endtabs %}

### Authenticate a request

You can authenticate your requests by including the Access Token in the **Authorization** header.

Authenticating a request should be in the following format:

```
Authorization: Bearer SECRET_KEY
x-tag: sandbox
```

{% hint style="info" %}
**x-tag** value should be either **test** or **live** depending on the environment you are making the API request.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.veendhq.com/authentication.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
