# API Token generation in Azure DevOps

An API token in Azure DevOps is a secure, unique string used for authentication and authorization to access Azure DevOps services.

Step-by-step process to generate API Token in Azure DevOps:

1\. Navigate to Azure DevOps Website login by entering valid username and password provided by organization.

2\. Click User settings

<figure><img src="/files/F171kI8JbMx8o22UGRUA" alt=""><figcaption></figcaption></figure>

3. Click +New Token button

<figure><img src="/files/e0TrEfbYryBkB2I6JrLg" alt=""><figcaption></figcaption></figure>

4. Enter Name, click Expiration (UTC) dropdown, select the expiration time of token, enter Date and click Create button

<figure><img src="/files/udoFFqk7TigAzfClgLr2" alt=""><figcaption></figcaption></figure>

5. Copy token and paste it in the notepad for using it later

<figure><img src="/files/GYbSvnIpFdeE5Sj63LMr" alt=""><figcaption></figcaption></figure>


---

# 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.avoautomation.com/avo-assure/integrations-in-avo-assure/test-management/azure-devops-in-avo-assure/logging-bug-in-azure-devops/api-token-generation-in-azure-devops.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.
