---
title: "GET /oauth2/token"
method: GET
path: "/oauth2/token"
---

# GET /oauth2/token

`GET /oauth2/token`

Exchange Username, Password and Scope for an ACR Access Token

## Query parameters

- `api-version` string, required
- `service` string, required
- `scope` string, required

## Response `200`

The request has succeeded.

- AcrAccessToken — The ACR access token response containing the access token for authentication.
  - `access_token` string — The access token for performing authenticated requests

## Other responses

- `default` — An unexpected error response.

---

[API](https://skmtc.net/azure/apis/containerregistry-registry.md) · [All operations](https://skmtc.net/azure/apis/containerregistry-registry/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/containerregistry-registry/versions/be283057eb09/schema)
