# 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="https://2174257472-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fk8QZzXZMIJSStKAzDSTu%2Fuploads%2FSpaWo46AWihaMUa65K5I%2Fimage.png?alt=media&#x26;token=d8d92553-14b7-42d0-95a9-cac555b7328b" alt=""><figcaption></figcaption></figure>

3. Click +New Token button

<figure><img src="https://2174257472-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fk8QZzXZMIJSStKAzDSTu%2Fuploads%2FCZA5WnppdhQmlA7NmSVG%2Fimage.png?alt=media&#x26;token=5c693457-61c5-4abf-bdf3-85daa5de9cc3" 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="https://2174257472-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fk8QZzXZMIJSStKAzDSTu%2Fuploads%2FWzImPXbN6MqWYmWNCBac%2Fimage.png?alt=media&#x26;token=64042cb2-6398-4f76-906b-3741237f277f" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://2174257472-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fk8QZzXZMIJSStKAzDSTu%2Fuploads%2F82RId3rqmfOHCRK01DZV%2Fimage.png?alt=media&#x26;token=aeddb65f-07ef-45ee-b4c1-44a02c6167e4" alt=""><figcaption></figcaption></figure>
