---
title: "GET /playwrightworkspaces/{workspaceId}/access-tokens/{accessTokenId}"
method: GET
path: "/playwrightworkspaces/{workspaceId}/access-tokens/{accessTokenId}"
---

# GET /playwrightworkspaces/{workspaceId}/access-tokens/{accessTokenId}

`GET /playwrightworkspaces/{workspaceId}/access-tokens/{accessTokenId}`

Gets an access token for the workspace with the specified access token ID. Requires Bearer JWT access token provided by Entra ID.

## Path parameters

- `workspaceId` string, required
- `accessTokenId` string, required

## Query parameters

- `api-version` string, required

## Headers

- `x-ms-client-request-id` string, uuid
- `x-ms-useragent` string

## Response `200`

The request has succeeded.

- AccessToken — Model of an access token linked to a workspace.
  - `id` string, required — The access token ID in GUID format.
  - `name` string, required — The access token name.
  - `jwtToken` string — The access token value in JWT format.
  - `createdAt` string, date-time, required — The access token creation timestamp in UTC.
  - `expiryAt` string, date-time, required — The access token expiration timestamp in UTC.
  - `state` 'Active' | 'Expired', required — The access token state.

## Other responses

- `default` — An unexpected error response.

---

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