---
title: "Generate WonderProxy access token"
method: POST
path: "/api/v1/location_simulator/proxy-token"
tags: ["Location Simulator"]
---

# Generate WonderProxy access token

`POST /api/v1/location_simulator/proxy-token`

## Request

- Base URL: `https://toolkit.browserstack.com`
- URL: `https://toolkit.browserstack.com/api/v1/location_simulator/proxy-token`
- Auth: API key in cookie `_wdt_rails_session`

Generates a temporary WonderProxy access token that expires in 30 minutes. Used for geolocation testing.

## Response `200`

Proxy token generated successfully

- object
  - `success` boolean
  - `response` object
    - `token` string: Temporary WonderProxy access token (expires in 30 minutes)
    - `expires_at` string, date-time

## Other responses

- `401`: Unauthorized
- `500`: Internal server error - failed to generate token

---

[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)
