---
title: "Get a short-lived user access token for the Integrations Service"
method: GET
path: "/api/v1/integrations-service/user-access-token"
tags: ["Integrations Service"]
---

# Get a short-lived user access token for the Integrations Service

`GET /api/v1/integrations-service/user-access-token`

## Request

- Base URL: `https://toolkit.browserstack.com`
- URL: `https://toolkit.browserstack.com/api/v1/integrations-service/user-access-token`
- Auth: API key in cookie `_wdt_rails_session`

Proxies a request to bsstag.com/api/user-access-tokens using Basic Auth credentials from vault, returning a short-lived JWT that the IntegrationsWidget uses as a Bearer token to authenticate directly with the BrowserStack Integrations Service.

## Response `200`

Access token retrieved successfully

- object
  - `access_token` string, required
  - `expires_at` integer, required: Unix timestamp when the token expires

## Other responses

- `401`: Unauthorized - user not authenticated
- `500`: Internal server error

---

[API](https://skmtc.dev/birdeatsbug/apis/wdt-rails-api.md) - [All operations](https://skmtc.dev/birdeatsbug/apis/wdt-rails-api/llms.txt) - [OpenAPI document](https://skmtc.dev/birdeatsbug/apis/wdt-rails-api/revisions/cbd06b547b6a?raw)
